numba-dpex icon indicating copy to clipboard operation
numba-dpex copied to clipboard

Level-0 fails with SyclProgramCompilationError when debugger is on

Open akharche opened this issue 3 years ago • 5 comments

For some reason "level0" fails with "SyclProgramCompilationError" when debug is activated (export NUMBA_DPPY_DEBUG=1).

PR with tests: https://github.com/IntelPython/numba-dppy/pull/297

akharche avatar Apr 19 '21 18:04 akharche

@akharche The PR seems merged. Were we skipping the test for level0? Please specify the test and the commnad to replicate the error.

reazulhoque avatar Apr 19 '21 18:04 reazulhoque

@reazulhoque To reproduce an error you can try sum example (https://github.com/IntelPython/numba-dppy/blob/main/numba_dppy/examples/sum.py#L56) NUMBA_DPPY_DEBUG=1 python sum.py

akharche avatar Apr 19 '21 19:04 akharche

Need to check with latest debugger.

PokhodenkoSA avatar Jan 14 '22 10:01 PokhodenkoSA

@roxx30198 Please retest the issue. The problem seems to be with GDB debugging on a level_zero:gpu device. You can use devcloud to test on a recent generation graphics card and Gen9 integrated graphics cards are no longer supported by latest GDB.

diptorupd avatar Dec 10 '23 04:12 diptorupd

@ZzEeKkAa Have you encountered any issue like this recently when testing GDB tests on a level zero device?

diptorupd avatar Apr 01 '24 04:04 diptorupd

@diptorupd no, not with latest branch. Since we made tests pass on level zero gpu except shutdown freeze, that means that program was compiled successfully and this issue may be closed.

ZzEeKkAa avatar Jun 27 '24 17:06 ZzEeKkAa