Merge pull request #1824 from vpisarev:ocl_experiments5
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
#define __OPENCV_OCL_PRIVATE_UTIL__
|
||||
|
||||
#include "opencv2/ocl/cl_runtime/cl_runtime.hpp"
|
||||
#include "opencv2/core/ocl_genbase.hpp"
|
||||
|
||||
#include "opencv2/ocl.hpp"
|
||||
|
||||
@@ -55,13 +56,6 @@ namespace cv
|
||||
namespace ocl
|
||||
{
|
||||
|
||||
struct ProgramEntry
|
||||
{
|
||||
const char* name;
|
||||
const char* programStr;
|
||||
const char* programHash;
|
||||
};
|
||||
|
||||
inline cl_device_id getClDeviceID(const Context *ctx)
|
||||
{
|
||||
return *(cl_device_id*)(ctx->getOpenCLDeviceIDPtr());
|
||||
|
Reference in New Issue
Block a user