Koboldcpp / include /CL /Utils /Context.hpp
faisalhr1997's picture
Duplicate from Illumotion/Koboldcpp
833d7c1
raw
history blame
385 Bytes
#pragma once
// OpenCL SDK includes
#include "OpenCLUtilsCpp_Export.h"
#include <CL/Utils/Error.hpp>
// OpenCL includes
#include <CL/opencl.hpp>
namespace cl {
namespace util {
Context UTILSCPP_EXPORT get_context(cl_uint plat_id, cl_uint dev_id,
cl_device_type type,
cl_int* error = nullptr);
}
}