Skip to content

[SYCL] Remove the workaround for long kernel names in the L0 plugin #2875

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

Merged
merged 1 commit into from
Dec 9, 2020

Conversation

againull
Copy link
Contributor

@againull againull commented Dec 8, 2020

No description provided.

Comment on lines +3072 to +3073
char *KernelName = new char[Size];
ZE_CALL(zeKernelGetName(Kernel->ZeKernel, &Size, KernelName));
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we skip this if we are only going to return the size, i.e. ParamValue is null?
I see that we currently are doing strlen of the string to return to re-calculate the size though, which would need to change then.

Thoughts?

Anyways, this must not be a part of this PR.

@bader bader merged commit 7c80f44 into intel:sycl Dec 9, 2020
@againull againull deleted the remove_wa branch December 3, 2022 00:06
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.

3 participants