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

Function freeSharedDevicePtr

Source/Falcor/Utils/CudaUtils.cpp:243–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243bool freeSharedDevicePtr(void* ptr)
244{
245 if (!ptr)
246 return false;
247 return cudaSuccess == cudaFree(ptr);
248}
249
250cudaMipmappedArray_t importTextureToMipmappedArray(ref<Texture> pTex, uint32_t cudaUsageFlags)
251{

Callers 3

allocateStagingBufferMethod · 0.85
freeStagingBufferMethod · 0.85
freeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected