Skip to content

Commit 88b4ada

Browse files
committed
Rebase on branch 'sycl'
Signed-off-by: Lukas Sommer <[email protected]>
1 parent a7e1369 commit 88b4ada

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/source/detail/jit_compiler.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ translateBinaryImageFormat(pi::PiDeviceBinaryType Type) {
4040
}
4141

4242
::jit_compiler::BinaryFormat getTargetFormat(QueueImplPtr &Queue) {
43-
auto Backend = Queue->getDeviceImplPtr()->getPlugin().getBackend();
43+
auto Backend = Queue->getDeviceImplPtr()->getBackend();
4444
switch (Backend) {
4545
case backend::ext_oneapi_level_zero:
4646
case backend::opencl:
@@ -58,8 +58,8 @@ std::pair<const RTDeviceBinaryImage *, RT::PiProgram>
5858
retrieveKernelBinary(QueueImplPtr &Queue, CGExecKernel *KernelCG) {
5959
auto KernelName = KernelCG->getKernelName();
6060

61-
bool isNvidia = Queue->getDeviceImplPtr()->getPlugin().getBackend() ==
62-
backend::ext_oneapi_cuda;
61+
bool isNvidia =
62+
Queue->getDeviceImplPtr()->getBackend() == backend::ext_oneapi_cuda;
6363
if (isNvidia) {
6464
auto KernelID = ProgramManager::getInstance().getSYCLKernelID(KernelName);
6565
std::vector<kernel_id> KernelIds{KernelID};

0 commit comments

Comments
 (0)