We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5803d12 commit 95b7773Copy full SHA for 95b7773
include/boost/compute/distributed/command_queue.hpp
@@ -231,6 +231,18 @@ class command_queue
231
}
232
233
234
+ /// \internal_
235
+ /// Return true if every device supports at least OpenCL major.minor
236
+ bool check_devices_version(int major, int minor) const
237
+ {
238
+ bool check = true;
239
+ for(size_t i = 0; i < m_queues.size(); i++)
240
241
+ check = check && m_queues[i].get_device().check_version(major, minor);
242
+ }
243
+ return check;
244
245
+
246
private:
247
::boost::compute::distributed::context m_context;
248
std::vector< ::boost::compute::command_queue> m_queues;
0 commit comments