[PATCH] D146389: [clang-repl][CUDA] Initial interactive CUDA support for clang-repl
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 24 10:36:53 PDT 2023
tra added a comment.
lib/CodeGen changes look OK to me.
================
Comment at: clang/lib/CodeGen/CodeGenModule.cpp:6257
+ // Device code should not be at top level.
+ if (LangOpts.CUDA && LangOpts.CUDAIsDevice)
+ return;
----------------
Could you give me an example of what exactly we'll be skipping here?
Will it affect `__device__` variables?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146389/new/
https://reviews.llvm.org/D146389
More information about the cfe-commits
mailing list