MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / deviceSynchronize

Function deviceSynchronize

Source/Falcor/Utils/CudaUtils.cpp:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49{
50
51void deviceSynchronize()
52{
53 cudaDeviceSynchronize();
54 cudaError_t error = cudaGetLastError();
55 FALCOR_CHECK(error == cudaSuccess, "Failed to sync CUDA device: {}.", cudaGetErrorString(error));
56}
57
58void* mallocDevice(size_t size)
59{

Callers 1

waitForCudaMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected