libkvikio  24.02.00
Public Member Functions | Public Attributes | List of all members
kvikio::CudaPrimaryContext Class Reference

RAII wrapper for a CUDA primary context. More...

#include <utils.hpp>

Public Member Functions

 CudaPrimaryContext (int device_ordinal)
 
 CudaPrimaryContext (const CudaPrimaryContext &)=delete
 
CudaPrimaryContextoperator= (CudaPrimaryContext const &)=delete
 
 CudaPrimaryContext (CudaPrimaryContext &&)=delete
 
CudaPrimaryContext && operator= (CudaPrimaryContext &&)=delete
 

Public Attributes

CUdevice dev {}
 
CUcontext ctx {}
 

Detailed Description

RAII wrapper for a CUDA primary context.

Definition at line 101 of file utils.hpp.


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