-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recognize CUDA and OpenCL source file types (.cu, .cl) and compile t…
…hem with the C++ compiler. This will allow CUDA and OpenCL files to be compiled with clang, which supports both natively. Change taken from bazelbuild/bazel#6578 (comment) RELNOTES: Treat .cu and .cl files as C++ source. CUDA or OpenCL are not natively supported and will require custom flags to compile with e.g. clang. PiperOrigin-RevId: 295733167
- Loading branch information
Luca Di Grazia
committed
Sep 4, 2022
1 parent
952d580
commit 60dc14c
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters