https://github.com/maksimsab created
https://github.com/llvm/llvm-project/pull/147508
None
>From 524da07f8449154a40796c5734d674df64e3f9af Mon Sep 17 00:00:00 2001
From: "Sabianin, Maksim"
Date: Mon, 7 Jul 2025 08:30:12 -0700
Subject: [PATCH] [SYCL] Add offload wrapping for SYCL kind.
---
cla
maksimsab wrote:
Hi @jdoerfert @jhuber6 !
We are adding offload wrapping for SYCL in this PR. Do you have any suggestions
for whom I should request for a code review?
https://github.com/llvm/llvm-project/pull/147508
___
cfe-commits mailing list
cfe-c
@@ -263,3 +264,37 @@
// HIP: while.end:
// HIP-NEXT: ret void
// HIP-NEXT: }
+
+// RUN: clang-offload-packager -o %t.out
--image=file=%t.elf.o,kind=sycl,triple=spirv64-unknown-unknown,arch=generic
+// RUN: %clang -cc1 %s -triple x86_64-unknown-linux-gnu -emit-obj -o %t.
maksimsab wrote:
@jhuber6
I had a choice to put it the common `OffloadWrapper.{h,cpp}` area. But SYCL's
offload wrapping looks very different from others and I decided not to mix them
together. Hence, I was choosing between
`llvm/Frontend/Offloading/SYCLOffloadWrapper.h` and
`llvm/Frontend/SY