Modifier and Type | Method and Description |
---|---|
static int |
CL.clBuildProgram(cl_program program,
int num_devices,
cl_device_id[] device_list,
java.lang.String options,
BuildProgramFunction pfn_notify,
java.lang.Object user_data)
Builds (compiles and links) a program executable from the program source or binary.
|
static int |
CL.clCompileProgram(cl_program program,
int num_devices,
cl_device_id[] device_list,
java.lang.String options,
int num_input_headers,
cl_program[] input_headers,
java.lang.String[] header_include_names,
BuildProgramFunction pfn_notify,
java.lang.Object user_data)
Compiles a programs source for all the devices or a specific device(s) in the OpenCL context
associated with
program . |
static cl_program |
CL.clLinkProgram(cl_context context,
int num_devices,
cl_device_id[] device_list,
java.lang.String options,
int num_input_programs,
cl_program[] input_programs,
BuildProgramFunction pfn_notify,
java.lang.Object user_data,
int[] errcode_ret)
Links a set of compiled program objects and libraries for all the devices or a specific device(s) in
the OpenCL context and creates an executable.
|