Clover Git
OpenCL 1.1 software implementation
|
Programs. More...
#include "CL/cl.h"
#include <core/program.h>
#include <core/context.h>
#include <cstdlib>
Go to the source code of this file.
Functions | |
cl_program | clCreateProgramWithSource (cl_context context, cl_uint count, const char **strings, const size_t *lengths, cl_int *errcode_ret) |
cl_program | clCreateProgramWithBinary (cl_context context, cl_uint num_devices, const cl_device_id *device_list, const size_t *lengths, const unsigned char **binaries, cl_int *binary_status, cl_int *errcode_ret) |
cl_int | clRetainProgram (cl_program program) |
cl_int | clReleaseProgram (cl_program program) |
cl_int | clBuildProgram (cl_program program, cl_uint num_devices, const cl_device_id *device_list, const char *options, void(*pfn_notify)(cl_program program, void *user_data), void *user_data) |
cl_int | clUnloadCompiler (void) |
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) |
cl_int | clGetProgramBuildInfo (cl_program program, cl_device_id device, cl_program_build_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) |
Programs.
Definition in file api_program.cpp.
cl_int clBuildProgram | ( | cl_program | program, |
cl_uint | num_devices, | ||
const cl_device_id * | device_list, | ||
const char * | options, | ||
void(*)(cl_program program, void *user_data) | pfn_notify, | ||
void * | user_data | ||
) |
Definition at line 195 of file api_program.cpp.
References Coal::Context::info(), Coal::Program::Loaded, Coal::Object::parent(), and Coal::Object::T_Program.
cl_program clCreateProgramWithBinary | ( | cl_context | context, |
cl_uint | num_devices, | ||
const cl_device_id * | device_list, | ||
const size_t * | lengths, | ||
const unsigned char ** | binaries, | ||
cl_int * | binary_status, | ||
cl_int * | errcode_ret | ||
) |
Definition at line 79 of file api_program.cpp.
References Coal::Program::loadBinaries(), and Coal::Object::T_Context.
cl_program clCreateProgramWithSource | ( | cl_context | context, |
cl_uint | count, | ||
const char ** | strings, | ||
const size_t * | lengths, | ||
cl_int * | errcode_ret | ||
) |
Definition at line 41 of file api_program.cpp.
References Coal::Program::loadSources(), and Coal::Object::T_Context.
cl_int clGetProgramBuildInfo | ( | cl_program | program, |
cl_device_id | device, | ||
cl_program_build_info | param_name, | ||
size_t | param_value_size, | ||
void * | param_value, | ||
size_t * | param_value_size_ret | ||
) |
Definition at line 286 of file api_program.cpp.
References Coal::Object::T_Program.
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 | ||
) |
Definition at line 272 of file api_program.cpp.
References Coal::Object::T_Program.
cl_int clReleaseProgram | ( | cl_program | program | ) |
Definition at line 183 of file api_program.cpp.
References Coal::Object::T_Program.
cl_int clRetainProgram | ( | cl_program | program | ) |
Definition at line 172 of file api_program.cpp.
References Coal::Object::T_Program.
cl_int clUnloadCompiler | ( | void | ) |
Definition at line 266 of file api_program.cpp.