From d3f51065c255f7e56df976867e5338d62c7e2996 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Sat, 12 May 2018 17:58:56 -0400 Subject: [PATCH] Give command line control of blocks/threads split --- lib/threads/Pragmas.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/threads/Pragmas.h b/lib/threads/Pragmas.h index 602b4e86..c9d72acb 100644 --- a/lib/threads/Pragmas.h +++ b/lib/threads/Pragmas.h @@ -77,7 +77,7 @@ Author: paboyle ////////////////////////////////////////////////////////////////////////////////// #ifdef GRID_NVCC -constexpr uint32_t gpu_threads = 32; +extern uint32_t gpu_threads; template __global__ void LambdaApply(uint64_t base, uint64_t Num, lambda Lambda)