1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00

Give command line control of blocks/threads split

This commit is contained in:
Peter Boyle 2018-05-12 17:58:56 -04:00
parent 925ac4173d
commit d3f51065c2

View File

@ -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)