mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
18 lines
553 B
C++
18 lines
553 B
C++
#pragma once
|
|
|
|
#include "OpenCLUtilsCpp_Export.h"
|
|
#include <CL/Utils/Error.hpp>
|
|
|
|
#include <CL/opencl.hpp>
|
|
|
|
namespace cl {
|
|
namespace util {
|
|
vector<cl_context_properties>
|
|
UTILSCPP_EXPORT get_interop_context_properties(const cl::Device& plat,
|
|
cl_int* error = nullptr);
|
|
|
|
Context UTILSCPP_EXPORT get_interop_context(int plat_id, int dev_id,
|
|
cl_device_type type,
|
|
cl_int* error = nullptr);
|
|
}
|
|
}
|