aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/gpu_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/gpu_common.h')
-rw-r--r--test/gpu_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/gpu_common.h b/test/gpu_common.h
index fd8278f67..509be5942 100644
--- a/test/gpu_common.h
+++ b/test/gpu_common.h
@@ -29,6 +29,7 @@ void run_on_cpu(const Kernel& ker, int n, const Input& in, Output& out)
template<typename Kernel, typename Input, typename Output>
__global__
+__launch_bounds__(1024)
void run_on_gpu_meta_kernel(const Kernel ker, int n, const Input* in, Output* out)
{
int i = threadIdx.x + blockIdx.x*blockDim.x;