Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
zasdfgbnm committed May 11, 2021
1 parent 051dc9d commit 39a38e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_device_scan.cu
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ void Solve(
}
}

template<typename OutputT, typename DeviceInputIteratorT, bool inplace>
template<typename OutputT, typename DeviceInputIteratorT, bool InPlace>
struct AllocateOutput {
static void run(OutputT *&d_out, DeviceInputIteratorT, int num_items) {
CubDebugExit(g_allocator.DeviceAllocate((void**)&d_out, sizeof(OutputT) * num_items));
Expand All @@ -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,
Expand All @@ -639,7 +639,7 @@ void Test(

// Allocate device output array
OutputT *d_out = NULL;
AllocateOutput<OutputT, DeviceInputIteratorT, inplace>::run(d_out, d_in, num_items);
AllocateOutput<OutputT, DeviceInputIteratorT, InPlace>::run(d_out, d_in, num_items);

// Allocate CDP device arrays
size_t *d_temp_storage_bytes = NULL;
Expand Down

0 comments on commit 39a38e8

Please sign in to comment.