mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-01 13:38:05 +01:00
Give command line control of blocks/threads split
This commit is contained in:
1 parent
925ac4173d
commit
d3f51065c2
1 file changed
+1
-1
@@ -77,7 +77,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
#ifdef GRID_NVCC
|
||||
|
||||
constexpr uint32_t gpu_threads = 32;
|
||||
extern uint32_t gpu_threads;
|
||||
|
||||
template<typename lambda> __global__
|
||||
void LambdaApply(uint64_t base, uint64_t Num, lambda Lambda)
|
||||
|
||||
Reference in new issue
Block a user