Skip to content

Conversation

@hdelan
Copy link
Contributor

@hdelan hdelan commented Dec 16, 2024

Update is only allowed if the kernel object that the graph is being updated with is the same as the kernel that the graph was created with. Calling ext_oneapi_get_kernel is creating a new SYCL kernel object for each invocation, since the implementation doesn't cache kernels for kernel bundles.

The user should not assume the caching of kernels, so must use the same kernel objects each time for update.

Update is only allowed if the kernel object is the same. Calling
ext_oneapi_get_kernel is creating a new kernel object for each
invocation, since the implementation doesn't cache kernels.

The user should not assume the caching of kernels, so must use the same
kernel objects each time for update.
@hdelan hdelan requested a review from a team as a code owner December 16, 2024 12:20
@hdelan hdelan requested a review from reble December 16, 2024 12:20
@hdelan
Copy link
Contributor Author

hdelan commented Dec 19, 2024

Ping @intel/llvm-gatekeepers this can be merged

@martygrant martygrant merged commit 258fc72 into intel:sycl Dec 19, 2024
15 checks passed
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