Skip to content

Conversation

@uditagarwal97
Copy link
Contributor

@uditagarwal97 uditagarwal97 commented Jan 16, 2025

fixes #16662

Add missing .wait() after queue.submit().

// XFAIL-TRACKER: https://github.com/intel/llvm/issues/16401
// Test flakily fails on PVC + OpenCL
// UNSUPPORTED: arch-intel_gpu_pvc && opencl
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/16662
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest we immediately fix the test instead: I believe that .wait() is missing on the actual kernel which fills result and since result is not a buffer which blocks on destruction to wait for all accessors using it we sometimes use it too early, i.e. before kernel has even completed/started.

@uditagarwal97 uditagarwal97 changed the title [SYCL][E2E] Disable DeviceArchitecture/device_architecture_comparison_on_device_aot.cpp as it is flaky [SYCL][E2E] Fix DeviceArchitecture/device_architecture_comparison_on_device_aot.cpp Jan 16, 2025
@againull againull merged commit d0c6f96 into sycl Jan 16, 2025
17 checks passed
// if adding new test here, don't forget to increment result's index
// and value of N variable
});
}).wait();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test must fee result memory.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bader bader deleted the uditagarwal97-dev-arch-disable branch January 16, 2025 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SYCL][E2E] DeviceArchitecture/device_architecture_comparison_on_device_aot.cpp flakily fail on PVC

6 participants