mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Allow device ID to be specified for offline compilation
Signed-off-by: Stuart Brady <stuart.brady@arm.com>
This commit is contained in:
committed by
Kévin Petit
parent
76fd344e64
commit
245e11ec67
@@ -89,6 +89,14 @@ extern int create_single_kernel_helper_create_program(cl_context context,
|
||||
const char *buildOptions = NULL,
|
||||
const bool openclCXX = false);
|
||||
|
||||
extern int create_single_kernel_helper_create_program_for_device(cl_context context,
|
||||
cl_device_id device,
|
||||
cl_program *outProgram,
|
||||
unsigned int numKernelLines,
|
||||
const char **kernelProgram,
|
||||
const char *buildOptions = NULL,
|
||||
const bool openclCXX = false);
|
||||
|
||||
/* Creates OpenCL C++ program. This one must be used for creating OpenCL C++ program. */
|
||||
extern int create_openclcpp_program(cl_context context,
|
||||
cl_program *outProgram,
|
||||
|
||||
Reference in New Issue
Block a user