Skip to content

Commit

Permalink
[SYCL] Make SYCL math functions overloads instead of templates (intel…
Browse files Browse the repository at this point in the history
…#9753)

It was decided to change all built-in functions from templates to
overloads. This patch changes non-marray part of "4.17.5. Math
functions".

Spec: KhronosGroup/SYCL-Docs#428

---------

Co-authored-by: Steffen Larsen <steffen.larsen@intel.com>
  • Loading branch information
KornevNikita and steffenlarsen authored Jun 29, 2023
1 parent c99668e commit 826d868
Show file tree
Hide file tree
Showing 8 changed files with 709 additions and 549 deletions.
8 changes: 4 additions & 4 deletions llvm/lib/SYCLLowerIR/ESIMD/ESIMDVerifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ static const char *LegalSYCLFunctions[] = {
"^sycl::_V1::sub_group<.+>::.+",
"^sycl::_V1::range<.+>::.+",
"^sycl::_V1::kernel_handler::.+",
"^sycl::_V1::cos<.+>",
"^sycl::_V1::sin<.+>",
"^sycl::_V1::log<.+>",
"^sycl::_V1::exp<.+>",
"^sycl::_V1::cos",
"^sycl::_V1::sin",
"^sycl::_V1::log",
"^sycl::_V1::exp",
"^sycl::_V1::bit_cast<.+>",
"^sycl::_V1::operator.+<.+>",
"^sycl::_V1::ext::oneapi::sub_group::.+",
Expand Down
Loading

0 comments on commit 826d868

Please sign in to comment.