menu
DeviceFeature
import { DeviceFeature } from "destack:compute";
Optional compute feature exposed by a device.
1export enum DeviceFeature {2 Float16 = 1,3 Float64 = 2,4 Int64 = 3,5 BFloat16 = 4,6 TensorFloat32 = 5,7 AtomicFloat32 = 6,8 AtomicFloat64 = 7,9 WorkgroupMemory = 8,10 UnifiedMemory = 9,11 Subgroups = 10,12 MatrixMultiply = 11,13 CommandGraph = 12,14 HostMapping = 13,15}Variants
Float16 = 1Native float16 arithmetic.
Float64 = 2Native float64 arithmetic.
Int64 = 3Native int64 arithmetic.
BFloat16 = 4Native bfloat16 arithmetic.
TensorFloat32 = 5TensorFloat-32 matrix arithmetic.
AtomicFloat32 = 6Float32 atomic operations.
AtomicFloat64 = 7Float64 atomic operations.
WorkgroupMemory = 8Workgroup shared memory.
UnifiedMemory = 9Memory physically shared with the host.
Subgroups = 10Subgroup or warp-level operations.
MatrixMultiply = 11Native matrix multiply instructions.
CommandGraph = 12Captured command graphs.
HostMapping = 13Host-visible buffer mapping.