From 022651b154715a1c2c5372657b4fec5071e479b4 Mon Sep 17 00:00:00 2001 From: Georgy Evtushenko Date: Thu, 8 Jun 2023 15:20:35 +0400 Subject: [PATCH] Workaround three-way partition compilation issue --- test/test_device_three_way_partition.cu | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test/test_device_three_way_partition.cu b/test/test_device_three_way_partition.cu index dfaab8d300..27fdf00591 100644 --- a/test/test_device_three_way_partition.cu +++ b/test/test_device_three_way_partition.cu @@ -379,16 +379,16 @@ template struct CountToPair { template - __device__ __host__ Pairoperator()(OffsetT id) + __device__ __host__ Pair operator()(OffsetT id) { - return Pair(static_cast(id), id); + return Pair(static_cast(id), id); } }; template void TestStability(int num_items) { - using T = Pair; + using T = Pair; thrust::device_vector in(num_items); thrust::tabulate(in.begin(), in.end(), CountToPair{}); @@ -584,8 +584,9 @@ int main(int argc, char **argv) // Initialize device CubDebugExit(args.DeviceInit()); - Test(); - Test(); + // NVBug 4136386 + // Test(); + // Test(); Test(); Test();