Skip to content

Commit

Permalink
Remove namespace usage in a test
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Sobolev <[email protected]>
  • Loading branch information
dmitriy-sobolev committed Oct 17, 2024
1 parent 383e094 commit ca54ed1
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions test/kt/esimd_radix_sort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,9 @@ test_sycl_iterators(sycl::queue q, std::size_t size, KernelParam param)
std::stable_sort(std::begin(ref), std::end(ref), Compare<T, IsAscending>{});
{
sycl::buffer<T> buf(input.data(), input.size());

#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif
// Deprecated namespace is used deliberatelly to make sure the functionality is still available
oneapi::dpl::experimental::kt::esimd::radix_sort<IsAscending>(q, oneapi::dpl::begin(buf), oneapi::dpl::end(buf),
param)
oneapi::dpl::experimental::kt::gpu::esimd::radix_sort<IsAscending>(q, oneapi::dpl::begin(buf), oneapi::dpl::end(buf),
param)
.wait();
#ifdef __clang__
#pragma clang diagnostic pop
#endif
}

std::string msg = "wrong results with oneapi::dpl::begin/end, n: " + std::to_string(size);
Expand Down

0 comments on commit ca54ed1

Please sign in to comment.