oneapi-src / level-zero-tests

oneAPI Level Zero Conformance & Performance test content
https://spec.oneapi.com/versions/latest/elements/l0/source/index.html
MIT License
47 stars 40 forks source link

Update Alternating Interrupt/Resume Test #86

Open Jemale opened 1 month ago

Jemale commented 1 month ago

Updates the test to retry interrupting threads in case the threads were unavailable/not resumed when initial interrupt request sent

jitendrasharma1989 commented 1 month ago

@Jemale is this PR fixing some test case?

HoppeMateusz commented 1 month ago

we should be watiing in dbgUMD when resuming threads - until they are resumed. so zeDebugResume() - should make sure that threads are resumed before returning from the function.

if delaying interrupt helps - this may be something in dbgUMD or KMD that makes interrupt non effective - like treating threads as accidentally stopped and silently resuming them ( due to some timing reading ATT events, processing interrupts and reading ATT event again )