This change improves handling of errors during synchronization in Level Zero plugin by ensuring cleanup of queues and events in case of an synchronization error. As a result multiple tests stopped hanging. --------- Co-authored-by: Duran, Alex <alejandro.duran@intel.com>
11 lines
264 B
C++
11 lines
264 B
C++
// RUN: %libomptarget-compilexx-generic && %libomptarget-run-fail-generic
|
|
// RUN: %libomptarget-compileoptxx-generic && %libomptarget-run-fail-generic
|
|
// XFAIL: intelgpu
|
|
|
|
int main(int argc, char *argv[]) {
|
|
#pragma omp target
|
|
{ __builtin_trap(); }
|
|
|
|
return 0;
|
|
}
|