MeshLib Python Docs
Loading...
Searching...
No Matches

Public Member Functions

None __init__ (self)
None __init__ (self, DeviceInfo arg0)
None __init__ (self, int driverVersion, int runtimeVersion, int computeMajor, int computeMinor, int totalGlobalMem, str name)
bool fitForComputations (self)
int computeMajor (self)
None computeMajor (self, int arg1)
int computeMinor (self)
None computeMinor (self, int arg1)
int driverVersion (self)
None driverVersion (self, int arg1)
str name (self)
None name (self, str arg1)
int runtimeVersion (self)
None runtimeVersion (self, int arg1)
int totalGlobalMem (self)
None totalGlobalMem (self, int arg1)

Static Public Member Functions

None __init__ (*args, **kwargs)
DeviceInfo operator (*args, **kwargs)
DeviceInfo operator (*args, **kwargs)

Static Protected Attributes

typing _offsetof_computeMajor = 8
typing _offsetof_computeMinor = 12
typing _offsetof_driverVersion = 0
typing _offsetof_name = 24
typing _offsetof_runtimeVersion = 4
typing _offsetof_totalGlobalMem = 16

Detailed Description

Generated from:  MR::Cuda::DeviceInfo

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrcudapy.DeviceInfo.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrcudapy.DeviceInfo.__init__ ( self)

◆ __init__() [3/4]

None mrcudapy.DeviceInfo.__init__ ( self,
DeviceInfo arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrcudapy.DeviceInfo.__init__ ( self,
int driverVersion,
int runtimeVersion,
int computeMajor,
int computeMinor,
int totalGlobalMem,
str name )
Implicit aggregate constructor.

Member Function Documentation

◆ computeMajor() [1/2]

int mrcudapy.DeviceInfo.computeMajor ( self)
compute capability major version

◆ computeMajor() [2/2]

None mrcudapy.DeviceInfo.computeMajor ( self,
int arg1 )

◆ computeMinor() [1/2]

int mrcudapy.DeviceInfo.computeMinor ( self)
compute capability minor version

◆ computeMinor() [2/2]

None mrcudapy.DeviceInfo.computeMinor ( self,
int arg1 )

◆ driverVersion() [1/2]

int mrcudapy.DeviceInfo.driverVersion ( self)
maximum CUDA version supported by the driver

◆ driverVersion() [2/2]

None mrcudapy.DeviceInfo.driverVersion ( self,
int arg1 )

◆ fitForComputations()

bool mrcudapy.DeviceInfo.fitForComputations ( self)
returns true if all versions pass the checks

◆ name() [1/2]

str mrcudapy.DeviceInfo.name ( self)
name of the device

◆ name() [2/2]

None mrcudapy.DeviceInfo.name ( self,
str arg1 )

◆ operator() [1/2]

DeviceInfo mrcudapy.DeviceInfo.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

DeviceInfo mrcudapy.DeviceInfo.operator ( * args,
** kwargs )
static

◆ runtimeVersion() [1/2]

int mrcudapy.DeviceInfo.runtimeVersion ( self)
application's CUDA version

◆ runtimeVersion() [2/2]

None mrcudapy.DeviceInfo.runtimeVersion ( self,
int arg1 )

◆ totalGlobalMem() [1/2]

int mrcudapy.DeviceInfo.totalGlobalMem ( self)
global memory on device in bytes (not all is available for our process)

◆ totalGlobalMem() [2/2]

None mrcudapy.DeviceInfo.totalGlobalMem ( self,
int arg1 )

Member Data Documentation

◆ _offsetof_computeMajor

typing mrcudapy.DeviceInfo._offsetof_computeMajor = 8
staticprotected

◆ _offsetof_computeMinor

typing mrcudapy.DeviceInfo._offsetof_computeMinor = 12
staticprotected

◆ _offsetof_driverVersion

typing mrcudapy.DeviceInfo._offsetof_driverVersion = 0
staticprotected

◆ _offsetof_name

typing mrcudapy.DeviceInfo._offsetof_name = 24
staticprotected

◆ _offsetof_runtimeVersion

typing mrcudapy.DeviceInfo._offsetof_runtimeVersion = 4
staticprotected

◆ _offsetof_totalGlobalMem

typing mrcudapy.DeviceInfo._offsetof_totalGlobalMem = 16
staticprotected

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