Skip to content
Snippets Groups Projects
Unverified Commit 76a71d91 authored by Jayesh Badwaik's avatar Jayesh Badwaik
Browse files

- nola: use a proper workaround

  - using the workaround suggested by Corentin
parent 3cd8ba86
No related branches found
No related tags found
No related merge requests found
Pipeline #133176 passed
...@@ -36,10 +36,7 @@ public: ...@@ -36,10 +36,7 @@ public:
NOLA_HOST_DEVICE NOLA_HOST_DEVICE
template <typename... U> template <typename... U>
constexpr explicit array(U... u) constexpr explicit array(U... u)
#ifndef __NVCOMPILER // TODO(badwaik1) : Remove this as soon as NVHPC Supports Concepts requires(sizeof...(U) == N and std::conjunction_v<std::is_same<T, U>...>);
requires(sizeof...(u) == N and std::conjunction_v<std::is_same<T, U>...>)
#endif
;
public: public:
NOLA_HOST_DEVICE NOLA_HOST_DEVICE
...@@ -82,9 +79,7 @@ template <typename T, std::size_t N> ...@@ -82,9 +79,7 @@ template <typename T, std::size_t N>
NOLA_HOST_DEVICE NOLA_HOST_DEVICE
template <typename... U> template <typename... U>
constexpr array<T, N>::array(U... u) constexpr array<T, N>::array(U... u)
#ifndef __NVCOMPILER // TODO(badwaik1) : Remove this as soon as NVHPC Supports Concepts requires(sizeof...(U) == N and std::conjunction_v<std::is_same<T, U>...>)
requires(sizeof...(u) == N and std::conjunction_v<std::is_same<T, U>...>)
#endif
: value_{u...} : value_{u...}
{ {
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment