mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 01:24:36 +00:00
wip dont use
This commit is contained in:
parent
7ba36c2c6c
commit
07bb31b034
42 changed files with 8 additions and 7 deletions
18
include/CL/Utils/InteropContext.hpp
Normal file
18
include/CL/Utils/InteropContext.hpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
#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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue