Skip to content

Commit

Permalink
fixes sg-count & uses rmm stream in fst tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elstehle committed Jul 16, 2022
1 parent 6548836 commit 6d3eff2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp/tests/io/fst/fst_test.cu
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include <rmm/cuda_stream.hpp>
#include <rmm/cuda_stream_view.hpp>
#include <rmm/cuda_stream.hpp>
#include <rmm/device_buffer.hpp>
#include <rmm/device_uvector.hpp>

Expand Down Expand Up @@ -210,6 +211,8 @@ TEST_F(FstTest, GroundTruth)
auto& d_input = static_cast<cudf::scalar_type_t<std::string>&>(*d_input_string);
input = d_input.to_string(stream);



// Prepare input & output buffers
constexpr std::size_t single_item = 1;
hostdevice_vector<SymbolT> output_gpu(input.size(), stream_view);
Expand Down

0 comments on commit 6d3eff2

Please sign in to comment.