[PATCH] D49931: [CUDA][HIP] Allow function-scope static const variable

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 27 13:08:28 PDT 2018


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





More information about the cfe-commits mailing list