Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::cuda::DeviceInfo) -> &mut meshlib::cuda::DeviceInfo |
| auto | fit_for_computations () const -> bool |
| auto | driver_version () const -> &core::ffi::c_int |
| auto | driver_version_mut () -> &mut core::ffi::c_int |
| void | set_driver_version (value:core::ffi::c_int) |
| auto | runtime_version () const -> &core::ffi::c_int |
| auto | runtime_version_mut () -> &mut core::ffi::c_int |
| void | set_runtime_version (value:core::ffi::c_int) |
| auto | compute_major () const -> &core::ffi::c_int |
| auto | compute_major_mut () -> &mut core::ffi::c_int |
| void | set_compute_major (value:core::ffi::c_int) |
| auto | compute_minor () const -> &core::ffi::c_int |
| auto | compute_minor_mut () -> &mut core::ffi::c_int |
| void | set_compute_minor (value:core::ffi::c_int) |
| auto | total_global_mem () const -> &usize |
| auto | total_global_mem_mut () -> &mut usize |
| void | set_total_global_mem (value:usize) |
| auto | name () const -> &meshlib::std_string |
| auto | name_mut () -> &mut meshlib::std_string |
| void | set_name (value:&str) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::cuda::DeviceInfo > |
| static auto | construct_from (driverVersion:core::ffi::c_int, runtimeVersion:core::ffi::c_int, computeMajor:core::ffi::c_int, computeMinor:core::ffi::c_int, totalGlobalMem:usize, name:&str) -> meshlib::Owned< meshlib::cuda::DeviceInfo > |
| static auto | construct_from_another (_other:&meshlib::cuda::DeviceInfo) -> meshlib::Owned< meshlib::cuda::DeviceInfo > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Generated from class MR::Cuda::DeviceInfo.
Generated from class MR::Cuda::DeviceInfo. Heap-allocated instances are held in Owned<DeviceInfo>.
| auto meshlib::cuda::DeviceInfo::assign_from_another | ( | _other:&meshlib::cuda::DeviceInfo | ) | -> &mut meshlib::cuda::DeviceInfo |
Generated from method MR::Cuda::DeviceInfo::operator=.
Calls MR_Cuda_DeviceInfo_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::cuda::DeviceInfo::compute_major | ( | ) | const -> &core::ffi::c_int |
compute capability major version Returns a pointer to a member variable of class MR::Cuda::DeviceInfo named computeMajor.
Calls MR_Cuda_DeviceInfo_Get_computeMajor(). The reference to this object might be preserved as the return value.
| auto meshlib::cuda::DeviceInfo::compute_major_mut | ( | ) | -> &mut core::ffi::c_int |
compute capability major version Returns a mutable pointer to a member variable of class MR::Cuda::DeviceInfo named computeMajor.
Calls MR_Cuda_DeviceInfo_GetMutable_computeMajor(). The reference to this object might be preserved as the return value.
| auto meshlib::cuda::DeviceInfo::compute_minor | ( | ) | const -> &core::ffi::c_int |
compute capability minor version Returns a pointer to a member variable of class MR::Cuda::DeviceInfo named computeMinor.
Calls MR_Cuda_DeviceInfo_Get_computeMinor(). The reference to this object might be preserved as the return value.
| auto meshlib::cuda::DeviceInfo::compute_minor_mut | ( | ) | -> &mut core::ffi::c_int |
compute capability minor version Returns a mutable pointer to a member variable of class MR::Cuda::DeviceInfo named computeMinor.
Calls MR_Cuda_DeviceInfo_GetMutable_computeMinor(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::Cuda::DeviceInfo elementwise.
Calls MR_Cuda_DeviceInfo_ConstructFrom(). The reference to the parameter totalGlobalMem might be preserved in the constructed object. The reference to the parameter name might be preserved in the constructed object.
|
static |
Generated from constructor MR::Cuda::DeviceInfo::DeviceInfo.
Calls MR_Cuda_DeviceInfo_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::cuda::DeviceInfo::driver_version | ( | ) | const -> &core::ffi::c_int |
maximum CUDA version supported by the driver Returns a pointer to a member variable of class MR::Cuda::DeviceInfo named driverVersion.
Calls MR_Cuda_DeviceInfo_Get_driverVersion(). The reference to this object might be preserved as the return value.
| auto meshlib::cuda::DeviceInfo::driver_version_mut | ( | ) | -> &mut core::ffi::c_int |
maximum CUDA version supported by the driver Returns a mutable pointer to a member variable of class MR::Cuda::DeviceInfo named driverVersion.
Calls MR_Cuda_DeviceInfo_GetMutable_driverVersion(). The reference to this object might be preserved as the return value.
| auto meshlib::cuda::DeviceInfo::fit_for_computations | ( | ) | const -> bool |
returns true if all versions pass the checks Generated from method MR::Cuda::DeviceInfo::fitForComputations.
Calls MR_Cuda_DeviceInfo_fitForComputations().
| auto meshlib::cuda::DeviceInfo::name | ( | ) | const -> &meshlib::std_string |
name of the device Returns a pointer to a member variable of class MR::Cuda::DeviceInfo named name.
Calls MR_Cuda_DeviceInfo_Get_name(). The reference to this object might be preserved as the return value.
| auto meshlib::cuda::DeviceInfo::name_mut | ( | ) | -> &mut meshlib::std_string |
name of the device Returns a mutable pointer to a member variable of class MR::Cuda::DeviceInfo named name.
Calls MR_Cuda_DeviceInfo_GetMutable_name(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Cuda_DeviceInfo_DefaultConstruct().
| auto meshlib::cuda::DeviceInfo::runtime_version | ( | ) | const -> &core::ffi::c_int |
application's CUDA version Returns a pointer to a member variable of class MR::Cuda::DeviceInfo named runtimeVersion.
Calls MR_Cuda_DeviceInfo_Get_runtimeVersion(). The reference to this object might be preserved as the return value.
| auto meshlib::cuda::DeviceInfo::runtime_version_mut | ( | ) | -> &mut core::ffi::c_int |
application's CUDA version Returns a mutable pointer to a member variable of class MR::Cuda::DeviceInfo named runtimeVersion.
Calls MR_Cuda_DeviceInfo_GetMutable_runtimeVersion(). The reference to this object might be preserved as the return value.
| void meshlib::cuda::DeviceInfo::set_compute_major | ( | value:core::ffi::c_int | ) |
compute capability major version Modifies a member variable of class MR::Cuda::DeviceInfo named computeMajor.
Calls MR_Cuda_DeviceInfo_Set_computeMajor().
| void meshlib::cuda::DeviceInfo::set_compute_minor | ( | value:core::ffi::c_int | ) |
compute capability minor version Modifies a member variable of class MR::Cuda::DeviceInfo named computeMinor.
Calls MR_Cuda_DeviceInfo_Set_computeMinor().
| void meshlib::cuda::DeviceInfo::set_driver_version | ( | value:core::ffi::c_int | ) |
maximum CUDA version supported by the driver Modifies a member variable of class MR::Cuda::DeviceInfo named driverVersion.
Calls MR_Cuda_DeviceInfo_Set_driverVersion().
| void meshlib::cuda::DeviceInfo::set_name | ( | value:& | str | ) |
name of the device Modifies a member variable of class MR::Cuda::DeviceInfo named name.
Calls MR_Cuda_DeviceInfo_Set_name(). The reference to the parameter value might be preserved in this object in element name.
| void meshlib::cuda::DeviceInfo::set_runtime_version | ( | value:core::ffi::c_int | ) |
application's CUDA version Modifies a member variable of class MR::Cuda::DeviceInfo named runtimeVersion.
Calls MR_Cuda_DeviceInfo_Set_runtimeVersion().
| void meshlib::cuda::DeviceInfo::set_total_global_mem | ( | value:usize | ) |
global memory on device in bytes (not all is available for our process) Modifies a member variable of class MR::Cuda::DeviceInfo named totalGlobalMem.
Calls MR_Cuda_DeviceInfo_Set_totalGlobalMem(). The reference to the parameter value might be preserved in this object in element totalGlobalMem.
| auto meshlib::cuda::DeviceInfo::total_global_mem | ( | ) | const -> &usize |
global memory on device in bytes (not all is available for our process) Returns a pointer to a member variable of class MR::Cuda::DeviceInfo named totalGlobalMem.
Calls MR_Cuda_DeviceInfo_Get_totalGlobalMem(). The reference to this object might be preserved as the return value.
| auto meshlib::cuda::DeviceInfo::total_global_mem_mut | ( | ) | -> &mut usize |
global memory on device in bytes (not all is available for our process) Returns a mutable pointer to a member variable of class MR::Cuda::DeviceInfo named totalGlobalMem.
Calls MR_Cuda_DeviceInfo_GetMutable_totalGlobalMem(). The reference to this object might be preserved as the return value.