Skip to content

Commit fd13966

Browse files
committed
improves env usage in tests
1 parent 318408d commit fd13966

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cub/test/catch2_test_device_topk_keys.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ CUB_RUNTIME_FUNCTION static cudaError_t dispatch_topk_keys(
3636
NumOutItemsT k,
3737
cudaStream_t stream = 0)
3838
{
39-
auto stream_env = cuda::std::execution::prop{cuda::get_stream_t{}, cuda::stream_ref{stream}};
39+
auto stream_env = cuda::stream_ref{stream};
4040
auto requirements =
4141
cuda::execution::require(cuda::execution::determinism::not_guaranteed, cuda::execution::output_ordering::unsorted);
4242

cub/test/catch2_test_device_topk_pairs.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ CUB_RUNTIME_FUNCTION static cudaError_t dispatch_topk_pairs(
3737
NumOutItemsT k,
3838
cudaStream_t stream = 0)
3939
{
40-
auto stream_env = cuda::std::execution::prop{cuda::get_stream_t{}, cuda::stream_ref{stream}};
40+
auto stream_env = cuda::stream_ref{stream};
4141
auto requirements =
4242
cuda::execution::require(cuda::execution::determinism::not_guaranteed, cuda::execution::output_ordering::unsorted);
4343

0 commit comments

Comments
 (0)