Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::flow::interface10::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::interface10::opencl_info::available_devices ( )
inline

Definition at line 323 of file flow_graph_opencl_node.h.

323  {
324  // Static storage for all available OpenCL devices on machine
325  static const opencl_device_list my_devices = internal::find_available_devices();
326  return my_devices;
327  }

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

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ default_factory()

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

Definition at line 1200 of file flow_graph_opencl_node.h.

1200  {
1201  static default_opencl_factory default_factory;
1202  return default_factory;
1203 }
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.