[cig-commits] [commit] devel, master: remove duplicated function (eb0800a)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Nov 6 08:32:53 PST 2014


Repository : https://github.com/geodynamics/specfem3d_globe

On branches: devel,master
Link       : https://github.com/geodynamics/specfem3d_globe/compare/bc58e579b3b0838a0968725a076f5904845437ca...be63f20cbb6f462104e949894dbe205d2398cd7f

>---------------------------------------------------------------

commit eb0800ac41a7b7dea1fe2ad2ebf48c0b30d815c7
Author: Kevin Pouget <kevin.pouget at imag.fr>
Date:   Thu Oct 23 15:35:12 2014 +0200

    remove duplicated function


>---------------------------------------------------------------

eb0800ac41a7b7dea1fe2ad2ebf48c0b30d815c7
 src/gpu/initialize_gpu.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/gpu/initialize_gpu.c b/src/gpu/initialize_gpu.c
index c6ffe8c..cc40d3e 100644
--- a/src/gpu/initialize_gpu.c
+++ b/src/gpu/initialize_gpu.c
@@ -353,15 +353,6 @@ void build_kernels (void) {
   #include "kernel_list.h"
 }
 
-void release_kernels (void) {
-#undef BOAST_KERNEL
-#define BOAST_KERNEL(__kern_name__)                                     \
-  clCheck (clReleaseKernel (mocl.kernels.__kern_name__));               \
-  clCheck (clReleaseProgram (mocl.programs.__kern_name__ ## _program));
-
-  #include "kernel_list.h"
-}
-
 
 struct _opencl_version {
   cl_uint minor;



More information about the CIG-COMMITS mailing list