ArrayUtils min and max - initialValue
- Dominant language
- C++
- Stars
- 32
- Forks
- 7
- Avg merge
- 19h 49m
- Merged PRs (30d)
- 14
Description
For initial values when doing max or min, we sometimes use user-provided initial values, sometimes explicitly assume a double type (like -DBL_MAX), and sometimes use std::numeric_limits host only, standard library not available on the device). We should make this all consistent. Perhaps we could make something like std::numeric_limits that works on the GPU?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the ArrayUtils min and max implementations and their host/device call sites. Compare the user-provided initial values, -DBL_MAX, and std::numeric_limits usage, including paths where the standard library is unavailable on the device. Done means selecting and applying one consistent initial-value approach that works across host and GPU code, with relevant tests updated or added.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- hpc
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100