Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::flow::interface11::opencl_info Namespace Reference

Classes

struct  default_device_filter
 
struct  default_device_selector
 
class  default_opencl_factory
 

Functions

const opencl_device_listavailable_devices ()
 
default_opencl_factorydefault_factory ()
 

Function Documentation

◆ available_devices()

const opencl_device_list& tbb::flow::interface11::opencl_info::available_devices ( )
inline

Definition at line 326 of file flow_graph_opencl_node.h.

References tbb::flow::interface11::internal::find_available_devices().

Referenced by tbb::flow::interface11::opencl_factory< default_device_filter >::init_once().

326  {
327  // Static storage for all available OpenCL devices on machine
328  static const opencl_device_list my_devices = internal::find_available_devices();
329  return my_devices;
330  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ default_factory()

default_opencl_factory& tbb::flow::interface11::opencl_info::default_factory ( )
inline

Definition at line 1203 of file flow_graph_opencl_node.h.

1203  {
1204  static default_opencl_factory default_factory;
1205  return default_factory;
1206 }
default_opencl_factory & default_factory()

Copyright © 2005-2019 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.