cl_int clGetProgramInfo(cl_program program, cl_program_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret) { if (!program->isA(Coal::Object::T_Program)) return CL_INVALID_PROGRAM; return program->info(param_name, param_value_size, param_value, param_value_size_ret); }
cl_int clGetProgramInfo(cl_program program, cl_program_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret) { #ifdef DBG_API std::cerr << "clGetProgramInfo\n"; #endif if (!program->isA(Coal::Object::T_Program)) return CL_INVALID_PROGRAM; return program->info(param_name, param_value_size, param_value, param_value_size_ret); }