Lines Matching refs:Platform
102 * std::vector<cl::Platform> platforms;
103 * cl::Platform::get(&platforms);
105 * std::cout << "Platform size 0\n";
2213 class Platform : public detail::Wrapper<cl_platform_id>
2217 Platform() : detail::Wrapper<cl_type>() { }
2223 __CL_EXPLICIT_CONSTRUCTORS Platform(const cl_platform_id &platform) : detail::Wrapper<cl_type>(platform) { }
2229 Platform& operator = (const cl_platform_id& rhs)
2366 VECTOR_CLASS<Platform>* platforms)
2395 Platform * platform)
2423 static Platform get(
2426 Platform platform;
2434 return Platform();
2446 return Platform();
2450 return Platform(ids[0]);
2453 static Platform getDefault(
2468 }; // class Platform
2476 * \note Deprecated for OpenCL 1.2. Use Platform::unloadCompiler instead.
2590 VECTOR_CLASS<Platform> platforms;
2591 error = Platform::get(&platforms);