Skip to content

Commit

Permalink
Fully qualify Experimental::SYCL in algorithms to avoid finding confl…
Browse files Browse the repository at this point in the history
…icting namespaces
  • Loading branch information
masterleinad committed Jul 14, 2023
1 parent 7e6871f commit eeacb85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions algorithms/src/sorting/impl/Kokkos_SortImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@ void sort_cudathrust(const Cuda& space,

#if defined(KOKKOS_ENABLE_ONEDPL)
template <class DataType, class... Properties>
void sort_onedpl(const Experimental::SYCL& space,
void sort_onedpl(const Kokkos::Experimental::SYCL& space,
const Kokkos::View<DataType, Properties...>& view) {
using ViewType = Kokkos::View<DataType, Properties...>;
static_assert(SpaceAccessibility<Experimental::SYCL,
static_assert(SpaceAccessibility<Kokkos::Experimental::SYCL,
typename ViewType::memory_space>::accessible,
"SYCL execution space is not able to access the memory space "
"of the View argument!");
Expand Down Expand Up @@ -227,7 +227,7 @@ void sort_device_view_without_comparator(
#if defined(KOKKOS_ENABLE_ONEDPL)
template <class DataType, class... Properties>
void sort_device_view_without_comparator(
const Experimental::SYCL& exec,
const Kokkos::Experimental::SYCL& exec,
const Kokkos::View<DataType, Properties...>& view) {
sort_onedpl(exec, view);
}
Expand Down

0 comments on commit eeacb85

Please sign in to comment.