[all-commits] [llvm/llvm-project] 6eb826: [Driver] Add CUDA support for --offload param
Daniele Castagna via All-commits
all-commits at lists.llvm.org
Fri Jan 28 14:51:35 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6eb826567af03c2b43cda78836b1065e12df84e4
https://github.com/llvm/llvm-project/commit/6eb826567af03c2b43cda78836b1065e12df84e4
Author: Daniele Castagna <dcastagna at chromium.org>
Date: 2022-01-28 (Fri, 28 Jan 2022)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/Driver.cpp
A clang/test/Driver/cuda-device-triple.cu
M clang/test/Driver/invalid-offload-options.cpp
Log Message:
-----------
[Driver] Add CUDA support for --offload param
The --offload option was added in D110622 to "override the default
device target". When it landed it supported only HIP. This patch
extends that option to support SPIR-V targets for CUDA.
Reviewed By: tra
Differential Revision: https://reviews.llvm.org/D117137
More information about the All-commits
mailing list