 				int stdp_tDiff = (simTime - gpuPtrs.synSpikeTime[p]);
 				if ((stdp_tDiff > 0) && ((stdp_tDiff*gpuGrpInfo[grpId].TAU_LTP_INV)<25)) {
 					gpuPtrs.wtChange[p] += STDP(stdp_tDiff, gpuGrpInfo[grpId].ALPHA_LTP, gpuGrpInfo[grpId].TAU_LTP_INV);
-//						int val = atomicAdd(&testVarCnt, 4);
-//						gpuPtrs.testVar[val]   = 1+nid;
-//						gpuPtrs.testVar[val+1] = 1+p-gpuPtrs.cumulativePre[nid];
-//						gpuPtrs.testVar[val+2] = 1+gpuPtrs.wtChange[p];
-//						gpuPtrs.testVar[val+3] = 1+stdp_tDiff;
 				}
 			}
 		}

__device__ unsigned int spikeCountD1;

// I believe the following are all just test variables
__device__ int	testVarCnt;
__device__ int	testVarCnt2;
__device__ int	testVarCnt1;
__device__ unsigned int	secD2fireCntTest;
__device__ unsigned int	secD1fireCntTest;
__device__ int  generatedSpikesE;
__device__ int  generatedSpikesI;
__device__ int  receivedSpikesE;
__device__ int  receivedSpikesI;
__device__ int  senderIdE[1000];
__device__ int  senderIdI[1000];
__device__ int  receiverId[1000];

__device__ __constant__ network_ptr_t		gpuPtrs;
__device__ __constant__ network_info_t		gpuNetInfo;

__device__ inline uint32_t* getFiringBitGroupPtr(unsigned int& nid, int& synGrpId)
{
	uint32_t* tmp_ptr = (((uint32_t*)((char*) gpuPtrs.I_set + synGrpId*gpuNetInfo.I_setPitch)) + nid);
	return tmp_ptr;
}

