debugging

This commit is contained in:
James E McClure 2018-02-20 21:42:18 -05:00
parent 73a2347bef
commit 52f3987639

View File

@ -1964,7 +1964,7 @@ __global__ void dvc_ScaLBL_D3Q19_AAeven_Flux_BC_z(int *list, double *dist, doub
//if (threadIdx.x==0)
// atomicAdd(dvcsum, sum);
extern __shared__ double temp[];
extern __shared__ double temp[NTHREADS];
thread_group g = this_thread_block();
double block_sum = reduce_sum(g, temp, sum);
@ -2039,7 +2039,7 @@ __global__ void dvc_ScaLBL_D3Q19_AAodd_Flux_BC_z(int *d_neighborList, int *list
//if (threadIdx.x==0)
// atomicAdd(dvcsum, sum);
extern __shared__ double temp[];
extern __shared__ double temp[NTHREADS];
thread_group g = this_thread_block();
double block_sum = reduce_sum(g, temp, sum);