================ @@ -716,8 +716,15 @@ static Error runAOTCompileIntelGPU(StringRef InputFile, StringRef OutputFile, StringRef Arch(Args.getLastArgValue(OPT_arch_EQ)); assert(!Arch.empty() && "Arch must be specified for AOT compilation"); + // ocloc spells a device without the "xe-" prefix and with "_" between words, + // e.g. "bmg_g21" for "xe-bmg-g21". ---------------- KornevNikita wrote:
I don't think this is guaranteed. It depends on how Greg got those `xe-*` names. @gmlueck are they modified ocloc device names? Also, there is a request to make ocloc support the new `xe-*` names. https://github.com/llvm/llvm-project/pull/229247 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
