[PATCH] D155213: [HIP] Add `-fno-offload-uniform-block`
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 27 09:02:19 PDT 2023
yaxunl marked an inline comment as done.
yaxunl added inline comments.
================
Comment at: clang/lib/CodeGen/CGCall.cpp:2391
if (TargetDecl->hasAttr<OpenCLKernelAttr>()) {
if (getLangOpts().OpenCLVersion <= 120) {
----------------
scchan wrote:
> The block here needs to be aware of this new flag.
Now that `-foffload-uniform-block` has the same default value as `-cl-uniform-work-group-size` for OpenCL. we can make `-cl-uniform-work-group-size` an alias to `-foffload-uniform-block`. will update
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155213/new/
https://reviews.llvm.org/D155213
More information about the cfe-commits
mailing list