File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ translateBinaryImageFormat(pi::PiDeviceBinaryType Type) {
40
40
}
41
41
42
42
::jit_compiler::BinaryFormat getTargetFormat (QueueImplPtr &Queue) {
43
- auto Backend = Queue->getDeviceImplPtr ()->getPlugin (). getBackend ();
43
+ auto Backend = Queue->getDeviceImplPtr ()->getBackend ();
44
44
switch (Backend) {
45
45
case backend::ext_oneapi_level_zero:
46
46
case backend::opencl:
@@ -58,8 +58,8 @@ std::pair<const RTDeviceBinaryImage *, RT::PiProgram>
58
58
retrieveKernelBinary (QueueImplPtr &Queue, CGExecKernel *KernelCG) {
59
59
auto KernelName = KernelCG->getKernelName ();
60
60
61
- bool isNvidia = Queue-> getDeviceImplPtr ()-> getPlugin (). getBackend () ==
62
- backend::ext_oneapi_cuda;
61
+ bool isNvidia =
62
+ Queue-> getDeviceImplPtr ()-> getBackend () == backend::ext_oneapi_cuda;
63
63
if (isNvidia) {
64
64
auto KernelID = ProgramManager::getInstance ().getSYCLKernelID (KernelName);
65
65
std::vector<kernel_id> KernelIds{KernelID};
You can’t perform that action at this time.
0 commit comments