Skip to content

Conversation

@AlexeySachkov
Copy link
Contributor

Moved some of the code under #ifndef __SYCL_DEVICE_ONLY__, because it is related to various runtime checks, namely:

  • throwOnLocalAccessorMisuse
  • checkIfPlaceholderIsBoundToHandler
  • throwIfGraphAssociated

This should reduce amount of template insantiations which are performed during device compilation.

Note that implementation of a couple of memcpy methods were made completely host-only.

Moved some of the code under `#ifndef __SYCL_DEVICE_ONLY__`, because it
is related to various runtime checks, namely:

- `throwOnLocalAccessorMisuse`
- `checkIfPlaceholderIsBoundToHandler`
- `throwIfGraphAssociated`

This should reduce amount of template insantiations which are performed
during device compilation.

Note that implementation of a couple of `memcpy` methods was made
completely host-only.
@AlexeySachkov AlexeySachkov merged commit 22a7440 into intel:sycl Oct 16, 2024
13 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.

2 participants