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,29 +167,30 @@ gradient_minSD( ...@@ -167,29 +167,30 @@ 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)
// 2brt if (get_local_id(0) == 0) {
genotype[0] = 24.093334; // 2brt
genotype[1] = 24.658667; genotype[0] = 24.093334;
genotype[2] = 24.210667; genotype[1] = 24.658667;
genotype[3] = 50.0; genotype[2] = 24.210667;
genotype[4] = 50.0; genotype[3] = 50.0;
genotype[5] = 50.0; genotype[4] = 50.0;
genotype[6] = 0.0f; genotype[5] = 50.0;
genotype[7] = 0.0f; genotype[6] = 0.0f;
genotype[8] = 0.0f; genotype[7] = 0.0f;
genotype[9] = 0.0f; genotype[8] = 0.0f;
genotype[10] = 0.0f; genotype[9] = 0.0f;
genotype[11] = 0.0f; genotype[10] = 0.0f;
genotype[12] = 0.0f; genotype[11] = 0.0f;
genotype[13] = 0.0f; genotype[12] = 0.0f;
genotype[14] = 0.0f; genotype[13] = 0.0f;
genotype[15] = 0.0f; genotype[14] = 0.0f;
genotype[16] = 0.0f; genotype[15] = 0.0f;
genotype[17] = 0.0f; genotype[16] = 0.0f;
genotype[18] = 0.0f; genotype[17] = 0.0f;
genotype[19] = 0.0f; genotype[18] = 0.0f;
genotype[20] = 0.0f; genotype[19] = 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