[BUG]: thrust/execution_policy.h is not safe to include when compiling with a host compiler #3485
Open
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
This issue is an extension of #3483. If, given the same example from that issue, the CUDA runtime headers are available, then compilation proceeds further but fails with this traceback
How to Reproduce
Using this CMake (the same as #3483 except that now we use FindCUDAToolkit and link to cudart)
and this C++ file (same as #3483)
we observe the above compilation error.
Expected behavior
I expect this to compile successfully.
Reproduction link
No response
Operating System
Ubuntu 24.04
nvidia-smi output
N/A (not compiling for the GPU)
NVCC version
N/A (not compiling with nvcc)
The text was updated successfully, but these errors were encountered: