Expression Templates Library (ETL)
Namespaces | Enumerations | Functions
conv_select.hpp File Reference

Contains selectors for convolution implementations. More...

#include "conv_normal_select.hpp"
#include "conv_multi_select.hpp"
#include "conv_4d_select.hpp"
Include dependency graph for conv_select.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 etl
 Root namespace for the ETL library.
 

Enumerations

enum  etl::conv_type {
  etl::conv_type::VALID, etl::conv_type::VALID_MULTI, etl::conv_type::SAME, etl::conv_type::SAME_MULTI,
  etl::conv_type::FULL, etl::conv_type::FULL_MULTI
}
 Enumeration describing the different types of convolution. More...
 

Functions

template<typename I , typename K , typename C >
bool etl::detail::select_parallel (const I &, const K &kernel, C &&conv)
 Test if ETL should run in parallel for the conv of I and K in C. More...
 

Detailed Description

Contains selectors for convolution implementations.

Function Documentation

◆ select_parallel()

template<typename I , typename K , typename C >
bool etl::detail::select_parallel ( const I &  ,
const K &  kernel,
C &&  conv 
)
inline

Test if ETL should run in parallel for the conv of I and K in C.

Template Parameters
IThe input type
KThe kernel type
CThe conv type
Returns
true to run in paralle, false otherwise