Skip to content

Commit

Permalink
Removing explicit stream create
Browse files Browse the repository at this point in the history
  • Loading branch information
cjnolet committed May 11, 2022
1 parent e1673a9 commit 5c9c9a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cpp/test/linalg/divide.cu
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ class DivideTest : public ::testing::TestWithParam<raft::linalg::UnaryOpInputs<T
{
raft::random::RngState r(params.seed);
int len = params.len;
RAFT_CUDA_TRY(cudaStreamCreate(&stream));
uniform(handle, r, in.data(), len, T(-1.0), T(1.0));
RAFT_CUDA_TRY(cudaStreamSynchronize(handle.get_stream()));
naiveDivide(out_ref.data(), in.data(), params.scalar, len, stream);
divideScalar(out.data(), in.data(), params.scalar, len, stream);
handle.sync_stream(stream);
Expand Down

0 comments on commit 5c9c9a4

Please sign in to comment.