diff --git a/thrust/testing/partition.cu b/thrust/testing/partition.cu index 38bd0763217..66d638979d4 100644 --- a/thrust/testing/partition.cu +++ b/thrust/testing/partition.cu @@ -139,7 +139,6 @@ DECLARE_INTEGRAL_VECTOR_UNITTEST(TestStablePartitionSimple); template void TestStablePartitionStencilSimple() { - using T = typename Vector::value_type; using Iterator = typename Vector::iterator; Vector data{1, 2, 1, 3, 2}; @@ -182,10 +181,7 @@ DECLARE_INTEGRAL_VECTOR_UNITTEST(TestStablePartitionCopySimple); template 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); diff --git a/thrust/testing/partition_point.cu b/thrust/testing/partition_point.cu index 9b6076034f6..5399fe76d5f 100644 --- a/thrust/testing/partition_point.cu +++ b/thrust/testing/partition_point.cu @@ -16,7 +16,6 @@ struct is_even template void TestPartitionPointSimple() { - using T = typename Vector::value_type; using Iterator = typename Vector::iterator; Vector v{1, 1, 1, 0}; diff --git a/thrust/testing/remove.cu b/thrust/testing/remove.cu index 097e9ac7373..53d7b60023a 100644 --- a/thrust/testing/remove.cu +++ b/thrust/testing/remove.cu @@ -189,10 +189,7 @@ DECLARE_UNITTEST(TestRemoveIfDispatchImplicit); template 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{}); @@ -299,10 +296,7 @@ DECLARE_UNITTEST(TestRemoveCopyIfDispatchImplicit); template 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); diff --git a/thrust/testing/tabulate.cu b/thrust/testing/tabulate.cu index d5b7eba14b0..e72349ffe80 100644 --- a/thrust/testing/tabulate.cu +++ b/thrust/testing/tabulate.cu @@ -42,7 +42,6 @@ template void TestTabulateSimple() { using namespace thrust::placeholders; - using T = typename Vector::value_type; Vector v(5);