Skip to content

[SYCL] Separate host instantiation from HostKernel #18534

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

Draft
wants to merge 1 commit into
base: sycl
Choose a base branch
from

Conversation

Pennycook
Copy link
Contributor

The HostKernel class is currently used for two different things:

  1. To extend the lifetime of the kernel function object/lambda; and
  2. To force the kernel to be instantiated on the host.

Requiring a single solution to solve both problems prevents optimization. Providing separate solutions will enable us to use the fastest solution for each problem.

The HostKernel class is currently used for two different things:
1) To extend the lifetime of the kernel function object/lambda; and
2) To force the kernel to be instantiated on the host.

Requiring a single solution to solve both problems prevents optimization.
Providing separate solutions will enable us to use the fastest solution
for each problem.

Signed-off-by: John Pennycook <[email protected]>
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.

1 participant