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 |
Generated from: MR::Cuda::DeviceInfo
| 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
| int mrcudapy.ConstDeviceInfo.computeMajor | ( | self | ) |
compute capability major version
Reimplemented in mrcudapy.DeviceInfo, and mrcudapy.DeviceInfo.
| int mrcudapy.ConstDeviceInfo.computeMinor | ( | self | ) |
compute capability minor version
Reimplemented in mrcudapy.DeviceInfo, and mrcudapy.DeviceInfo.
| int mrcudapy.ConstDeviceInfo.driverVersion | ( | self | ) |
maximum CUDA version supported by the driver
Reimplemented in mrcudapy.DeviceInfo, and mrcudapy.DeviceInfo.
| bool mrcudapy.ConstDeviceInfo.fitForComputations | ( | self | ) |
returns true if all versions pass the checks
| str mrcudapy.ConstDeviceInfo.name | ( | self | ) |
name of the device
Reimplemented in mrcudapy.DeviceInfo, and mrcudapy.DeviceInfo.
| int mrcudapy.ConstDeviceInfo.runtimeVersion | ( | self | ) |
application's CUDA version
Reimplemented in mrcudapy.DeviceInfo, and mrcudapy.DeviceInfo.
| 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.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |