Skip to content

Commit bf57926

Browse files
committed
Added a FIXME comment.
1 parent e6ca4f9 commit bf57926

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sycl/source/detail/program_manager/program_manager.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,11 @@ RT::PiProgram ProgramManager::getBuiltPIProgram(
555555
return BuiltProgram.release();
556556
};
557557

558+
// FIXME: Level Zero creates multiple PiDevices for a single physical device
559+
// when sub-device is partitioned into sub-sub-devices. Sub-sub-device is
560+
// technically a command queue and we should not build program for each
561+
// command queue. PiDevice probably not the right abstraction for a Level Zero
562+
// command queue.
558563
const RT::PiDevice PiDevice = Dev->getHandleRef();
559564

560565
auto BuildResult = getOrBuild<PiProgramT, compile_program_error>(

0 commit comments

Comments
 (0)