mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 09:34:37 +00:00
integrated optional (experimentl) CLBlast support
This commit is contained in:
parent
c9f18082fd
commit
23c675b2e6
53 changed files with 22095 additions and 151 deletions
21
CL/Utils/Device.hpp
Normal file
21
CL/Utils/Device.hpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
#pragma once
|
||||
|
||||
#include "OpenCLUtilsCpp_Export.h"
|
||||
#include <CL/Utils/Error.hpp>
|
||||
|
||||
#include <CL/opencl.hpp>
|
||||
|
||||
namespace cl {
|
||||
namespace util {
|
||||
bool UTILSCPP_EXPORT opencl_c_version_contains(
|
||||
const cl::Device& device, const cl::string& version_fragment);
|
||||
|
||||
bool UTILSCPP_EXPORT supports_extension(const cl::Device& device,
|
||||
const cl::string& extension);
|
||||
|
||||
#ifdef CL_VERSION_3_0
|
||||
bool UTILSCPP_EXPORT supports_feature(const cl::Device& device,
|
||||
const cl::string& feature_name);
|
||||
#endif
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue