MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / PxCreateCudaContextManager

Function PxCreateCudaContextManager

physx/source/physx/src/gpu/PxGpu.cpp:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55
56physx::PxCudaContextManager* PxCreateCudaContextManager(physx::PxFoundation& foundation, const physx::PxCudaContextManagerDesc& desc)
57{
58 if (!physx::g_PxCreateCudaContextManager_Func)
59 physx::PxLoadPhysxGPUModule(desc.appGUID);
60
61 if (physx::g_PxCreateCudaContextManager_Func)
62 return physx::g_PxCreateCudaContextManager_Func(foundation, desc);
63 else
64 return NULL;
65}
66
67int PxGetSuggestedCudaDeviceOrdinal(physx::PxErrorCallback& errc)
68{

Callers 3

initPhysicsFunction · 0.85
onInitMethod · 0.85
RecreateSDKScenesFunction · 0.85

Calls 1

PxLoadPhysxGPUModuleFunction · 0.85

Tested by

no test coverage detected