Skip to main content

DeviceProperties

A device's static capabilities: name, kind, driver and backend runtime versions, compute geometry, memory, the dtypes the hardware accelerates, and unavailable_reason (empty when the device serves).

backend_runtime_version (property)​

(self) -> str

compute_capability_major (property)​

(self) -> int

compute_capability_minor (property)​

(self) -> int

driver_version (property)​

(self) -> str

has_tensor_cores (property)​

(self) -> bool

kind (property)​

(self) -> clika_runtime._core.DeviceKind

major (property)​

The same as compute_capability_major.

max_threads_per_block (property)​

(self) -> int

minor (property)​

The same as compute_capability_minor.

multi_processor_count (property)​

The same as sm_count.

name (property)​

(self) -> str

shared_memory_per_block_bytes (property)​

(self) -> int

sm_count (property)​

(self) -> int

supports_bf16 (property)​

(self) -> bool

supports_fp16 (property)​

(self) -> bool

supports_fp8_e4m3 (property)​

(self) -> bool

total_memory (property)​

The same as total_memory_bytes.

total_memory_bytes (property)​

(self) -> int

unavailable_reason (property)​

(self) -> str

warp_size (property)​

(self) -> int

__init__​

__init__(self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.