PxGetSuggestedCudaDeviceOrdinal

Defined in include/gpu/PxGpu.h

int PxGetSuggestedCudaDeviceOrdinal(physx::PxErrorCallback &errc)

Ask the NVIDIA control panel which GPU has been selected for use by PhysX.

Returns -1 if no PhysX capable GPU is found or GPU PhysX has been disabled.