integrated optional (experimentl) CLBlast support

This commit is contained in:
Concedo 2023-04-11 23:33:44 +08:00
parent c9f18082fd
commit 23c675b2e6
53 changed files with 22095 additions and 151 deletions

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