Skip to content
Snippets Groups Projects
Unverified Commit 599be0d6 authored by Benjamin Cumming's avatar Benjamin Cumming Committed by GitHub
Browse files

Update gpu tests to use util::sum instead of algorithms::sum (#966)

Replace `algorithms::sum` with `util::sum` in `test_matrix.cu`.
parent f12f934f
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,7 @@ TEST(matrix, interleave)
ivec starts(num_mtx, 0);
std::partial_sum(begin(sizes), end(sizes)-1, begin(starts)+1);
tvec values(algorithms::sum(sizes));
tvec values(util::sum(sizes));
std::iota(values.begin(), values.end(), 0);
EXPECT_TRUE((test_interleave<T, I, 1, 1>(sizes, starts, values, padded_size)));
......@@ -199,7 +199,7 @@ TEST(matrix, interleave)
ivec starts(num_mtx, 0);
std::partial_sum(begin(sizes), end(sizes)-1, begin(starts)+1);
tvec values(algorithms::sum(sizes));
tvec values(util::sum(sizes));
std::iota(values.begin(), values.end(), 0);
// test in "full" 1024 thread configuration with 32 threads per matrix
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment