Skip to main content

Module op

Module op 

Source
Expand description

Attributes of CUDA instructions. TCGen05InstrDescriptorAttrs and TCGen05InstrDescriptorBlockScaledAttrs are the static options of a tcgen05 instruction descriptor, and TensorMapEncodeTiledAttr those of a tiled tensor-map encoding.

Structsยง

TCGen05InstrDescriptorAttrs
The static options of a dense tcgen05 instruction descriptor, which tirx.cuda.tcgen05_encode_instr_descriptor encodes: the data types of the result d_dtype and the operands a_dtype and b_dtype, the shape M x N x K, the operand transposes, the number of CTA groups, operand negation, result saturation sat_d and sparsity.
TCGen05InstrDescriptorAttrsObj
The object behind TCGen05InstrDescriptorAttrs.
TCGen05InstrDescriptorBlockScaledAttrs
The static options of a block-scaled tcgen05 instruction descriptor, which tirx.cuda.tcgen05_encode_instr_descriptor_block_scaled encodes: those of TCGen05InstrDescriptorAttrs but saturation, and the data types of the scale factors sfa_dtype and sfb_dtype.
TCGen05InstrDescriptorBlockScaledAttrsObj
The object behind TCGen05InstrDescriptorBlockScaledAttrs.
TensorMapEncodeTiledAttr
The fixed options of a tirx.cuda.tensormap_encode_tiled call, which encodes a tiled tensor map at run time: the descriptor_dtype and rank of the tensor, and its interleave, swizzle, L2 promotion, out-of-bounds fill and data-type options.
TensorMapEncodeTiledAttrObj
The object behind TensorMapEncodeTiledAttr.