LaneandYolovehicle-DetectionLinux icon indicating copy to clipboard operation
LaneandYolovehicle-DetectionLinux copied to clipboard

copy_if failed to synchronize: an illegal memory access was encountered

Open VasinPA opened this issue 5 years ago • 3 comments

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

VasinPA avatar Mar 21 '19 16:03 VasinPA

I am not able to reproduce this issue. What CUDA version you are using.

apreddyy avatar Aug 30 '19 14:08 apreddyy

@apreddyy, It is CUDA 10.0

VasinPA avatar Sep 04 '19 13:09 VasinPA

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.

jackyzhang111 avatar Jul 27 '20 22:07 jackyzhang111