PxCreateCudaContextManager
Defined in include/gpu/PxGpu.h
-
physx::PxCudaContextManager *PxCreateCudaContextManager(physx::PxFoundation &foundation, const physx::PxCudaContextManagerDesc &desc, physx::PxProfilerCallback *profilerCallback = NULL)
Allocate a CUDA Context manager, complete with heaps.
You only need one CUDA context manager per GPU device you intend to use for CUDA tasks.
See also
- Parameters
foundation – [in] PhysXFoundation instance.
desc – [in] Cuda context manager desc.
profilerCallback – [in] PhysX profiler callback instance.