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>
14 lines
401 B
C
14 lines
401 B
C
// RUN: %libomptarget-compile-generic && %libomptarget-run-generic
|
|
// RUN: %libomptarget-compileopt-generic && %libomptarget-run-generic
|
|
|
|
// Verify we do not read bits in the image that are not there (nobits section).
|
|
|
|
#pragma omp begin declare target
|
|
char BigUninitializedBuffer[4096 * 64] __attribute__((loader_uninitialized));
|
|
#pragma omp end declare target
|
|
|
|
int main() {
|
|
#pragma omp target
|
|
{}
|
|
}
|