3333#include < thrust/detail/cstdint.h>
3434#include < thrust/detail/temporary_array.h>
3535#include < thrust/system/cuda/detail/util.h>
36- #include < thrust/system/cuda/detail/ cub/device/device_select.cuh>
36+ #include < cub/device/device_select.cuh>
3737#include < thrust/system/cuda/detail/core/agent_launcher.h>
3838#include < thrust/system/cuda/detail/core/util.h>
3939#include < thrust/system/cuda/detail/par_to_seq.h>
@@ -89,7 +89,7 @@ namespace __copy_if {
8989
9090 template <class , class >
9191 struct Tuning ;
92-
92+
9393 template <class T >
9494 struct Tuning <sm52, T>
9595 {
@@ -109,7 +109,7 @@ namespace __copy_if {
109109 cub::BLOCK_SCAN_WARP_SCANS>
110110 type;
111111 }; // Tuning<350>
112-
112+
113113
114114 template <class T >
115115 struct Tuning <sm35, T>
@@ -130,7 +130,7 @@ namespace __copy_if {
130130 cub::BLOCK_SCAN_WARP_SCANS>
131131 type;
132132 }; // Tuning<350>
133-
133+
134134 template <class T >
135135 struct Tuning <sm30, T>
136136 {
@@ -150,7 +150,7 @@ namespace __copy_if {
150150 cub::BLOCK_SCAN_WARP_SCANS>
151151 type;
152152 }; // Tuning<300>
153-
153+
154154 struct no_stencil_tag_ {};
155155 typedef no_stencil_tag_* no_stencil_tag;
156156 template <class ItemsIt ,
@@ -206,7 +206,7 @@ namespace __copy_if {
206206 core::uninitialized_array<item_type, PtxPlan::ITEMS_PER_TILE> raw_exchange;
207207 }; // union TempStorage
208208 }; // struct PtxPlan
209-
209+
210210 typedef typename core::specialize_plan_msvc10_war<PtxPlan>::type::type ptx_plan;
211211
212212 typedef typename ptx_plan::ItemsLoadIt ItemsLoadIt;
@@ -224,7 +224,7 @@ namespace __copy_if {
224224 ITEMS_PER_THREAD = ptx_plan::ITEMS_PER_THREAD,
225225 ITEMS_PER_TILE = ptx_plan::ITEMS_PER_TILE
226226 };
227-
227+
228228 struct impl
229229 {
230230 // ---------------------------------------------------------------------
@@ -238,7 +238,7 @@ namespace __copy_if {
238238 OutputIt output_it;
239239 Predicate predicate;
240240 Size num_items;
241-
241+
242242 // ------------------------------------------
243243 // scatter results to memory
244244 // ------------------------------------------
@@ -272,7 +272,7 @@ namespace __copy_if {
272272 output_it[num_selections_prefix + item] = storage.raw_exchange [item];
273273 }
274274 } // func scatter
275-
275+
276276 // ------------------------------------------
277277 // specialize predicate on different types
278278 // ------------------------------------------
@@ -357,11 +357,11 @@ namespace __copy_if {
357357 }
358358 }
359359 }
360-
360+
361361 // ------------------------------------------
362362 // consume tiles
363363 // ------------------------------------------
364-
364+
365365 template <bool IS_LAST_TILE, bool IS_FIRST_TILE>
366366 Size THRUST_DEVICE_FUNCTION
367367 consume_tile_impl (int num_tile_items,
@@ -501,7 +501,7 @@ namespace __copy_if {
501501 // ---------------------------------------------------------------------
502502 // Constructor
503503 // ---------------------------------------------------------------------
504-
504+
505505 THRUST_DEVICE_FUNCTION impl (TempStorage & storage_,
506506 ScanTileState & tile_state_,
507507 ItemsIt items_it,
@@ -578,7 +578,7 @@ namespace __copy_if {
578578 template <class Arch >
579579 struct PtxPlan : PtxPolicy<128 > {};
580580 typedef core::specialize_plan<PtxPlan> ptx_plan;
581-
581+
582582 // ---------------------------------------------------------------------
583583 // Agent entry point
584584 // ---------------------------------------------------------------------
@@ -648,19 +648,19 @@ namespace __copy_if {
648648 cudaError_t status = cudaSuccess;
649649 if (num_items == 0 )
650650 return status;
651-
651+
652652 size_t allocation_sizes[2 ] = {0 , vshmem_size};
653653 status = ScanTileState::AllocationSize (static_cast <int >(num_tiles), allocation_sizes[0 ]);
654654 CUDA_CUB_RET_IF_FAIL (status);
655-
655+
656656
657657 void * allocations[2 ] = {NULL , NULL };
658658 status = cub::AliasTemporaries (d_temp_storage,
659659 temp_storage_bytes,
660660 allocations,
661661 allocation_sizes);
662662 CUDA_CUB_RET_IF_FAIL (status);
663-
663+
664664
665665 if (d_temp_storage == NULL )
666666 {
0 commit comments