================
@@ -256,6 +264,15 @@ class Compilation {
getArgsForToolChain(const ToolChain *TC, BoundArch BA,
Action::OffloadKind DeviceOffloadKind);
+ /// Add the Intel GPU \p Device to the GPUs of the IGCA target \p Target.
+ void addSYCLIGCADevice(const ToolChain *TC, StringRef Target,
+ StringRef Device);
+
+ /// \return the Intel GPUs of the IGCA target \p Target, sorted, or an empty
+ /// list if there are none.
+ ArrayRef<StringRef> getSYCLIGCADevices(const ToolChain *TC,
----------------
YuriPlyakhin wrote:
?
```suggestion
ArrayRef<StringRef> getIGCADevices(const ToolChain *TC,
```
https://github.com/llvm/llvm-project/pull/239010
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits