You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use a temporary for the temp_storage_size, e.g., by calling thrust::device_vector::size(), fails to compile because the algorithms require a non-const lvalue ref.
Is this a duplicate?
Type of Bug
Compile-time Error
Component
CUB
Describe the bug
Trying to use a temporary for the
temp_storage_size
, e.g., by callingthrust::device_vector::size()
, fails to compile because the algorithms require a non-const
lvalue ref.Repro:
cub::DeviceReduce::Reduce(thrust_device_vector.data().get(), thrust_device_vector.size(), ...)
.How to Reproduce
See the above.
Expected behavior
Should work.
Reproduction link
No response
Operating System
No response
nvidia-smi output
No response
NVCC version
No response
The text was updated successfully, but these errors were encountered: