Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Conversation

@againull
Copy link

@againull againull commented Jan 4, 2023

This is needed to fix CI failure caused by new test, example: intel/llvm#7919

passed &= test<sycl::half>();
passed &= test<float>(queue);
if (queue.get_device().has(sycl::aspect::fp16))
passed &= test<sycl::half>(queue);

Choose a reason for hiding this comment

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

I believe the test compilation options need -fsycl-device-code-split=per_kernel to handle the aspects properly at runtime.

Copy link
Author

Choose a reason for hiding this comment

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

Didn't know that, thanks!

Choose a reason for hiding this comment

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

per_kernel device code split is not actually needed anymore since intel/llvm#7302: the compiler is now able to automatically split kernels into separate modules if optional features are used

@againull againull requested a review from v-klochkov January 4, 2023 22:09
Copy link

@cperkinsintel cperkinsintel left a comment

Choose a reason for hiding this comment

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

LGTM

@againull
Copy link
Author

againull commented Jan 5, 2023

SYCL :: SubGroupMask/Basic.cpp is known and tracked.

@againull againull merged commit 967e255 into intel:intel Jan 5, 2023
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants