 
 using namespace std;
 
-#if (__CUDACC_VER__ >= 80000) && not defined(DISABLE_GRID_FILTER)
+#if not defined(DISABLE_GRID_FILTER)
 
 #include <thrust/device_vector.h>
 #include <thrust/sequence.h>

    // inclusive prefix sum
    thrust::inclusive_scan( h_cell_counts.begin(), h_cell_counts.end(), cell_count_prefix_sums.begin() );

    FunctionReversePosition fun_reverse_pos( n );

    // sumup[i] = prefix sum[i] + sum( cell[i] copied into remaining cells )
    thrust::transform( h_cell_counts.begin(), h_cell_counts.end(),
                       thrust::make_transform_iterator( thrust::make_counting_iterator<int>(0),
                                                        fun_reverse_pos ),
                       cell_count_sumup.begin(),
                       thrust::multiplies<int>() );
    thrust::transform( cell_count_sumup.begin(), cell_count_sumup.end(),

        InitialExtremum& e = dobuf.i_ext_dat[octave][idx];

        return  thrust::make_tuple( e.cell, e.sigma * powf( 2.0f, octave ) );
    }
};

