[BUG]: Thrust code used to compile on CUDA 12.3, no longer compiles on 12.5 #1981
Closed
1 task done
Labels
bug
Something isn't working right.
Is this a duplicate?
Type of Bug
Compile-time Error
Component
Thrust
Describe the bug
The above MWE fails to compile on CUDA toolkit 12.5, but compiles and runs fine on CUDA toolkit 12.3. There appears to be some problem with the make_transform_output_iterator() in combination with copy_if.
The error message is as follows:
How to Reproduce
Compile the MWE with nvcc example.cu -o example using nvcc version 12.5.
Expected behavior
The MWE should compile successfully on CUDA 12.5.
Reproduction link
No response
Operating System
No response
nvidia-smi output
No response
NVCC version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Wed_Apr_17_19:19:55_PDT_2024
Cuda compilation tools, release 12.5, V12.5.40
Build cuda_12.5.r12.5/compiler.34177558_0
The text was updated successfully, but these errors were encountered: