Skip to content
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

Fix errors for some spec_constants tests when running in AOT mode #867

Conversation

HPS-1
Copy link
Contributor

@HPS-1 HPS-1 commented Feb 14, 2024

Let these spec_constants tests skip validation when no target kernel is available to make them pass in AOT mode (since no input state bundles will be available under AOT mode). Previously they do validate the results despite printing log statements like "kernel_bundle doesn't contain target kernel ... (skipped)", which cause these tests to fail unexpectedly when running under AOT mode.
Below is a listed of the affected (i.e. fixed) test cases:
specialization_constants_defined_various_ways_via_kb_core
specialization_constants_defined_various_ways_via_kb_fp16
specialization_constants_defined_various_ways_via_kb_fp64
specialization_constants_multiple_via_kb_core
specialization_constants_multiple_via_kb_fp16
specialization_constants_multiple_via_kb_fp64
specialization_constants_same_name_inter_link_1st_tu_via_kb_core
specialization_constants_same_name_inter_link_1st_tu_via_kb_fp16
specialization_constants_same_name_inter_link_1st_tu_via_kb_fp64
specialization_constants_same_name_inter_link_2nd_tu_via_kb_core
specialization_constants_same_name_inter_link_2nd_tu_via_kb_fp16
specialization_constants_same_name_inter_link_2nd_tu_via_kb_fp64
specialization_constants_same_name_stress_via_kb_core
specialization_constants_same_name_stress_via_kb_fp16
specialization_constants_same_name_stress_via_kb_fp64

Signed-off-by: Hu, Peisen <peisen.hu@intel.com>
@HPS-1 HPS-1 requested a review from a team as a code owner February 14, 2024 07:26
Signed-off-by: Hu, Peisen <peisen.hu@intel.com>
@HPS-1 HPS-1 requested a review from bader February 15, 2024 15:39
@bader bader requested a review from a team February 15, 2024 16:06
Copy link
Member

@keryell keryell left a comment

Choose a reason for hiding this comment

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

Thanks!

@bader bader merged commit 6114e29 into KhronosGroup:SYCL-2020 Feb 22, 2024
8 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.

None yet

3 participants