Commit 3df97cfe authored by lvs's avatar lvs
Browse files

minor fix in SD kernel, #34

parent 416791ba
...@@ -207,7 +207,7 @@ PDB := 3ce3 ...@@ -207,7 +207,7 @@ PDB := 3ce3
NRUN := 100 NRUN := 100
POPSIZE := 150 POPSIZE := 150
TESTNAME := test TESTNAME := test
TESTLS := ad TESTLS := sw
test: odock test: odock
......
...@@ -167,6 +167,7 @@ gradient_minSD( ...@@ -167,6 +167,7 @@ gradient_minSD(
// Enable this for debugging SD from a defined initial genotype // Enable this for debugging SD from a defined initial genotype
#if defined (DEBUG_INITIAL_2BRT) #if defined (DEBUG_INITIAL_2BRT)
if (get_local_id(0) == 0) {
// 2brt // 2brt
genotype[0] = 24.093334; genotype[0] = 24.093334;
genotype[1] = 24.658667; genotype[1] = 24.658667;
...@@ -189,7 +190,7 @@ gradient_minSD( ...@@ -189,7 +190,7 @@ gradient_minSD(
genotype[18] = 0.0f; genotype[18] = 0.0f;
genotype[19] = 0.0f; genotype[19] = 0.0f;
genotype[20] = 0.0f; genotype[20] = 0.0f;
}
// Evaluating candidate // Evaluating candidate
barrier(CLK_LOCAL_MEM_FENCE); barrier(CLK_LOCAL_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