Skip to content

Commit

Permalink
Reenable disabled test with stdexec and cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
aurianer committed May 9, 2023
1 parent 4c9a5c2 commit 2d260f0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion libs/pika/async_cuda/tests/performance/synchronize.cu
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ int pika_main(pika::program_options::variables_map& vm)

// The compilation of this loop unrolling with llvm-amdgpu's
// Clang 5.3.3 is hanging.
#if !(defined(PIKA_HAVE_STDEXEC) || defined(PIKA_HAVE_HIP))
#if !defined(PIKA_HAVE_HIP)
{
cu::enable_user_polling poll("default");

Expand Down
6 changes: 0 additions & 6 deletions libs/pika/async_cuda/tests/unit/cublas_matmul.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,6 @@ void matrixMultiply(pika::cuda::experimental::cuda_scheduler& cuda_sched, sMatri

// See https://github.com/brycelelbach/wg21_p2300_std_execution/issues/466
// for details.
#if defined(PIKA_HAVE_STDEXEC)
std::cout << "skipping remainder of test because the stdexec implementation of split does not "
"yet support move-only senders"
<< std::endl;
#else
pika::chrono::detail::high_resolution_timer t2;

// This loop is currently inefficient. Because of the type-erasure with
Expand Down Expand Up @@ -259,7 +254,6 @@ void matrixMultiply(pika::cuda::experimental::cuda_scheduler& cuda_sched, sMatri
});

tt::sync_wait(std::move(all_done));
#endif
whip::free(d_A);
whip::free(d_B);
whip::free(d_C);
Expand Down
3 changes: 0 additions & 3 deletions libs/pika/async_cuda/tests/unit/cuda_bulk.cu
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ int pika_main()
}
}

// The reference implementation does not support ranges as the shape
#if !defined(PIKA_HAVE_STDEXEC)
// Range
for (element_type n : {1, 42, 10007})
{
Expand Down Expand Up @@ -105,7 +103,6 @@ int pika_main()
PIKA_TEST_EQ(host_vector[i], i);
}
}
#endif

return pika::finalize();
}
Expand Down

0 comments on commit 2d260f0

Please sign in to comment.