PhysX SDK 3.2 API Reference: PxCudaContextManager.h File Reference

PhysX SDK 3.2 API

PxCudaContextManager.h File Reference

#include "pxtask/PxCudaMemoryManager.h"

Include dependency graph for PxCudaContextManager.h:

pxtask/PxCudaMemoryManager.hfoundation/PxSimpleTypes.hfoundation/PxPreprocessor.hfoundation/Px.hfoundation/PxVersionNumber.h

This graph shows which files directly or indirectly include this file:

PxPhysicsAPI.hPxGpuCopyDescQueue.h

Go to the source code of this file.


Classes

struct  pxtask::CudaInteropMode
 Possible graphic/CUDA interoperability modes for context. More...
class  pxtask::CudaContextManagerDesc
 Descriptor used to create a CudaContextManager. More...
class  pxtask::CudaContextManager
 Manages memory, thread locks, and task scheduling for a CUDA context. More...
class  pxtask::ScopedCudaLock
 Convenience class for holding CUDA lock within a scope. More...

Namespaces

namespace  pxtask

Typedefs

typedef struct CUctx_st * CUcontext
typedef struct
CUgraphicsResource_st * 
CUgraphicsResource

Functions

int pxtask::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.
CudaContextManager * pxtask::createCudaContextManager (PxFoundation &foundation, const CudaContextManagerDesc &desc, physx::PxProfileZoneManager *mgr)
 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.
void * pxtask::loadPhysxGPUModule ()
 get handle of physx GPU module

Typedef Documentation

typedef struct CUctx_st* CUcontext

typedef struct CUgraphicsResource_st* CUgraphicsResource



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