-
Notifications
You must be signed in to change notification settings - Fork 801
[SYCL] Remove deprecated sycl device library driver options #20326
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] Remove deprecated sycl device library driver options #20326
Conversation
Signed-off-by: jinge90 <[email protected]>
Signed-off-by: jinge90 <[email protected]>
Signed-off-by: jinge90 <[email protected]>
|
I believe @vkurkov @stdale-intel @gmlueck and @xtian-github should decide if we can make this change now or not. |
We just had an email conversation about a different API breaking change, and we decided that we should wait until the oneAPI "breaking change window". I assume this falls into the same category. |
I think I may have asked this before, but I forgot. How do we plan to handle the inclusion of "libsycl-native-bfloat16.spv" vs. "libsycl-fallback-bfloat16.spv" if we remove the onlink link capability? |
Signed-off-by: jinge90 <[email protected]>
Signed-off-by: jinge90 <[email protected]>
Hi, @gmlueck |
@cperkinsintel , I'll leave this one to you. |
|
Hi, @cperkinsintel |
|
@intel/llvm-gatekeepers please consider merging |
The '-fsycl-device-lib-jit-link' option has been removed in #20326. This PR cleans up sycl-post-link and sycl runtime code to support this option. The removed code includes: 1. Analysis in sycl-post-link tool to record which device libraries are used by user's device image via image property 2. Program manager handling for device library require mask property to decide which fallback spv will be loaded and linked during execution time. 3. Program manager utils to read/load device library fallback spv files into memory and utils to link in-memory spv device library modules with user's module. --------- Signed-off-by: jinge90 <[email protected]>
SYCL device library related driver options were marked as 'deprecated' and plans to be removed in future major release, this PR removes these driver options and clears all components dealing with these options, all related tests are updated as well.
Removing these device library related driver options is prerequisite to clear sycl device library 'online' link path in current sycl runtime and compiler which we have decided to remove to get rid of unnecessary complexity.