-
Notifications
You must be signed in to change notification settings - Fork 758
Code with thrust::remove_if fails on CUDA 7.5 but runs well in CUDA 6.5 #715
Comments
Well, when I compiled the above code as x32 program under Win10 x64, the program throws thrust::system_error , but if I compile it as x64 program, everything was OK. |
Could it be linked to the fact that trivial_copy.inl calls trivial_copy_detail::checked_cudaMemcpyAsync with cudaMemcpyDefault which might not work within 32-bit process that doesn't support unified addressing? |
@stic I think so. Thanks for providing this detailed information. Before this I only know newer versions of CUDA and thrust sometimes fails in 32-bit programs. |
@egaburov: Can you say whether this is an effect of limited 32b support on Windows, and if so, is it likely we can fix this? |
This is fixed in CUDA 8.0; it doesn't repro with cuda-next-release and 1.8.3 branches. |
@egaburov: Thanks! Does the problem exist in the master branch? Just trying to figure out whether this issue needs to be closed. |
I do not observe failure in the master branch either. The issue can be closed. |
The following code fails and throws thrust::system_error under CUDA 7.5 & VS 2013 community & win10 & GT750M
The text was updated successfully, but these errors were encountered: