Move more functions out of shared.c

This commit is contained in:
jsteube
2016-09-07 16:04:42 +02:00
parent 8dd57b715b
commit 80d7dce9b5
5 changed files with 154 additions and 160 deletions
+4
View File
@@ -9,6 +9,7 @@
#define _OPENCL_H
#include <stdio.h>
#include <errno.h>
static const char CL_VENDOR_AMD[] = "Advanced Micro Devices, Inc.";
static const char CL_VENDOR_AMD_USE_INTEL[] = "GenuineIntel";
@@ -217,3 +218,6 @@ struct __hc_device_param
uint setup_opencl_platforms_filter (char *opencl_platforms);
u32 setup_devices_filter (char *opencl_devices);
cl_device_type setup_device_types_filter (char *opencl_device_types);
void load_kernel (const char *kernel_file, int num_devices, size_t *kernel_lengths, const u8 **kernel_sources);
void writeProgramBin (char *dst, u8 *binary, size_t binary_size);