gridwise_operation_wrapper.hpp 228 Bytes
Newer Older
Chao Liu's avatar
Chao Liu committed
1
2
3
4
#ifndef CK_GRIDWISE_OPERATION_KERNEL_WRAPPER
#define CK_GRIDWISE_OPERATION_KERNEL_WRAPPER

template <typename GridwiseOp, typename... Xs>
Chao Liu's avatar
Chao Liu committed
5
__global__ void run_gridwise_operation(Xs... xs)
Chao Liu's avatar
Chao Liu committed
6
7
8
9
10
{
    GridwiseOp{}.Run(xs...);
}

#endif