Commit 12ac62cc authored by Leonardo Solis's avatar Leonardo Solis
Browse files

reverted to nb chann in GA


Former-commit-id: 2605cea7
parent c5375a6e
......@@ -44,11 +44,11 @@ channel char2 chan_Conf2Intrae_actmode;
channel char chan_Conf2Intrae_actmode;
// Send energy values from InterE & IntraE to genotype-senders (IC, GG, LSs)
#if 0
#if 1
channel float chan_Intere2StoreIC_intere __attribute__((depth(2)));
channel float chan_Intere2StoreGG_intere __attribute__((depth(2)));
#endif
#if 1
#if 0
channel float chan_Intere2StoreIC_intere __attribute__((depth(MAX_POPSIZE)));
channel float chan_Intere2StoreGG_intere __attribute__((depth(MAX_POPSIZE)));
#endif
......@@ -63,11 +63,11 @@ channel float chan_Intere2StoreLS_LS7_intere __attribute__((depth(2)));
channel float chan_Intere2StoreLS_LS8_intere __attribute__((depth(2)));
channel float chan_Intere2StoreLS_LS9_intere __attribute__((depth(2)));
*/
#if 0
#if 1
channel float chan_Intrae2StoreIC_intrae __attribute__((depth(2)));
channel float chan_Intrae2StoreGG_intrae __attribute__((depth(2)));
#endif
#if 1
#if 0
channel float chan_Intrae2StoreIC_intrae __attribute__((depth(MAX_POPSIZE)));
channel float chan_Intrae2StoreGG_intrae __attribute__((depth(MAX_POPSIZE)));
#endif
......@@ -399,7 +399,7 @@ void Krnl_GA(__global float* restrict GlobPopulationCurrent,
#endif
// Read energy
#if 0
#if 1
float energyIA_IC_rx;
float energyIE_IC_rx;
bool intra_valid = false;
......@@ -414,7 +414,7 @@ void Krnl_GA(__global float* restrict GlobPopulationCurrent,
}
#endif
#if 1
#if 0
mem_fence(CLK_CHANNEL_MEM_FENCE);
float energyIA_IC_rx = read_channel_altera(chan_Intrae2StoreIC_intrae);
mem_fence(CLK_CHANNEL_MEM_FENCE);
......@@ -645,7 +645,7 @@ void Krnl_GA(__global float* restrict GlobPopulationCurrent,
#endif
// Read energy
#if 0
#if 1
float energyIA_GG_rx;
float energyIE_GG_rx;
bool intra_valid = false;
......@@ -660,7 +660,7 @@ void Krnl_GA(__global float* restrict GlobPopulationCurrent,
}
#endif
#if 1
#if 0
mem_fence(CLK_CHANNEL_MEM_FENCE);
float energyIA_GG_rx = read_channel_altera(chan_Intrae2StoreGG_intrae);
mem_fence(CLK_CHANNEL_MEM_FENCE);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment