Closed ancahamuraru closed 9 years ago
Temporary fixed by making all ocl_copy_D2H_async calls blocking.
TO DO: make ocl_copy_D2H_async async and fix the program level synchronization problems.
Fixed. ocl_copy_D2H is again asynchronous. See 9fdc6428b72d02b41b389df756d00095efc770fe
ocl_copy_D2H_async is currently called without anyone checking when the transfer finished.
As a consequence, the host may read data before ocl_copy_D2H_async has finished.
This is causing a crash on some GPUs.