View Single Post
Old 2021-08-25, 18:42   #9
SethTro
 
SethTro's Avatar
 
"Seth"
Apr 2019

433 Posts
Default

I committed the first tweak you made so you can 'git pull' (you might need `git fetch` `git reset --hard origin/gpu_integration`)

I'm not sure why you get the error for

Code:
CUDA_CHECK(cudaSetDeviceFlags (cudaDeviceScheduleBlockingSync));
Google suggests this might happen if I've already started run things but the code shouldn't have at that point.
You could try replacing line 135 in cudakernel.cu (while leaving line 591 commented out)

Code:
-  errCheck (cudaSetDeviceFlags (cudaDeviceScheduleYield));
+ errCheck (cudaSetDeviceFlags (cudaDeviceScheduleBlockingSync));
If anyone else experiences this let me know so I can try to fix but I'm going to ignore for now.

Last fiddled with by SethTro on 2021-08-25 at 18:47
SethTro is offline   Reply With Quote