Public Member Functions | Protected Attributes | List of all members
PxScopedCudaLock Class Reference

Convenience class for holding CUDA lock within a scope. More...

#include <PxCudaContextManager.h>

Collaboration diagram for PxScopedCudaLock:
Collaboration graph
[legend]

Public Member Functions

 PxScopedCudaLock (PxCudaContextManager &ctx)
 ScopedCudaLock constructor. More...
 
 ~PxScopedCudaLock ()
 ScopedCudaLock destructor. More...
 

Protected Attributes

PxCudaContextManagermCtx
 CUDA context manager pointer (initialized in the the constructor) More...
 

Detailed Description

Convenience class for holding CUDA lock within a scope.

Constructor & Destructor Documentation

PxScopedCudaLock::PxScopedCudaLock ( PxCudaContextManager ctx)
inline

ScopedCudaLock constructor.

PxScopedCudaLock::~PxScopedCudaLock ( )
inline

ScopedCudaLock destructor.

Member Data Documentation

PxCudaContextManager* PxScopedCudaLock::mCtx
protected

CUDA context manager pointer (initialized in the the constructor)


The documentation for this class was generated from the following file:


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