koboldcpp/include/CL/Utils/Context.hpp
2023-04-21 00:35:54 +08:00

17 lines
385 B
C++

#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);
}
}