APEX Framework: ApexCudaContextManager.h File Reference

NVIDIA APEX

ApexCudaContextManager.h File Reference

The file contains API for PxCudaConextManager public functions. More...

#include "foundation/Px.h" #include "ApexSDK.h"

Go to the source code of this file.

Namespaces

namespace  nvidia
 

nvidia namespace


namespace  nvidia::apex
 

apex namespace


Functions

APEX_API int CALL_CONV nvidia::apex::GetSuggestedCudaDeviceOrdinal (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.
APEX_API PxCudaContextManager
*CALL_CONV 
nvidia::apex::CreateCudaContextManager (const PxCudaContextManagerDesc &desc, PxErrorCallback &errorCallback)
 Allocate a CUDA Context manager, complete with heaps and task dispatcher. You only need one CUDA context manager per GPU device you intend to use for CUDA tasks. If mgr is NULL, no profiling of CUDA code will be possible.

Detailed Description

The file contains API for PxCudaConextManager public functions.


Generated on Fri Dec 15 2017 13:58:35

Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.