Home ⌂Doc Index ◂Up ▴
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 337 of file flow_graph_opencl_node.h.

337  {
338  // Static storage for all available OpenCL devices on machine
339  static const opencl_device_list my_devices = internal::find_available_devices();
340  return my_devices;
341  }

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

Referenced by tbb::flow::interface11::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::interface11::opencl_info::default_factory ( )
inline

Definition at line 1217 of file flow_graph_opencl_node.h.

1217  {
1218  static default_opencl_factory default_factory;
1219  return default_factory;
1220 }
default_opencl_factory & default_factory()

Copyright © 2005-2020 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.