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

[SYCL] kernel_compiler include file paths collision fix #14490

Conversation

cperkinsintel
Copy link
Contributor

@cperkinsintel cperkinsintel commented Jul 9, 2024

kernel_compiler include_file support shouldn't have files that might collide. Spec has been recently clarified as well ( a6d8758 )

@cperkinsintel cperkinsintel marked this pull request as ready for review July 9, 2024 15:00
@cperkinsintel cperkinsintel requested a review from a team as a code owner July 9, 2024 15:01
@@ -45,7 +52,7 @@ void ff_templated(T *ptr) {
sycl::nd_item<1> Item = sycl::ext::oneapi::this_work_item::get_nd_item<1>();

sycl::id<1> GId = Item.get_global_id();
ptr[GId.get(0)] = GId.get(0) + 39;
ptr[GId.get(0)] = PlusEm(GId.get(0), 38);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why 39 replaced with 38?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @dm-vodopyanov ! There was a mistake in the test assertions and your question made me realize it existed. Fixed.

@cperkinsintel
Copy link
Contributor Author

@dm-vodopyanov gentle ping

Copy link
Contributor

@dm-vodopyanov dm-vodopyanov 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 againull merged commit 9c14f91 into intel:sycl Jul 16, 2024
14 checks passed
smanna12 pushed a commit to smanna12/llvm that referenced this pull request Jul 16, 2024
kernel_compiler include_file support shouldn't have files that might
collide. Spec has been recently clarified as well (
intel@a6d8758
)
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