Class Device

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class Device : public cu::Wrapper<CUdevice>

Public Functions

inline explicit Device(int ordinal)
inline Device(CUdeviceArg, CUdevice device)
inline int getAttribute(CUdevice_attribute attribute) const
template<CUdevice_attribute attribute>
inline int getAttribute() const
inline std::string getName() const
inline size_t totalMem() const
inline std::pair<unsigned, bool> primaryCtxGetState() const
inline void primaryCtxReset()
Context primaryCtxRetain()
inline void primaryCtxSetFlags(unsigned flags)

Public Static Functions

static inline int getCount()
struct CUdeviceArg