13.6. Changes in PTX ISA Version 8.8
New Features
PTX ISA version 8.8 introduces the following new features:
- Adds support for
sm_103target architecture. - Adds support for target
sm_103athat supports architecture-specific features. - Adds support for
sm_121target architecture. - Adds support for target
sm_121athat supports architecture-specific features. - Introduces family-specific target architectures that are represented with "f" suffix. PTX for family-specific targets is compatible with all subsequent targets in same family. Adds support for
sm_100f,sm_101f,sm_103f,sm_120f,sm_121f. - Extends
minandmaxinstructions to support three input arguments. - Extends
tcgen05.mmainstruction to add support for newscale_vectorsizequalifiers.block16and.block32and K dimension 96. - Extends
.field3oftensormap.replaceinstruction to support 96B swizzle mode. - Adds support for
tcgen05.ld.redinstruction. - Extends
ld,ld.global.ncandstinstructions to support 256b load/store operations. - Table 73 shows the list of features that are supported on family-specific targets:
Table 73 List of features promoted to family-specific architecture
| Feature | Supported targets |
|---|---|
.m16n8, .m16n16, .m8n16 shapes and .b8 type for ldmatrix/stmatrix |
sm_100f, sm_101f, sm_120f |
Shapes for tcgen05 .16x64b .16x128b, .16x256b, .16x32bx2, .32x32b, .4x256b, .32x128b, .64x128b, .128x256b, .128x128b, .31x256b |
sm_100f, sm_101f |
setmaxnreg |
sm_100f, sm_101f, sm_120f |
.cta_group modifier |
sm_100f, sm_101f |
cvt with .e2m1x2, .e3m2x2, .e2m3x2, .ue8m0x2 |
sm_100f, sm_101f, sm_120f |
multimem with .acc::f16 and .e5m2, .e5m2x2, .e5m2x4, .e4m3, .e4m3x2, .e4m3x4 types |
sm_100f, sm_101f |
tensormap.replace |
sm_100f, sm_101f, sm_120f |
tcgen05.ld.red |
sm_101f, sm_103f |
tcgen05.ld/st/fence/ wait/commit/cp/ alloc/dealloc/ relinquish_alloc_permit |
sm_100f, sm_101f |
tcgen05.mma{.ws}{.sp} (except kind::mxf4/ kind::mxf4nvf4 for .sp) |
sm_100f, sm_101f |
tcgen05 .kind::mxf4nvf4, .kind::mxf4, .kind::mxf8f6f4, .kind::f16, .kind::tf32, .kind::f8f6f4 |
sm_100f, sm_101f |
.ashift, .collector_usage modifiers for tcgen05 |
sm_100f, sm_101f |
Modifiers .b8x16, .b6x16_p32, .b4x16_p64 |
sm_100f, sm_101f, sm_120f |
.block_scale modifier |
sm_100f, sm_101f, sm_120f |
mma{.sp} with .e3m2, .e2m3, .e2m1 types and .kind, .block_scale, .scale_vec_size modifiers (except .sp with mxf4/ mxf4nvf4) |
sm_120f |
.scale_vec::1X/2X/4X modifiers |
sm_120f |
.block16/.block32 modifiers (alias to scale_vec) |
sm_100f, sm_101f |
.warpx2::02_13, .warpx2::01_23, .warpx4, .pack::16b, .unpack::16b modifiers for tcgen05 |
sm_100f, sm_101f |
clusterlaunchcontrol.try_cancel multicast::cluster::all |
sm_100f, sm_101f, sm_120f |
.tile::scatter4, .tile::gather4, .im2col::w, .im2col::w::128 |
sm_100f, sm_101f |
redux.f32 |
sm_100f |
| scale-input-d for tcgen05 | sm_100f |
Semantic Changes and Clarifications
- Clarified the behavior of float-to-integer conversions for NaN input.
13.7. Changes in PTX ISA Version 8.7
New Features
PTX ISA version 8.7 introduces the following new features:
- Adds support for
sm_120target architecture. - Adds support for target
sm_120athat supports architecture-specific features. - Extends
tcgen05.mmainstruction to add support for.kind::mxf4nvf4and.scale_vec::4Xqualifiers. - Extends
mmainstructions to support.f16type accumulator and shape.m16n8k16with FP8 types.e4m3and.e5m2. - Extends
cvtinstruction to add support for.rsrounding mode and destination types.e2m1x4,.e4m3x4,.e5m2x4,.e3m2x4,.e2m3x4. - Extends support for
st.asyncandred.asyncinstructions to add support for.mmio,.release,.globaland.scopequalifiers. - Extends
tensormap.replaceinstruction to add support for values 13 to 15 for.elemtypequalifier. - Extends
mmaandmma.sp::ordered_metadatainstructions to add support for types.e3m2/.e2m3/.e2m1and qualifiers.kind,.block_scale,.scale_vec_size.
Semantic Changes and Clarifications
- Clarified that in
.tile::gather4,.tile::scatter4modes, tensor coordinates need to be specified as {col_idx, row_idx0, row_idx1, row_idx2, row_idx3} i.e. {x, y0, y1, y2, y3} instead of {x0, x1, x2, x3, y}. - Updated Instruction descriptor of
tcgen05.mmainstruction to clarify the bits that are reserved for future use.
13.8. Changes in PTX ISA Version 8.6
New Features
PTX ISA version 8.6 introduces the following new features:
- Adds support for
sm_100target architecture. - Adds support for target
sm_100athat supports architecture-specific features. - Adds support for
sm_101target architecture. - Adds support for target
sm_101athat supports architecture-specific features. - Extends
cp.async.bulkandcp.async.bulk.tensorinstructions to add.shared::ctaas destination state space. - Extends
fenceinstruction to add support for.acquireand.releasequalifiers. - Extends
fenceandfence.proxyinstructions to add support for.sync_restrictqualifier. - Extends
ldmatrixinstruction to support.m16n16,.m8n16shapes and.b8type. - Extends
ldmatrixinstruction to support.src_fmt,.dst_fmtqualifiers. - Extends
stmatrixinstruction to support.m16n8shape and.b8type. - Adds support for
clusterlaunchcontrolinstruction. - Extends
add,subandfmainstructions to support mixed precision floating point operations with.f32as destaination operand type and.f16/.bf16as source operand types. - Extends
add,sub,mulandfmainstructions to support.f32x2type. - Extends
cvtinstruction with.tf32type to support.satfinitequalifier for.rn/.rzrounding modes. - Extends
cp.async.bulkinstruction to support.cp_maskqualifier andbyteMaskoperand. - Extends
multimem.ld_reduceandmultimem.stinstructions to support.e5m2,.e5m2x2,.e5m2x4,.e4m3,.e4m3x2and.e4m3x4types. - Extends
cvtinstruction to support conversions to/from.e2m1x2,.e3m2x2,.e2m3x2and.ue8m0x2types. - Extends
cp.async.bulk.tensorandcp.async.bulk.prefetch.tensorinstructions to support new load_mode qualifiers.tile::scatter4and.tile::gather4. - Extends
tensormap.replaceinstruction to add support for new qualifier.swizzle_atomicityfor supporting new swizzle modes. - Extends
mbarrier.arrive,mbarrier.arrive_drop,.mbarrier.test_waitand.mbarrier.try_waitinstructions to support.relaxedqualifier. - Extends
cp.async.bulk.tensorandcp.async.bulk.prefetch.tensorinstructions to support new load_mode qualifiers.im2col::wand.im2col::w::128. - Extends
cp.async.bulk.tensorinstruction to support new qualifier.cta_group. - Add support for
st.bulkinstruction. - Adds support for tcgen05 features and related instructions:
tcgen05.alloc,tcgen05.dealloc,tcgen05.relinquish_alloc_permit,tcgen05.ld,tcgen05.st,tcgen05.wait,tcgen05.cp,tcgen05.shift,tcgen05.mma,tcgen05.mma.sp,tcgen05.mma.ws,tcgen05.mma.ws.sp,tcgen05.fenceandtcgen05.commit. - Extends
redux.syncinstruction to add support for.f32type with qualifiers.absand.NaN.
Semantic Changes and Clarifications
None.
13.9. Changes in PTX ISA Version 8.5
New Features
PTX ISA version 8.5 introduces the following new features:
- Adds support for
mma.sp::ordered_metadatainstruction.
Semantic Changes and Clarifications
- Values
0b0000,0b0101,0b1010,0b1111for sparsity metadata (operande) of instructionmma.spare invalid and their usage results in undefined behavior.
13.10. Changes in PTX ISA Version 8.4
New Features
PTX ISA version 8.4 introduces the following new features:
- Extends
ld,standatominstructions with.b128type to support.sysscope. - Extends integer
wgmma.mma_asyncinstruction to support.u8.s8and.s8.u8as.atypeand.btyperespectively. - Extends
mma,mma.spinstructions to support FP8 types.e4m3and.e5m2.
Semantic Changes and Clarifications
None.
13.11. Changes in PTX ISA Version 8.3
New Features
PTX ISA version 8.3 introduces the following new features:
- Adds support for pragma
used_bytes_maskthat is used to specify mask for used bytes for a load operation. - Extends
isspacep,cvta.to,ldandstinstructions to accept::entryand::funcsub-qualifiers with.paramstate space qualifier. - Adds support for
.b128type on instructionsld,ld.global.nc,ldu,st,movandatom. - Add support for instructions
tensormap.replace,tensormap.cp_fenceproxyand support for qualifier.to_proxykind::from_proxykindon instructionfence.proxyto support modifying tensor-map.
Semantic Changes and Clarifications
None.
13.12. Changes in PTX ISA Version 8.2
New Features
PTX ISA version 8.2 introduces the following new features:
- Adds support for
.mmioqualifier onldandstinstructions. - Extends
lop3instruction to allow predicate destination. - Extends
multimem.ld_reduceinstruction to support.acc::f32qualifier to allow.f32precision of the intermediate accumulation. - Extends the asynchronous warpgroup-level matrix multiply-and-accumulate operation
wgmma.mma_asyncto support.spmodifier that allows matrix multiply-accumulate operation when input matrix A is sparse.
Semantic Changes and Clarifications
The .multicast::cluster qualifier on cp.async.bulk and cp.async.bulk.tensor instructions is optimized for target architecture sm_90a and may have substantially reduced performance on other targets and hence .multicast::cluster is advised to be used with sm_90a.
13.13. Changes in PTX ISA Version 8.1
New Features
PTX ISA version 8.1 introduces the following new features:
- Adds support for
st.asyncandred.asyncinstructions for asynchronous store and asynchronous reduction operations respectively on shared memory. - Adds support for
.oobmodifier on half-precisionfmainstruction. - Adds support for
.satfinitesaturation modifier oncvtinstruction for.f16,.bf16and.tf32formats. - Extends support for
cvtwith.e4m3/.e5m2tosm_89. - Extends
atomandredinstructions to support vector types. - Adds support for special register
%aggr_smem_size. - Extends
suredinstruction with 64-bit min/max operations. - Adds support for increased kernel parameter size of 32764 bytes.
- Adds support for multimem addresses in memory consistency model.
- Adds support for
multimem.ld_reduce,multimem.standmultimem.redinstructions to perform memory operations on multimem addresses.
Semantic Changes and Clarifications
None.
13.14. Changes in PTX ISA Version 8.0
New Features
PTX ISA version 8.0 introduces the following new features:
- Adds support for target
sm_90athat supports architecture-specific features. - Adds support for asynchronous warpgroup-level matrix multiply-and-accumulate operation
wgmma. - Extends the asynchronous copy operations with bulk operations that operate on large data, including tensor data.
- Introduces packed integer types
.u16x2and.s16x2. - Extends integer arithmetic instruction
addto allow packed integer types.u16x2and.s16x2. - Extends integer arithmetic instructions
minandmaxto allow packed integer types.u16x2and.s16x2, as well as saturation modifier.reluon.s16x2and.s32types. - Adds support for special register
%current_graph_execthat identifies the currently executing CUDA device graph. - Adds support for
elect.syncinstruction. - Adds support for
.unifiedattribute on functions and variables. - Adds support for
setmaxnreginstruction. - Adds support for
.semqualifier onbarrier.clusterinstruction. - Extends the
fenceinstruction to allow opcode-specific synchronizaion usingop_restrictqualifier. - Adds support for
.clusterscope onmbarrier.arrive,mbarrier.arrive_drop,mbarrier.test_waitandmbarrier.try_waitoperations. - Adds support for transaction count operations on mbarrier objects, specified with
.expect_txand.complete_txqualifiers.
Semantic Changes and Clarifications
None.