Lines Matching defs:platforms
183 * Enables device fission for OpenCL 1.2 platforms.
241 std::vector<cl::Platform> platforms;
242 cl::Platform::get(&platforms);
244 for (auto &p : platforms) {
2617 /*! \brief Gets a list of available platforms.
2622 vector<Platform>* platforms)
2626 if( platforms == NULL ) {
2641 if (platforms) {
2642 platforms->resize(ids.size());
2646 (*platforms)[i] = Platform(ids[i]);
2671 * Throws an exception if no platforms are available
2877 vector<Platform> platforms;
2878 error = Platform::get(&platforms);
2887 // Check the platforms we found for a device of our specified type
2889 for (unsigned int i = 0; i < platforms.size(); i++) {
2897 error = platforms[i].getDevices(type, &devices);
2916 platform_id = (cl_context_properties)platforms[i]();