-
Notifications
You must be signed in to change notification settings - Fork 794
[SYCL][CPU] Fix deployment of opencl-aot tool #949
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][CPU] Fix deployment of opencl-aot tool #949
Conversation
Signed-off-by: Dmitry Vodopyanov <[email protected]>
Signed-off-by: Dmitry Vodopyanov <[email protected]>
|
Code looks good will approve once tests finish |
|
Looks like OpenCL ICD oader is still installed as part of opencl-aot: |
|
@vladimirlaz these files don't deploy to |
|
@vladimirlaz please don't merge it. |
|
@dm-vodopyanov From my understanding the follwoing line means that the libraries are installed Could you make sure that it does not happen. For LIT tests: please make sure that you add the new component to dependency list of LIT tests to make sure it is built before LIT test are run (otherwise it may be built in parallel thread while LIT tests are checking for tool presence). But it should be "optional" dependency. If it is missed (remove corresponding project from CMake config) build should not be blocked (but the the file should be missed in LIT testing). |
Signed-off-by: Dmitry Vodopyanov <[email protected]>
…AND OpenCL_LIBRARY set, there is no extra downloading of OpenCL headers and ICD loader Signed-off-by: Dmitry Vodopyanov <[email protected]>
Signed-off-by: Dmitry Vodopyanov <[email protected]>
| COMMENT "Downloading OpenCL headers." | ||
| ) | ||
| else () | ||
| message("Copying OpenCL headers...") |
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.
What is this for?
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.
This is for notification about copying headers/ICD on configure step. Should it be removed?
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 think it's confusing. If I understand correctly headers are not copied during build files configuration. It looks like some debug messages...
I think it's better to remove or rephrase.
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.
Created PR #959 with fix
- fix BE selection for buffer tests - kernel execution parameter (global size, local size, offset) - kernel argument parameters (number, size, pointer which can be associated with accessor/USM buffer)
opencl-aot didn't copy to install folder. Added deploy-opencl-aot target to fix this.
Signed-off-by: Dmitry Vodopyanov [email protected]