-
Notifications
You must be signed in to change notification settings - Fork 795
[SYCL][E2E] Fix DeviceArchitecture/device_architecture_comparison_on_device_aot.cpp
#16664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| // 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 |
There was a problem hiding this comment.
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.
DeviceArchitecture/device_architecture_comparison_on_device_aot.cpp as it is flakyDeviceArchitecture/device_architecture_comparison_on_device_aot.cpp
| // if adding new test here, don't forget to increment result's index | ||
| // and value of N variable | ||
| }); | ||
| }).wait(); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixes #16662
Add missing
.wait()afterqueue.submit().