libkvikio
24.02.00
|
RAII wrapper for a CUDA primary context. More...
#include <utils.hpp>
Public Member Functions | |
CudaPrimaryContext (int device_ordinal) | |
CudaPrimaryContext (const CudaPrimaryContext &)=delete | |
CudaPrimaryContext & | operator= (CudaPrimaryContext const &)=delete |
CudaPrimaryContext (CudaPrimaryContext &&)=delete | |
CudaPrimaryContext && | operator= (CudaPrimaryContext &&)=delete |
Public Attributes | |
CUdevice | dev {} |
CUcontext | ctx {} |