-
Notifications
You must be signed in to change notification settings - Fork 114
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
Remove usage of __kernel_name_generator
as not required for non-compiled Kernel's
#1935
Remove usage of __kernel_name_generator
as not required for non-compiled Kernel's
#1935
Conversation
… usage of __kernel_name_generator as not required Signed-off-by: Sergey Kopienko <sergey.kopienko@intel.com>
acc4f20
to
c1da480
Compare
__kernel_name_generator
as not required__kernel_name_generator
as not required for non-compiled Kernel's
Signed-off-by: Sergey Kopienko <sergey.kopienko@intel.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a reasonable change. I agree that the __kernel_name_generator
should not be necessary here because we have no need to pre-compile the kernel and interrogate characteristics of the compiled kernel, and therefore shouldn't be used.
I'm OK with removing the device_backend_tag
argument as well, but I want to draw attention to it and make sure we consider that, as it isn't in the original goal of the PR.
It would be good to get another approval here, but I think it looks good.
…view comment: restore __device_backend_tag in __parallel_find_or_impl_one_wg::operator() and __parallel_find_or_impl_multiple_wgs::operator()
Filed spelling check will fixed in separate PR #1998 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ernelName template parameter to last position
…view comment: rename _KernelName to __find_or_kernel_name
…view comment: rename _KernelName to __find_or_one_wg_kernel_name / __find_or_kernel_name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope I didn't miss anything, but the PR looks solid to me
In this PR we remove usage of
__kernel_name_generator
from__parallel_find_or
as not required.We should avoid to use
__kernel_name_generator
for not-compiler Kernels (when absent the call of__kernel_compiler
in the code) due a lot of char codes in template names.For example we may see these names with char codes from VTune.
Attention :
Otherwise you will see a lot of unsignificant changes due the formatting has been changed.
Thanks.