-
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 file types (.cu, .cl, .inl, .cuh) and comp…
…ile them with a 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: 293200984
- Loading branch information
Luca Di Grazia
committed
Sep 4, 2022
1 parent
5f1c60a
commit 4c1d556
Showing
2 changed files
with
9 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