-
Notifications
You must be signed in to change notification settings - Fork 768
[SYCL][NFC] Simplify working with mock images in unit tests #14816
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
[SYCL][NFC] Simplify working with mock images in unit tests #14816
Conversation
Most of our unit-tests only care about getting a device image with certain kernels and certain properties regardless of how other fields are set. This patch introduces a new constructor to UrImage to simplify unit-tests code. Also it cleans up some includes and uses existing helpers where possible to generate device images for tests.
…-image-constructors
Most recent update did not bring any new functionality, it was just a merge with Once CI passes, I will proceed with commit here, assuming that the previous approval still stands (simply because there were no significant changes made during the merge) |
@AlexeySachkov Seeing some werror postcommit fails unfortunately
|
Looking into it |
I've re-configured my local build to use |
Most of our unit-tests only care about getting a device image with certain kernels and certain properties regardless of how other fields are set.
This patch introduces a new constructor to UrImage to simplify unit-tests code. Also it cleans up some includes and uses existing helpers where possible to generate device images for tests.