From 39a38e8b3d4a8f7989d70269f63256453d3f730a Mon Sep 17 00:00:00 2001 From: Xiang Gao Date: Tue, 11 May 2021 09:41:38 -0700 Subject: [PATCH] style --- test/test_device_scan.cu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_device_scan.cu b/test/test_device_scan.cu index 27d2bcc785..6f2933937b 100644 --- a/test/test_device_scan.cu +++ b/test/test_device_scan.cu @@ -604,7 +604,7 @@ void Solve( } } -template +template struct AllocateOutput { static void run(OutputT *&d_out, DeviceInputIteratorT, int num_items) { CubDebugExit(g_allocator.DeviceAllocate((void**)&d_out, sizeof(OutputT) * num_items)); @@ -627,7 +627,7 @@ template < typename OutputT, typename ScanOpT, typename InitialValueT, - bool inplace=false> + bool InPlace=false> void Test( DeviceInputIteratorT d_in, OutputT *h_reference, @@ -639,7 +639,7 @@ void Test( // Allocate device output array OutputT *d_out = NULL; - AllocateOutput::run(d_out, d_in, num_items); + AllocateOutput::run(d_out, d_in, num_items); // Allocate CDP device arrays size_t *d_temp_storage_bytes = NULL;