13.24. Changes in PTX ISA Version 6.5
New Features
PTX ISA version 6.5 introduces the following new features:
- Adds support for integer destination types for half precision comparison instruction set.
- Extends
absinstruction to support.f16and.f16x2types. - Adds support for
cvt.packinstruction which allows converting two integer values and packing the results together. - Adds new shapes
.m16n8k8,.m8n8k16and.m8n8k32on themmainstruction. - Adds support for
ldmatrixinstruction which loads one or more matrices from shared memory formmainstruction.
Removed Features
PTX ISA version 6.5 removes the following features:
- Support for
.satfinitequalifier on floating pointwmma.mmainstruction has been removed. This support was deprecated since PTX ISA version 6.4.
Semantic Changes and Clarifications
None.
13.25. Changes in PTX ISA Version 6.4
New Features
PTX ISA version 6.4 introduces the following new features:
- Adds support for
.noreturndirective which can be used to indicate a function does not return to it's caller function. - Adds support for
mmainstruction which allows performing matrix multiply-and-accumulate operation.
Deprecated Features
PTX ISA version 6.4 deprecates the following features:
- Support for
.satfinitequalifier on floating pointwmma.mmainstruction.
Removed Features
PTX ISA version 6.4 removes the following features:
- Support for
shflandvoteinstructions without the.syncqualifier has been removed for.targetsm_70and higher. This support was deprecated since PTX ISA version 6.0 as documented in PTX ISA version 6.2.
Semantic Changes and Clarifications
- Clarified that resolving references of a
.weaksymbol considers only.weakor.visiblesymbols with the same name and does not consider local symbols with the same name. - Clarified that in
cvtinstruction, modifier.ftzcan only be specified when either.atypeor.dtypeis.f32.
13.26. Changes in PTX ISA Version 6.3
New Features
PTX ISA version 6.3 introduces the following new features:
- Support for
sm_75target architecture. - Adds support for a new instruction
nanosleepthat suspends a thread for a specified duration. - Adds support for
.aliasdirective which allows defining alias to function symbol. - Extends
atominstruction to perform.f16addition operation and.cas.b16operation. - Extends
redinstruction to perform.f16addition operation. - The
wmmainstructions are extended to support multiplicand matrices of type.s8,.u8,.s4,.u4,.b1and accumulator matrices of type.s32.
Semantic Changes and Clarifications
- Introduced the mandatory
.alignedqualifier for allwmmainstructions. - Specified the alignment required for the base address and stride parameters passed to
wmma.loadandwmma.store. - Clarified that layout of fragment returned by
wmmaoperation is architecture dependent and passingwmmafragments around functions compiled for different link compatible SM architectures may not work as expected. - Clarified that atomicity for
{atom/red}.f16x2}operations is guaranteed separately for each of the two.f16elements but not guaranteed to be atomic as single 32-bit access.
13.27. Changes in PTX ISA Version 6.2
New Features
PTX ISA version 6.2 introduces the following new features:
- A new instruction
activemaskfor querying active threads in a warp. - Extends atomic and reduction instructions to perform
.f16x2addition operation with mandatory.noftzqualifier.
Deprecated Features
PTX ISA version 6.2 deprecates the following features:
- The use of
shflandvoteinstructions without the.syncis deprecated retrospectively from PTX ISA version 6.0, which introduced thesm_70architecture that implements Independent Thread Scheduling.
Semantic Changes and Clarifications
- Clarified that
wmmainstructions can be used in conditionally executed code only if it is known that all threads in the warp evaluate the condition identically, otherwise behavior is undefined. - In the memory consistency model, the definition of morally strong operations was updated to exclude fences from the requirement of complete overlap since fences do not access memory.
13.28. Changes in PTX ISA Version 6.1
New Features
PTX ISA version 6.1 introduces the following new features:
- Support for
sm_72target architecture. - Support for new matrix shapes 32x8x16 and 8x32x16 in
wmmainstruction.
Semantic Changes and Clarifications
None.
13.29. Changes in PTX ISA Version 6.0
New Features
PTX ISA version 6.0 introduces the following new features:
- Support for
sm_70target architecture. - Specifies the memory consistency model for programs running on
sm_70and later architectures. - Various extensions to memory instructions to specify memory synchronization semantics and scopes at which such synchronization can be observed.
- New instruction
wmmafor matrix operations which allows loading matrices from memory, performing multiply-and-accumulate on them and storing result in memory. - Support for new
barrierinstruction. - Extends
neginstruction to support.f16and.f16x2types. - A new instruction
fnswhich allows finding n-th set bit in integer. - A new instruction
bar.warp.syncwhich allows synchronizing threads in warp. - Extends
voteandshflinstructions with.syncmodifier which waits for specified threads before executing thevoteandshfloperation respectively. - A new instruction
match.syncwhich allows broadcasting and comparing a value across threads in warp. - A new instruction
brx.idxwhich allows branching to a label indexed from list of potential targets. - Support for unsized array parameter for
.funcwhich can be used to implement variadic functions. - Support for
.b16integer type in dwarf-lines. - Support for taking address of device function return parameters using
movinstruction.
Semantic Changes and Clarifications
- Semantics of
barinstruction were updated to indicate that executing thread waits for other non-exited threads from it's warp. - Support for indirect branch introduced in PTX 2.1 which was unimplemented has been removed from the spec.
- Support for taking address of labels, using labels in initializers which was unimplemented has been removed from the spec.
- Support for variadic functions which was unimplemented has been removed from the spec.