Skip to content

Commit

Permalink
Remove unused type aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Feb 5, 2025
1 parent 89ba2df commit 28fd6ca
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions thrust/testing/partition.cu
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ DECLARE_INTEGRAL_VECTOR_UNITTEST(TestStablePartitionSimple);
template <typename Vector>
void TestStablePartitionStencilSimple()
{
using T = typename Vector::value_type;
using Iterator = typename Vector::iterator;

Vector data{1, 2, 1, 3, 2};
Expand Down Expand Up @@ -182,10 +181,7 @@ DECLARE_INTEGRAL_VECTOR_UNITTEST(TestStablePartitionCopySimple);
template <typename Vector>
void TestStablePartitionCopyStencilSimple()
{
using T = typename Vector::value_type;

Vector data{1, 2, 1, 1, 2};

Vector stencil{false, true, false, false, true};

Vector true_results(2);
Expand Down
1 change: 0 additions & 1 deletion thrust/testing/partition_point.cu
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ struct is_even
template <typename Vector>
void TestPartitionPointSimple()
{
using T = typename Vector::value_type;
using Iterator = typename Vector::iterator;

Vector v{1, 1, 1, 0};
Expand Down
6 changes: 0 additions & 6 deletions thrust/testing/remove.cu
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,7 @@ DECLARE_UNITTEST(TestRemoveIfDispatchImplicit);
template <typename Vector>
void TestRemoveIfStencilSimple()
{
using T = typename Vector::value_type;

Vector data{1, 2, 1, 3, 2};

Vector stencil{0, 1, 0, 0, 1};

typename Vector::iterator end = thrust::remove_if(data.begin(), data.end(), stencil.begin(), ::cuda::std::identity{});
Expand Down Expand Up @@ -299,10 +296,7 @@ DECLARE_UNITTEST(TestRemoveCopyIfDispatchImplicit);
template <typename Vector>
void TestRemoveCopyIfStencilSimple()
{
using T = typename Vector::value_type;

Vector data{1, 2, 1, 3, 2};

Vector stencil{0, 1, 0, 0, 1};

Vector result(5);
Expand Down
1 change: 0 additions & 1 deletion thrust/testing/tabulate.cu
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ template <class Vector>
void TestTabulateSimple()
{
using namespace thrust::placeholders;
using T = typename Vector::value_type;

Vector v(5);

Expand Down

0 comments on commit 28fd6ca

Please sign in to comment.