pxtask::ScopedCudaLock Class Reference
Convenience class for holding CUDA lock within a scope. More...
#include <PxCudaContextManager.h>
Collaboration diagram for pxtask::ScopedCudaLock:

Public Member Functions | |
| ScopedCudaLock (CudaContextManager &ctx) | |
| ScopedCudaLock constructor. | |
| ~ScopedCudaLock () | |
| ScopedCudaLock destructor. | |
Protected Attributes | |
| CudaContextManager * | mCtx |
| CUDA context manager pointer (initialized in the the constructor). | |
Detailed Description
Convenience class for holding CUDA lock within a scope.Constructor & Destructor Documentation
| pxtask::ScopedCudaLock::ScopedCudaLock | ( | CudaContextManager & | ctx | ) | [inline] |
ScopedCudaLock constructor.
| pxtask::ScopedCudaLock::~ScopedCudaLock | ( | ) | [inline] |
ScopedCudaLock destructor.
Member Data Documentation
CudaContextManager* pxtask::ScopedCudaLock::mCtx [protected] |
CUDA context manager pointer (initialized in the the constructor).
The documentation for this class was generated from the following file:
Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com