'What does the __grid_constant__ parameter qualifier do?
Several weeks ago, NVIDIA's Stephen Jones gave a GTC talk named "CUDA: New features and beyond", in which he presented an upcoming feature of CUDA in v11.7: A qualifier/decorator for kernel parameters named __grid_constant__. I didn't understand the explanation about what that's supposed to mean.
Specifically, how does a __grid_constant__ int x differ from a int x ? Aren't they both just read by threads from constant memory?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
