SPIR-V Built-In
WarpsPerSMNV
Number of warps per SM
WarpsPerSMNV
Decorating a variable with the WarpsPerSMNV built-in decoration will
make that variable contain the maximum number of warps executing on a SM.
Valid Usage
VUID-WarpsPerSMNV-WarpsPerSMNV-04418
The variable decorated with WarpsPerSMNV must be declared using
the Input Storage Class
VUID-WarpsPerSMNV-WarpsPerSMNV-04419
The variable decorated with WarpsPerSMNV must be declared as a
scalar 32-bit integer value