20 lines
560 B
C++
20 lines
560 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
// OpenCL SDK includes
|
||
|
|
#include "OpenCLSDKCpp_Export.h"
|
||
|
|
|
||
|
|
// OpenCL includes
|
||
|
|
#include <CL/opencl.hpp>
|
||
|
|
|
||
|
|
namespace cl {
|
||
|
|
namespace sdk {
|
||
|
|
vector<cl_context_properties>
|
||
|
|
SDKCPP_EXPORT get_interop_context_properties(const cl::Device& plat,
|
||
|
|
cl_int* error = nullptr);
|
||
|
|
|
||
|
|
Context SDKCPP_EXPORT get_interop_context(cl_uint plat_id, cl_uint dev_id,
|
||
|
|
cl_device_type type,
|
||
|
|
cl_int* error = nullptr);
|
||
|
|
}
|
||
|
|
}
|