tra added a comment. > This patch also allows function-scope static const variable without device memory qualifier and emits it as a global variable in constant address space. What does NVCC do with local static const variables? https://reviews.llvm.org/D49931