mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Give command line control of blocks/threads split
This commit is contained in:
parent
925ac4173d
commit
d3f51065c2
@ -77,7 +77,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
//////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////
|
||||||
#ifdef GRID_NVCC
|
#ifdef GRID_NVCC
|
||||||
|
|
||||||
constexpr uint32_t gpu_threads = 32;
|
extern uint32_t gpu_threads;
|
||||||
|
|
||||||
template<typename lambda> __global__
|
template<typename lambda> __global__
|
||||||
void LambdaApply(uint64_t base, uint64_t Num, lambda Lambda)
|
void LambdaApply(uint64_t base, uint64_t Num, lambda Lambda)
|
||||||
|
Loading…
Reference in New Issue
Block a user