MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / gpu_sync

Function gpu_sync

quest/src/gpu/gpu_config.cpp:420–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418
419
420void gpu_sync() {
421#if COMPILE_CUDA
422
423 CUDA_CHECK( cudaDeviceSynchronize() );
424
425#else
426 error_gpuSyncedButGpuNotCompiled();
427#endif
428}
429
430
431

Callers 11

copyArrayIfGpuCompiledFunction · 0.85
copyMatrixIfGpuCompiledFunction · 0.85
gpu_copyArrayFunction · 0.85
gpu_getCacheOfSizeFunction · 0.85
gpu_clearCacheFunction · 0.85
syncQuESTEnvFunction · 0.85
exchangeGpuSubBuffersFunction · 0.85
asynchSendGpuSubBufferFunction · 0.85

Calls 1

Tested by

no test coverage detected