Skip to content

Conversation

@sergey-semenov
Copy link
Contributor

@sergey-semenov sergey-semenov commented Nov 12, 2024

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.

Copy link
Contributor

@uditagarwal97 uditagarwal97 left a 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?

@sergey-semenov
Copy link
Contributor Author

LGTM. Can we please add a summary of this change in the PR description?

Done

@sergey-semenov sergey-semenov marked this pull request as ready for review November 12, 2024 22:00
@sergey-semenov
Copy link
Contributor Author

sergey-semenov commented Nov 12, 2024

@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.

Copy link
Contributor

@uditagarwal97 uditagarwal97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@sergey-semenov sergey-semenov marked this pull request as draft November 13, 2024 13:38
@sergey-semenov sergey-semenov marked this pull request as ready for review November 13, 2024 16:15
@sergey-semenov
Copy link
Contributor Author

@uditagarwal97 Another small change, added handling of kernel fusion related JIT compilation targets for CUDA & HIP.

@sergey-semenov sergey-semenov merged commit 0d5dc84 into intel:sycl Nov 14, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants