menu

DeviceFeature

import { DeviceFeature } from "destack:compute";

Optional compute feature exposed by a device.

language/library/src/compute/capability.ds:5:32
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 = 1

Native float16 arithmetic.

Float64 = 2

Native float64 arithmetic.

Int64 = 3

Native int64 arithmetic.

BFloat16 = 4

Native bfloat16 arithmetic.

TensorFloat32 = 5

TensorFloat-32 matrix arithmetic.

AtomicFloat32 = 6

Float32 atomic operations.

AtomicFloat64 = 7

Float64 atomic operations.

WorkgroupMemory = 8

Workgroup shared memory.

UnifiedMemory = 9

Memory physically shared with the host.

Subgroups = 10

Subgroup or warp-level operations.

MatrixMultiply = 11

Native matrix multiply instructions.

CommandGraph = 12

Captured command graphs.

HostMapping = 13

Host-visible buffer mapping.