Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion projects/rocthrust/test/test_copy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ TYPED_TEST(CopyIntegerTests, TestCopyIf)

TEST(CopyLargeTypesTests, TestCopyIfStencilLargeType)
{
using T = large_data;
using T = test::large_data;

SCOPED_TRACE(testing::Message() << "with device_id= " << test::set_device_from_ctest());

Expand Down
6 changes: 4 additions & 2 deletions projects/rocthrust/test/test_header.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ struct Params<thrust::device_vector<T>, ExecutionPolicy>
TYPED_TEST_SUITE(x, y);

// Set of test parameter types

namespace test
{
class large_data
{
public:
Expand Down Expand Up @@ -240,6 +241,7 @@ bool __host__ __device__ operator==(T const& lhs, large_data const& rhs)
{
return static_cast<large_data>(lhs).data[0] == rhs.data[0];
}
} // namespace test

// Host and device vectors of all type as a test parameter
using FullTestsParams = ::testing::Types<
Expand Down Expand Up @@ -283,7 +285,7 @@ using FullWithLargeTypesTestsParams = ::testing::Types<
Params<thrust::device_vector<float>, std::decay_t<decltype(thrust::hip::par_det)>>,
Params<thrust::device_vector<float>, std::decay_t<decltype(thrust::hip::par_det_nosync)>>,
Params<thrust::device_vector<double>>,
Params<thrust::device_vector<large_data>>>;
Params<thrust::device_vector<test::large_data>>>;

// Host and device vectors of signed type
using VectorSignedTestsParams =
Expand Down