Skip to content

Commit

Permalink
tmp 2
Browse files Browse the repository at this point in the history
CI_FILTER: ^linux_nvcc11.4-gcc10
  • Loading branch information
SimeonEhrig committed May 14, 2024
1 parent e6e4489 commit f559882
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions include/alpaka/mem/Visibility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,11 @@ namespace alpaka
return getMemVisiblityName<TType>();
}

template<
typename T,
typename TBuf,
typename = std::enable_if_t<
(alpaka::isPlatform<std::decay_t<T>> || alpaka::isDevice<std::decay_t<T>>
|| alpaka::isAccelerator<std::decay_t<T>>) &&alpaka::internal::isView<std::decay_t<TBuf>>>>
template<typename T, typename TBuf>
// ,
// typename = std::enable_if_t<
// (alpaka::isPlatform<std::decay_t<T>> || alpaka::isDevice<std::decay_t<T>>
// || alpaka::isAccelerator<std::decay_t<T>>) &&alpaka::internal::isView<std::decay_t<TBuf>>>>
inline constexpr bool hasSameMemView()
{
if constexpr(alpaka::isDevice<std::decay_t<T>> || alpaka::isAccelerator<std::decay_t<T>>)
Expand Down

0 comments on commit f559882

Please sign in to comment.