LaneandYolovehicle-DetectionLinux
LaneandYolovehicle-DetectionLinux copied to clipboard
copy_if failed to synchronize: an illegal memory access was encountered
terminate called after throwing an instance of 'thrust::system::system_error'
what(): copy_if failed to synchronize: an illegal memory access was encountered
Debugging leads to Ln 111 of nonzero.cu:
thrust::copy_if(Point_x.begin(), Point_x.end(), outx.begin(), isNonZeroIndex());
Error appears randomly after 2-10 program iterations
I am not able to reproduce this issue. What CUDA version you are using.
@apreddyy, It is CUDA 10.0
terminate called after throwing an instance of 'thrust::system::system_error' what(): copy_if failed to synchronize: an illegal memory access was encountered Debugging leads to Ln 111 of nonzero.cu:
thrust::copy_if(Point_x.begin(), Point_x.end(), outx.begin(), isNonZeroIndex());
Error appears randomly after 2-10 program iterations
Have u solved the issue? I encountered the same issue using thrust::copy_if. It is very random. Not the same project. It is in my project.