1 | initial version |
I think it's not possible in current implementation because nd= 1;
in function Impl(int dtype0) called by ocl::createContext
I think a post must exist about this
2 | No.2 Revision |
I think it's not possible in current implementation because nd= 1;
in function Impl(int dtype0) called by ocl::createContext
and opencv detect first one
I think a post must exist about this
3 | No.3 Revision |
I think it's not possible in current implementation because nd= 1;
in function Impl(int dtype0) called by ocl::createContext
and opencv detect first one
I think a post must exist about this
It's difficult to test for me because I have got only one context but may be you con read doc and try to set your own context
4 | No.4 Revision |
I think it's not possible in current implementation because nd= 1;
in function Impl(int dtype0) called by ocl::createContext
and opencv detect first one
I think a post must exist about this[Try with] to check device in your system (http://answers.opencv.org/question/59115/opencv-30-beta-and-opencl-setdevice/) :
std::vector<cv::ocl::PlatformInfo> platforms;
cv::ocl::getPlatfomsInfo(platforms);
//OpenCL Platforms
for (size_t i = 0; i < platforms.size(); i++)
{
//Access to Platform
const cv::ocl::PlatformInfo* platform = &platforms[i];
//Platform Name
std::cout << "Platform Name: " << platform->name().c_str() << "\n";
//Access Device within Platform
cv::ocl::Device current_device;
for (int j = 0; j < platform->deviceNumber(); j++)
{
//Access Device
platform->getDevice(current_device, j);
//Device Type
int deviceType = current_device.type();
}
}
It's difficult to test for me because I have got only one context but may be you con read doc and try to set your own context
5 | No.5 Revision |
I think it's not possible in current implementation because nd= 1;
in function Impl(int dtype0) called by ocl::createContext
and opencv detect first one
[Try with] to check device in your system (http://answers.opencv.org/question/59115/opencv-30-beta-and-opencl-setdevice/) :
std::vector<cv::ocl::PlatformInfo> platforms;
cv::ocl::getPlatfomsInfo(platforms);
//OpenCL Platforms
for (size_t i = 0; i < platforms.size(); i++)
{
//Access to Platform
const cv::ocl::PlatformInfo* platform = &platforms[i];
//Platform Name
std::cout << "Platform Name: " << platform->name().c_str() << "\n";
//Access Device within Platform
cv::ocl::Device current_device;
for (int j = 0; j < platform->deviceNumber(); j++)
{
//Access Device
platform->getDevice(current_device, j);
//Device Type
int deviceType = current_device.type();
}
}
}
It's difficult to test for me because I have got only one context but may be you con read doc and try to set your own context