[clang] [llvm] [Offload][SYCL] Refactor OffloadKind implementation (PR #135809)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 15 09:33:57 PDT 2025
================
@@ -32,10 +32,12 @@ namespace object {
/// The producer of the associated offloading image.
enum OffloadKind : uint16_t {
OFK_None = 0,
- OFK_OpenMP,
- OFK_Cuda,
- OFK_HIP,
- OFK_LAST,
+ OFK_OpenMP = (1 << 1),
----------------
jhuber6 wrote:
This is 2, not 1.
https://github.com/llvm/llvm-project/pull/135809
More information about the cfe-commits
mailing list