Commit a4eb94bf authored by Leonardo Solis's avatar Leonardo Solis
Browse files

removed comments


Former-commit-id: f1112cbf
parent b3e10c70
......@@ -323,7 +323,7 @@ $(TARGET_DIR)/$(TARGET) : Makefile $(SRCS) $(INCS) $(TARGET_DIR)
# to have a short but still a representative test
PDB := 1stp
PSIZE:= 150
NRUN := 5
NRUN := 10
NEV := 50000
NGEN := 27000
GFPOP:= 0
......
......@@ -79,17 +79,9 @@ while(active) {
)) loc_coords [MAX_NUM_OF_ATOMS];
#endif
#if 0
char2 actmode = read_channel_altera(chan_IGL2Conform_actmode);
#endif
char actmode = read_channel_intel(chan_IGL2Conform_actmode);
mem_fence(CLK_CHANNEL_MEM_FENCE);
#if 0
active = actmode.x;
mode = actmode.y;
#endif
active = actmode;
mode = actmode;
......@@ -106,17 +98,6 @@ while(active) {
switch (mode) {
case 'I': fl_tmp = read_channel_intel(chan_IC2Conf_genotype); break;
case 'G': fl_tmp = read_channel_intel(chan_GG2Conf_genotype); break;
/*
case 0x01: fl_tmp = read_channel_intel(chan_LS2Conf_LS1_genotype); break;
case 0x02: fl_tmp = read_channel_intel(chan_LS2Conf_LS2_genotype); break;
case 0x03: fl_tmp = read_channel_intel(chan_LS2Conf_LS3_genotype); break;
case 0x04: fl_tmp = read_channel_intel(chan_LS2Conf_LS4_genotype); break;
case 0x05: fl_tmp = read_channel_intel(chan_LS2Conf_LS5_genotype); break;
case 0x06: fl_tmp = read_channel_intel(chan_LS2Conf_LS6_genotype); break;
case 0x07: fl_tmp = read_channel_intel(chan_LS2Conf_LS7_genotype); break;
case 0x08: fl_tmp = read_channel_intel(chan_LS2Conf_LS8_genotype); break;
case 0x09: fl_tmp = read_channel_intel(chan_LS2Conf_LS9_genotype); break;
*/
}
if (i > 2) {
......@@ -445,13 +426,8 @@ while(active) {
for (uchar pipe_cnt=0; pipe_cnt<DockConst_num_of_atoms; pipe_cnt+=2) {
if (pipe_cnt == 0) {
#if 0
char active_tmp = active;
char mode_tmp = mode;
char2 actmode = {active_tmp, mode_tmp};
#endif
write_channel_intel(chan_Conf2Intere_actmode, /*actmode*/ mode);
write_channel_intel(chan_Conf2Intrae_actmode, /*actmode*/ mode);
write_channel_intel(chan_Conf2Intere_actmode, mode);
write_channel_intel(chan_Conf2Intrae_actmode, mode);
}
mem_fence(CLK_CHANNEL_MEM_FENCE);
......
......@@ -37,13 +37,13 @@ void Krnl_IGL_Arbiter(/*unsigned char DockConst_num_of_genes*/) {
bool GG_active;
while (
(Off_valid == false) &&
(IC_valid == false) &&
(GG_valid == false)
(Off_valid == false) &&
(IC_valid == false) &&
(GG_valid == false)
){
Off_active = read_channel_nb_intel(chan_IGLArbiter_Off, &Off_valid);
IC_active = read_channel_nb_intel(chan_GA2IGL_IC_active, &IC_valid);
GG_active = read_channel_nb_intel(chan_GA2IGL_GG_active, &GG_valid);
Off_active = read_channel_nb_intel(chan_IGLArbiter_Off, &Off_valid);
IC_active = read_channel_nb_intel(chan_GA2IGL_IC_active, &IC_valid);
GG_active = read_channel_nb_intel(chan_GA2IGL_GG_active, &GG_valid);
}
// "active" carries mode info too
......
......@@ -67,17 +67,9 @@ while(active) {
// Wait for ligand atomic coordinates in channel
// --------------------------------------------------------------
#if 0
char2 actmode = read_channel_intel(chan_Conf2Intere_actmode);
#endif
char actmode = read_channel_intel(chan_Conf2Intere_actmode);
mem_fence(CLK_CHANNEL_MEM_FENCE);
#if 0
active = actmode.x;
mode = actmode.y;
#endif
active = actmode;
mode = actmode;
......@@ -467,17 +459,6 @@ while(active) {
switch (mode) {
case 'I': write_channel_intel(chan_Intere2StoreIC_intere, final_interE); break;
case 'G': write_channel_intel(chan_Intere2StoreGG_intere, final_interE); break;
/*
case 0x01: write_channel_intel(chan_Intere2StoreLS_LS1_intere, final_interE); break;
case 0x02: write_channel_intel(chan_Intere2StoreLS_LS2_intere, final_interE); break;
case 0x03: write_channel_intel(chan_Intere2StoreLS_LS3_intere, final_interE); break;
case 0x04: write_channel_intel(chan_Intere2StoreLS_LS4_intere, final_interE); break;
case 0x05: write_channel_intel(chan_Intere2StoreLS_LS5_intere, final_interE); break;
case 0x06: write_channel_intel(chan_Intere2StoreLS_LS6_intere, final_interE); break;
case 0x07: write_channel_intel(chan_Intere2StoreLS_LS7_intere, final_interE); break;
case 0x08: write_channel_intel(chan_Intere2StoreLS_LS8_intere, final_interE); break;
case 0x09: write_channel_intel(chan_Intere2StoreLS_LS9_intere, final_interE); break;
*/
}
// --------------------------------------------------------------
......
......@@ -63,17 +63,9 @@ while(active) {
// Wait for ligand atomic coordinates in channel
// --------------------------------------------------------------
#if 0
char2 actmode = read_channel_intel(chan_Conf2Intrae_actmode);
#endif
char actmode = read_channel_intel(chan_Conf2Intrae_actmode);
mem_fence(CLK_CHANNEL_MEM_FENCE);
#if 0
active = actmode.x;
mode = actmode.y;
#endif
active = actmode;
mode = actmode;
......@@ -85,7 +77,6 @@ while(active) {
loc_coords[pipe_cnt+1] = tmp2;
}
// --------------------------------------------------------------
//printf("AFTER In INTRA CHANNEL\n");
......@@ -271,17 +262,6 @@ while(active) {
switch (mode) {
case 'I': write_channel_intel(chan_Intrae2StoreIC_intrae, intraE); break;
case 'G': write_channel_intel(chan_Intrae2StoreGG_intrae, intraE); break;
/*
case 0x01: write_channel_intel(chan_Intrae2StoreLS_LS1_intrae, intraE); break;
case 0x02: write_channel_intel(chan_Intrae2StoreLS_LS2_intrae, intraE); break;
case 0x03: write_channel_intel(chan_Intrae2StoreLS_LS3_intrae, intraE); break;
case 0x04: write_channel_intel(chan_Intrae2StoreLS_LS4_intrae, intraE); break;
case 0x05: write_channel_intel(chan_Intrae2StoreLS_LS5_intrae, intraE); break;
case 0x06: write_channel_intel(chan_Intrae2StoreLS_LS6_intrae, intraE); break;
case 0x07: write_channel_intel(chan_Intrae2StoreLS_LS7_intrae, intraE); break;
case 0x08: write_channel_intel(chan_Intrae2StoreLS_LS8_intrae, intraE); break;
case 0x09: write_channel_intel(chan_Intrae2StoreLS_LS9_intrae, intraE); break;
*/
}
// --------------------------------------------------------------
......
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