8000 [SYCL][NFC] Refactor common helpers by AlexeySachkov · Pull Request #19044 · intel/llvm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[SYCL][NFC] Refactor common helpers #19044

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

Open
wants to merge 2 commits into
base: sycl
Choose a base branch
from

Conversation

AlexeySachkov
Copy link
Contributor
  • Dropped barely used __SYCL_ASSERT macro
  • Moved __SYCL_UR_ERROR_REPORT macro and corresponding helper function to library
  • Moved helpers thare are used in a single header to that header to reduce their impact on other headers
  • Moved some helpers into the library

- Dropped barely used `__SYCL_ASSERT` macro
- Moved `__SYCL_UR_ERROR_REPORT` macro and corresponding helper function
  to library
- Moved helpers thare are used in a single header to that header to
  reduce their impact on other headers
// Helper function for creating an arbitrary sized array with the same value
// repeating.
template <typename T, size_t... Is>
static constexpr std::array<T, sizeof...(Is)>
Copy link
Contributor

Choose a reason for hiding this comment

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

#19183 instead.

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.

4 participants
0