Would help if I actually added the files

This commit is contained in:
2016-09-19 03:01:47 -07:00
parent fecf8dd8ee
commit 92aee8c4ca
10 changed files with 698 additions and 271 deletions

View File

@@ -38,11 +38,12 @@ public:
int create_shared_context();
int create_command_queue();
int compile_kernel(std::string kernel_source, bool is_path, std::string kernel_name);
int create_buffer(std::string buffer_name, cl_uint size, void* data);
int create_buffer(std::string buffer_name, cl_uint size, void* data, cl_mem_flags flags);
int set_kernel_arg(std::string kernel_name, int index, std::string buffer_name);
int store_buffer(cl_mem, std::string buffer_name);
int run_kernel(std::string kernel_name, const int work_size);
bool assert(int error_code, std::string function_name);
cl_device_id getDeviceID();