-
Notifications
You must be signed in to change notification settings - Fork 798
[SYCL] Align is_compatible with compile_target checks #16060
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
uditagarwal97
left a comment
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.
LGTM. Can we please add a summary of this change in the PR description?
Done |
|
@uditagarwal97 Could you please have another look? I had to bring back the target check from the is_compatible path since the comment about the lack of property indicating a JIT compiled image was incorrect. This check wasn't there in the standard image selection path before, but it should just filter more incompatible images out earlier, before the urDeviceSelectBinary call. |
uditagarwal97
left a comment
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.
Looks good.
|
@uditagarwal97 Another small change, added handling of kernel fusion related JIT compilation targets for CUDA & HIP. |
is_compatible used a different logic compared to the checks used in the standard image selection path. This change makes both use a single code path, which adds compile_target related checks to is_compatible.