clover: Add clUnloadPlatformCompiler.
authorEdB <edb+mesa@sigluy.net>
Sun, 27 Jul 2014 21:07:39 +0000 (23:07 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 28 Jul 2014 12:46:44 +0000 (14:46 +0200)
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/api/dispatch.cpp
src/gallium/state_trackers/clover/api/program.cpp

index 43b5537106a708756d951adeccc02e5089d0d0b0..35d150d6dc896f3692a623d3a402c70c89204357 100644 (file)
@@ -124,7 +124,7 @@ namespace clover {
       clCreateProgramWithBuiltInKernels,
       NULL, // clCompileProgram
       NULL, // clLinkProgram
-      NULL, // clUnloadPlatformCompiler
+      clUnloadPlatformCompiler,
       NULL, // clGetKernelArgInfo
       NULL, // clEnqueueFillBuffer
       NULL, // clEnqueueFillImage
index 293a61fdfa8d01e3ed7b14f78e7ef4d0600d25f0..b81ce69652f995ffe64decb2e10a14b08784dcc1 100644 (file)
@@ -179,6 +179,11 @@ clUnloadCompiler() {
    return CL_SUCCESS;
 }
 
+CLOVER_API cl_int
+clUnloadPlatformCompiler(cl_platform_id d_platform) {
+   return CL_SUCCESS;
+}
+
 CLOVER_API cl_int
 clGetProgramInfo(cl_program d_prog, cl_program_info param,
                  size_t size, void *r_buf, size_t *r_size) try {