"Implement" clGetExtensionFunctionAddress()
authorSimon Richter <Simon.Richter@hogyros.de>
Tue, 2 Apr 2013 13:11:01 +0000 (15:11 +0200)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Thu, 18 Apr 2013 03:20:50 +0000 (11:20 +0800)
This function should not fail if a function entry point cannot be found --
instead we return NULL.

Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
src/cl_api.c

index 7d1ed98..c784d07 100644 (file)
@@ -1169,7 +1169,7 @@ clEnqueueBarrier(cl_command_queue  command_queue)
 void*
 clGetExtensionFunctionAddress(const char *func_name)
 {
-  NOT_IMPLEMENTED;
+  /* No extensions supported at present */
   return NULL;
 }