implement stub function for clGetProgramInfo to avoid linker errors

Fixes Issue 510
This commit is contained in:
erwin.coumans
2011-04-23 15:47:49 +00:00
parent 0722e25399
commit 6ccd5a644a

View File

@@ -711,6 +711,15 @@ clFinish(cl_command_queue command_queue ) CL_API_SUFFIX__VERSION_1_0
return CL_SUCCESS;
}
extern CL_API_ENTRY cl_int CL_API_CALL
clGetProgramInfo(cl_program /* program */,
cl_program_info /* param_name */,
size_t /* param_value_size */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0
{
return 0;
}
extern CL_API_ENTRY cl_int CL_API_CALL
clGetKernelWorkGroupInfo(cl_kernel kernel ,