Home | History | Annotate | Download | only in src

Lines Matching defs:Platform

828     (cl_platform_id platform, cl_platform_info param_name,
831 (platform, param_name, param_value_size, param_value, param_value_size_ret))
843 (cl_platform_id platform,
848 (platform, device_type, num_entries, devices, num_devices))
1680 /////////////////////////////////////////// Platform /////////////////////////////////////////////
1682 struct Platform::Impl
1721 Platform::Platform()
1726 Platform::~Platform()
1732 Platform::Platform(const Platform& pl)
1739 Platform& Platform::operator = (const Platform& pl)
1750 void* Platform::ptr() const
1755 Platform& Platform::getDefault()
1757 static Platform p;
2215 // Layout: <Platform>:<CPU|GPU|ACCELERATOR|nothing=GPU/CPU>:<deviceName>
2220 std::string& platform, std::vector<std::string>& deviceTypes, std::string& deviceNameOrID)
2237 platform = parts[0];
2250 std::string platform, deviceName;
2256 !parseOpenCLDeviceConfiguration(std::string(configuration), platform, deviceTypes, deviceName)
2299 if (platform.length() > 0)
2305 if (name.find(platform) != std::string::npos)
2313 std::cerr << "ERROR: Can't find OpenCL platform by name: " << platform << std::endl;
2390 << " Platform: " << (platform.length() == 0 ? "any" : platform) << std::endl
2521 cl_platform_id pl = (cl_platform_id)Platform::getDefault().ptr();
2848 // In its turn, Platform::getContext() may call Context::create()
2929 void initializeContextFromHandle(Context& ctx, void* platform, void* _context, void* _device)
2946 Platform& p = Platform::getDefault();
2947 Platform::Impl* pImpl = p.p;
2948 pImpl->handle = (cl_platform_id)platform;
5171 static void getDevices(std::vector<cl_device_id>& devices, cl_platform_id platform)
5174 CV_OclDbgAssert(clGetDeviceIDs(platform, (cl_device_type)Device::TYPE_ALL,
5184 CV_OclDbgAssert(clGetDeviceIDs(platform, (cl_device_type)Device::TYPE_ALL,
5608 // run on OpenCL 1.1 platform if library binaries are compiled with OpenCL 1.2 support