NVIDIA / NVIDIA/cccl

[FEA] Unify `square` functors

Open
#9,619 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

We have a lot of those and should just use `thrust::square`.

Contributor guide

Open the contributing guide

Research direction

Search the repository for the existing square functors and for thrust::square references to inventory the duplicates. Review each affected use and determine whether it can use the shared functor; done means the redundant square functors are unified without changing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
hpc
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.