Skip to content

Commit fad9c90

Browse files
npmillerNaghasan
andauthored
Update clang/lib/Driver/Driver.cpp
Co-authored-by: Victor Lomuller <[email protected]>
1 parent 7331029 commit fad9c90

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

clang/lib/Driver/Driver.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4650,8 +4650,9 @@ class OffloadingActionBuilder final {
46504650
/// Initialize the GPU architecture list from arguments - this populates
46514651
/// `GpuArchList` from `--offload-arch` flags. Only relevant if compiling to
46524652
/// CUDA or AMDGCN. Return true if any initialization errors are found.
4653-
/// FIXME: SPIR-V AOT targets should also use `offload-arch` to better fit
4654-
/// in the standard model.
4653+
/// FIXME: "offload-arch" and the BoundArch mechanism should also be
4654+
// used in the SYCLToolChain for SPIR-V AOT to track the offload
4655+
// architecture instead of the Triple sub-arch it currently uses.
46554656
bool initializeGpuArchMap() {
46564657
const OptTable &Opts = C.getDriver().getOpts();
46574658
for (auto *A : Args) {

0 commit comments

Comments
 (0)