RWByteAddressBuffer._NvInterlockedAddFp16x2
Description
Maps to the NvInterlockedAddFp16x2 NVAPI function. Perform 2 16-bit floating point atomic add operations at byteAddress.
Signature
uint RWByteAddressBuffer._NvInterlockedAddFp16x2( uint byteAddress, uint fp16x2Value);
Parameters
byteAddress : uint
The address at which to perform the atomic add operation.
fp16x2Value : uint
Two 16-bit floating point values are packed into a 32-bit unsigned integer.
Return value
The 2 16-bit floating point values packed into a 32-bit unsigned integer.
Availability and Requirements
Defined for the following targets:
hlsl
Available in all stages.
cuda
Available in all stages.
spirv
Available in all stages.