implement stub function for clGetProgramInfo to avoid linker errors
Fixes Issue 510
This commit is contained in:
@@ -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 ,
|
||||
|
||||
Reference in New Issue
Block a user