================
@@ -46,6 +46,8 @@ class Decl;
class IncrementalParser;
class IncrementalDeviceParser;
+enum class OffloadType { CUDA, HIP };
----------------
vgvassilev wrote:
```suggestion
enum class OffloadType { Detect, CUDA, HIP };
```
Most of the time it is a single vendor device -- that would be convenient for
users if we can implement it reliably.
https://github.com/llvm/llvm-project/pull/231391
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits