Commit 514726bc authored by Leonardo Solis's avatar Leonardo Solis
Browse files

#28, removed unused refs to kernel K8

parent e31a0fd5
......@@ -33,9 +33,6 @@ ENABLE_K5 = NO
ENABLE_K6 = YES
ENABLE_K7 = YES
# bt prng ushort (check kernel36)
ENABLE_K8 = NO
# ls1 prng
ENABLE_K9 = NO
......@@ -158,12 +155,6 @@ else
K7 =
endif
ifeq ($(ENABLE_K8),YES)
K8 =-DENABLE_KERNEL8
else
K8 =
endif
ifeq ($(ENABLE_K9),YES)
K9 =-DENABLE_KERNEL9
else
......@@ -423,7 +414,7 @@ ifeq ($(REPRO), YES)
else
REP=
endif
ENABLE_KERNELS = $(K1) $(K2) $(K3) $(K4) $(K5) $(K6) $(K7) $(K8) $(K9) $(K10) \
ENABLE_KERNELS = $(K1) $(K2) $(K3) $(K4) $(K5) $(K6) $(K7) $(K9) $(K10) \
$(K11) $(K12) $(K13) $(K14) $(K15) $(K16) $(K17) $(K18) $(K19) $(K20) \
$(K21) $(K22) $(K23) $(K24) $(K25) $(K26) $(K27) $(K28) $(K29) $(K30) \
$(K31) $(K32) $(K33) $(K34) $(K35) $(K36) $(K37) $(K38) $(K39) $(K40) \
......
......@@ -65,17 +65,6 @@ static cl_kernel kernel4 = NULL;
static const char *name_k4 = "Krnl_IntraE";
#endif
#if 0
#ifdef ENABLE_KERNEL8
static cl_command_queue command_queue8 = NULL;
static cl_kernel kernel8 = NULL;
static const char *name_k8 = "Krnl_Prng_BT_ushort";
#endif
#endif
#if 0
#ifdef ENABLE_KERNEL5
static cl_command_queue command_queue5 = NULL;
......@@ -1204,12 +1193,6 @@ printf("%i %i\n", dockpars.num_of_intraE_contributors, myligand_reference.num_of
#endif
#endif // End of ENABLE_KERNEL7
#if 0
#ifdef ENABLE_KERNEL8 // Krnl_PRNG_ushort
setKernelArg(kernel8,1, sizeof(unsigned int), &dockpars.pop_size);
#endif // End of ENABLE_KERNEL8
#endif
#if 0
#ifdef ENABLE_KERNEL9 // Krnl_PRNG_LS_ushort
setKernelArg(kernel9,1, sizeof(unsigned int), &dockpars.pop_size);
......@@ -1706,12 +1689,6 @@ unsigned char Host_cons_limit = (unsigned char) dockpars.cons_limit;
setKernelArg(kernel7,0, sizeof(unsigned int), &cpu_prng_seeds[num_of_prng_blocks * run_cnt + 1]);
#endif // End of ENABLE_KERNEL7
#if 0
#ifdef ENABLE_KERNEL8 // Krnl_PRNG_ushort
setKernelArg(kernel8,0, sizeof(unsigned int), &cpu_prng_seeds[num_of_prng_blocks * run_cnt + 3]);
#endif // End of ENABLE_KERNEL8
#endif
#if 0
#ifdef ENABLE_KERNEL9 // Krnl_PRNG_LS_ushort
setKernelArg(kernel9,0, sizeof(unsigned int), &cpu_prng_seeds[num_of_prng_blocks * run_cnt + 4]);
......@@ -1822,12 +1799,6 @@ unsigned char Host_cons_limit = (unsigned char) dockpars.cons_limit;
runKernelTask(command_queue7,kernel7,NULL,NULL);
#endif // ENABLE_KERNEL7
#if 0
#ifdef ENABLE_KERNEL8
runKernelTask(command_queue8,kernel8,NULL,NULL);
#endif // ENABLE_KERNEL8
#endif
#if 0
#ifdef ENABLE_KERNEL9
runKernelTask(command_queue9,kernel9,NULL,NULL);
......@@ -2061,12 +2032,6 @@ unsigned char Host_cons_limit = (unsigned char) dockpars.cons_limit;
clFinish(command_queue7);
#endif
#if 0
#ifdef ENABLE_KERNEL8
clFinish(command_queue8);
#endif
#endif
#if 0
#ifdef ENABLE_KERNEL9
clFinish(command_queue9);
......@@ -2597,15 +2562,6 @@ bool init() {
checkError(status, "Failed to create kernel");
#endif
#if 0
#ifdef ENABLE_KERNEL8
command_queue8 = clCreateCommandQueue(context, device, 0, &status);
checkError(status, "Failed to create command queue8");
kernel8 = clCreateKernel(program, name_k8, &status);
checkError(status, "Failed to create kernel");
#endif
#endif
#if 0
#ifdef ENABLE_KERNEL9
command_queue9 = clCreateCommandQueue(context, device, 0, &status);
......@@ -2968,13 +2924,6 @@ void cleanup() {
if(command_queue7) {clReleaseCommandQueue(command_queue7);}
#endif
#if 0
#ifdef ENABLE_KERNEL8
if(kernel8) {clReleaseKernel(kernel8);}
if(command_queue8) {clReleaseCommandQueue(command_queue8);}
#endif
#endif
#if 0
#ifdef ENABLE_KERNEL9
if(kernel9) {clReleaseKernel(kernel9);}
......
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