vm_device_cmd struct

One op, already validated by the core.

Buffer fields are the backend's own native handles. alpha and beta are unused where the op has none. Counts are positive, except GEMM k, which may be 0 (then a and b must not be read).

Public variables

vm_device_op op
vm_dtype dtype
int m
int n
int k
Element ops use only n.
double alpha
double beta
void* dst
res, y, or C.
const void* a
a, x, or A; NULL if unused.
const void* b
b or B; NULL if unused.