 // Based on the bitvector used for indicating the presence of spike
 // the global conductance values are updated..
 __global__ void kernel_globalConductanceUpdate (int t, int sec, int simTime) {
-	__shared__ int sh_tableQuickSynId[256];
+	__shared__ int sh_quickSynIdTable[256];
 
 	// Table for quick access
 	for(int i=0; i < 256; i+=blockDim.x){
 		if((i+threadIdx.x) < 256){
-			sh_tableQuickSynId[i+threadIdx.x]=gpu_tableQuickSynId[i+threadIdx.x];
+			sh_quickSynIdTable[i+threadIdx.x]=quickSynIdTableGPU[i+threadIdx.x];
 		}
 	}
 

{
	// reset various counters for the firing information
	if((blockIdx.x==0)&&(threadIdx.x==0)) {
		// timingTableD1[networkConfigGPU.maxDelay]  = 0;
		spikeCountD2	+= secD2fireCnt;
		spikeCountD1	+= secD1fireCnt;
		secD2fireCnt	= 0; //timingTableD2[networkConfigGPU.maxDelay];
		secD1fireCnt	= 0;
		secD2fireCntTest = 0; //timingTableD2[networkConfigGPU.maxDelay];
		secD1fireCntTest = 0;
	}
}


	// Shift the firing table so that the initial information in
	// the firing table contain the firing information for the last maxDelay_ time step
	for(int p=timeTableD2GPU[999],k=0;
		p<timeTableD2GPU[999+networkConfigGPU.maxDelay+1];
		p+=gnthreads,k+=gnthreads) {
		if((p+threadIdx.x)<timeTableD2GPU[999+networkConfigGPU.maxDelay+1])
			runtimeDataGPU.firingTableD2[k+threadIdx.x]=runtimeDataGPU.firingTableD2[p+threadIdx.x];
	}
}
