13.15. Changes in PTX ISA Version 7.8
New Features
PTX ISA version 7.8 introduces the following new features:
- Adds support for
sm_89target architecture. - Adds support for
sm_90target architecture. - Extends
barandbarrierinstructions to accept optional scope qualifier.cta. - Extends
.sharedstate space qualifier with optional sub-qualifier::cta. - Adds support for
movmatrixinstruction which transposes a matrix in registers across a warp. - Adds support for
stmatrixinstruction which stores one or more matrices to shared memory. - Extends the
.f64floating point typemmaoperation with shapes.m16n8k4,.m16n8k8, and.m16n8k16. - Extends
add,sub,mul,set,setp,cvt,tanh,ex2,atomandredinstructions with bf16 alternate floating point data format. - Adds support for new alternate floating-point data formats
.e4m3and.e5m2. - Extends
cvtinstruction to convert.e4m3and.e5m2alternate floating point data formats. - Adds support for
griddepcontrolinstruction as a communication mechanism to control the execution of dependent grids. - Extends
mbarrierinstruction to allow a new phase completion check operationtry_wait. - Adds support for new thread scope
.clusterwhich is a set of Cooperative Thread Arrays (CTAs). - Extends
fence/membar,ld,st,atom, andredinstructions to accept.clusterscope. - Adds support for extended visibility of shared state space to all threads within a cluster.
- Extends
.sharedstate space qualifier with::clustersub-qualifier for cluster-level visibility of shared memory. - Extends
isspacep,cvta,ld,st,atom, andredinstructions to accept::clustersub-qualifier with.sharedstate space qualifier. - Adds support for
mapainstruction to map a shared memory address to the corresponding address in a different CTA within the cluster. - Adds support for
getctarankinstruction to query the rank of the CTA that contains a given address. - Adds support for new barrier synchronization instruction
barrier.cluster. - Extends the memory consistency model to include the new cluster scope.
- Adds support for special registers related to cluster information:
%is_explicit_cluster,%clusterid,%nclusterid,%cluster_ctaid,%cluster_nctaid,%cluster_ctarank,%cluster_nctarank. - Adds support for cluster dimension directives
.reqnctapercluster,.explicitcluster, and.maxclusterrank.
Semantic Changes and Clarifications
None.
13.16. Changes in PTX ISA Version 7.7
New Features
PTX ISA version 7.7 introduces the following new features:
- Extends
isspacepandcvtainstructions to include the.paramstate space for kernel function parameters.
Semantic Changes and Clarifications
None.
13.17. Changes in PTX ISA Version 7.6
New Features
PTX ISA version 7.6 introduces the following new features:
- Support for
szextinstruction which performs sign-extension or zero-extension on a specified value. - Support for
bmskinstruction which creates a bitmask of the specified width starting at the specified bit position. - Support for special registers
%reserved_smem_offset_begin,%reserved_smem_offset_end,%reserved_smem_offset_cap,%reserved_smem_offset<2>.
Semantic Changes and Clarifications
None.
13.18. Changes in PTX ISA Version 7.5
New Features
PTX ISA version 7.5 introduces the following new features:
- Debug information enhancements to support label difference and negative values in the
.sectiondebugging directive. - Support for ignore-src operand on
cp.asyncinstruction. - Extensions to the memory consistency model to introduce the following new concepts:
- A memory proxy as an abstract label for different methods of memory access.
- Virtual aliases as distinct memory addresses accessing the same physical memory location.
- Support for new
fence.proxyandmembar.proxyinstructions to allow synchronization of memory accesses performed via virtual aliases.
Semantic Changes and Clarifications
None.
13.19. Changes in PTX ISA Version 7.4
New Features
PTX ISA version 7.4 introduces the following new features:
- Support for
sm_87target architecture. - Support for
.level::eviction_priorityqualifier which allows specifying cache eviction priority hints onld,ld.global.nc,st, andprefetchinstructions. - Support for
.level::prefetch_sizequalifier which allows specifying data prefetch hints onldandcp.asyncinstructions. - Support for
createpolicyinstruction which allows construction of different types of cache eviction policies. - Support for
.level::cache_hintqualifier which allows the use of cache eviction policies withld,ld.global.nc,st,atom,redandcp.asyncinstructions. - Support for
applypriorityanddiscardoperations on cached data.
Semantic Changes and Clarifications
None.
13.20. Changes in PTX ISA Version 7.3
New Features
PTX ISA version 7.3 introduces the following new features:
- Extends
mask()operator used in initializers to also support integer constant expression. - Adds support for stack manpulation instructions that allow manipulating stack using
stacksaveandstackrestoreinstructions and allocation of per-thread stack usingallocainstruction.
Semantic Changes and Clarifications
The unimplemented version of alloca from the older PTX ISA specification has been replaced with new stack manipulation instructions in PTX ISA version 7.3.
13.21. Changes in PTX ISA Version 7.2
New Features
PTX ISA version 7.2 introduces the following new features:
- Enhances
.locdirective to represent inline function information. - Adds support to define labels inside the debug sections.
- Extends
minandmaxinstructions to support.xorsignand.absmodifiers.
Semantic Changes and Clarifications
None.
13.22. Changes in PTX ISA Version 7.1
New Features
PTX ISA version 7.1 introduces the following new features:
- Support for
sm_86target architecture. - Adds a new operator,
mask(), to extract a specific byte from variable's address used in initializers. - Extends
texandtld4instructions to return an optional predicate that indicates if data at specified coordinates is resident in memory. - Extends single-bit
wmmaandmmainstructions to support.andoperation. - Extends
mmainstruction to support.spmodifier that allows matrix multiply-accumulate operation when input matrix A is sparse. - Extends
mbarrier.test_waitinstruction to test the completion of specific phase parity.
Semantic Changes and Clarifications
None.
13.23. Changes in PTX ISA Version 7.0
New Features
PTX ISA version 7.0 introduces the following new features:
- Support for
sm_80target architecture. - Adds support for asynchronous copy instructions that allow copying of data asynchronously from one state space to another.
- Adds support for
mbarrierinstructions that allow creation of mbarrier objects in memory and use of these objects to synchronize threads and asynchronous copy operations initiated by threads. - Adds support for
redux.syncinstruction which allows reduction operation across threads in a warp. - Adds support for new alternate floating-point data formats
.bf16and.tf32. - Extends
wmmainstruction to support.f64type with shape.m8n8k4. - Extends
wmmainstruction to support.bf16data format. - Extends
wmmainstruction to support.tf32data format with shape.m16n16k8. - Extends
mmainstruction to support.f64type with shape.m8n8k4. - Extends
mmainstruction to support.bf16and.tf32data formats with shape.m16n8k8. - Extends
mmainstruction to support new shapes.m8n8k128,.m16n8k4,.m16n8k16,.m16n8k32,.m16n8k64,.m16n8k128and.m16n8k256. - Extends
absandneginstructions to support.bf16and.bf16x2data formats. - Extends
minandmaxinstructions to support.NaNmodifier and.f16,.f16x2,.bf16and.bf16x2data formats. - Extends
fmainstruction to support.relusaturation mode and.bf16and.bf16x2data formats. - Extends
cvtinstruction to support.relusaturation mode and.f16,.f16x2,.bf16,.bf16x2and.tf32destination formats. - Adds support for
tanhinstruction that computes hyperbolic-tangent. - Extends
ex2instruction to support.f16and.f16x2types.
Semantic Changes and Clarifications
None.