[PATCH] D102975: [HIP] Check compatibility of -fgpu-sanitize with offload arch
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat May 22 21:13:48 PDT 2021
yaxunl created this revision.
yaxunl added reviewers: tra, b-sumner.
Herald added subscribers: kerbowa, nhaehnle, jvesely.
yaxunl requested review of this revision.
-fgpu-sanitize is incompatible with offload arch containing xnack-.
This patch checks that.
https://reviews.llvm.org/D102975
Files:
clang/lib/Driver/ToolChains/AMDGPU.cpp
clang/lib/Driver/ToolChains/AMDGPU.h
clang/lib/Driver/ToolChains/HIP.cpp
clang/lib/Driver/ToolChains/HIP.h
clang/test/Driver/hip-sanitize-options.hip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102975.347231.patch
Type: text/x-patch
Size: 5575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210523/076b21e7/attachment.bin>
More information about the cfe-commits
mailing list