mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
17 lines
385 B
C++
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);
|
|
}
|
|
}
|