NVIDIA / NVIDIA/cccl

[CUB] DeviceReduce::Min/Max reject gpu_to_gpu determinism, but Reduce with cuda::minimum accepts it

Open
#9,563 0 comments 0 reactions 1 assignee Claimed by @srinivasyadav18 View on GitHub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

`cub::DeviceReduce::Min` (and related) fails to compile with `gpu_to_gpu` determinism requirement with a static_assert: "gpu_to_gpu determinism is not supported". However, calling `cub::DeviceReduce::Reduce` with `cuda::minimum<>{}` with gpu_to_gpu requirement compiles and runs fine.

Both should compile fine, as gpu_to_gpu is partially supported i.e. well-known cuda operator and integral types.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.