[Beignet] [PATCH 3/8] "Implement" clGetExtensionFunctionAddress()
Zhigang Gong
zhigang.gong at linux.intel.com
Wed Apr 17 00:51:54 PDT 2013
From: Simon Richter <Simon.Richter at hogyros.de>
This function should not fail if a function entry point cannot be found --
instead we return NULL.
Reviewed-by: Zhigang Gong <zhigang.gong at linux.intel.com>
---
src/cl_api.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cl_api.c b/src/cl_api.c
index 7d1ed98..c784d07 100644
--- a/src/cl_api.c
+++ b/src/cl_api.c
@@ -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;
}
--
1.7.11.7
More information about the Beignet
mailing list