MeshLib Python Docs
Loading...
Searching...
No Matches
mrcudapy.ConstDeviceInfo Class Reference
Inheritance diagram for mrcudapy.ConstDeviceInfo:

Public Member Functions

 __init__ (self, *args, **kwargs)
bool fitForComputations (self)
int computeMajor (self)
int computeMinor (self)
int driverVersion (self)
str name (self)
int runtimeVersion (self)
int totalGlobalMem (self)

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__()

mrcudapy.ConstDeviceInfo.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrcudapy.ConstDeviceInfo) -> None

2. __init__(self: meshlib.mrcudapy.ConstDeviceInfo, arg0: meshlib.mrcudapy.ConstDeviceInfo) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrcudapy.ConstDeviceInfo, driverVersion: int, runtimeVersion: int, computeMajor: int, computeMinor: int, totalGlobalMem: int, name: str) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrcudapy.ConstDeviceInfo, : meshlib.mrcudapy.ConstDeviceInfo) -> None

Member Function Documentation

◆ computeMajor()

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

Reimplemented in mrcudapy.DeviceInfo, and mrcudapy.DeviceInfo.

◆ computeMinor()

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

Reimplemented in mrcudapy.DeviceInfo, and mrcudapy.DeviceInfo.

◆ driverVersion()

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

Reimplemented in mrcudapy.DeviceInfo, and mrcudapy.DeviceInfo.

◆ fitForComputations()

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

◆ name()

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

Reimplemented in mrcudapy.DeviceInfo, and mrcudapy.DeviceInfo.

◆ runtimeVersion()

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

Reimplemented in mrcudapy.DeviceInfo, and mrcudapy.DeviceInfo.

◆ totalGlobalMem()

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

Reimplemented in mrcudapy.DeviceInfo, and mrcudapy.DeviceInfo.

Member Data Documentation

◆ _offsetof_computeMajor

typing mrcudapy.ConstDeviceInfo._offsetof_computeMajor = 8
staticprotected

◆ _offsetof_computeMinor

typing mrcudapy.ConstDeviceInfo._offsetof_computeMinor = 12
staticprotected

◆ _offsetof_driverVersion

typing mrcudapy.ConstDeviceInfo._offsetof_driverVersion = 0
staticprotected

◆ _offsetof_name

typing mrcudapy.ConstDeviceInfo._offsetof_name = 24
staticprotected

◆ _offsetof_runtimeVersion

typing mrcudapy.ConstDeviceInfo._offsetof_runtimeVersion = 4
staticprotected

◆ _offsetof_totalGlobalMem

typing mrcudapy.ConstDeviceInfo._offsetof_totalGlobalMem = 16
staticprotected

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