Expression Templates Library (ETL)
Namespaces | Variables
threshold.hpp File Reference

Contains thresholds to select implementations based on the expression size. More...

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.
 

Variables

constexpr size_t etl::gemm_std_max = 75 * 75
 The maximum number of elements to be handled by std algorithm.
 
constexpr size_t etl::gemm_cublas_min = 180 * 180
 The minimum number or elements before considering cublas.
 
constexpr size_t etl::gemm_rr_small_threshold = 100 * 100
 The number of elements of B after which we use BLAS-like kernel (for GEMM)
 
constexpr size_t etl::gemm_rr_medium_threshold = 400 * 400
 The number of elements of B after which we use BLAS-like kernel (for GEMM)
 
constexpr size_t etl::gemm_nt_rr_small_threshold = 500 * 500
 The number of elements of B after which we use BLAS-like kernel (for GEMM)
 
constexpr size_t etl::gemm_cc_small_threshold = 40000
 The number of elements of B after which we use BLAS-like kernel (for GEMM)
 
constexpr size_t etl::gevm_rm_small_threshold = 72000
 The number of elements of b after which we use BLAS-like kernel.
 
constexpr size_t etl::gevm_cm_small_threshold = 4000000
 The number of elements of b after which we use BLAS-like kernel.
 
constexpr size_t etl::gemv_rm_small_threshold = 4500000
 The number of elements of A after which we use BLAS-like kernel.
 
constexpr size_t etl::gemv_cm_small_threshold = 2400000
 The number of elements of A after which we use BLAS-like kernel.
 
constexpr size_t etl::parallel_threshold = 64 * 1024
 The minimum number of elements before considering parallel implementation.
 
constexpr size_t etl::sum_parallel_threshold = 1024 * 32
 The minimum number of elements before considering parallel acc implementation.
 
constexpr size_t etl::vec_sum_parallel_threshold = 1024 * 128
 The minimum number of elements before considering parallel acc implementation.
 
constexpr size_t etl::conv1_parallel_threshold_conv = 100
 The mimum output size before considering parallel convolution.
 
constexpr size_t etl::conv1_parallel_threshold_kernel = 16
 The mimum kernel size before considering parallel convolution.
 
constexpr size_t etl::fft1_many_threshold_transforms = 16
 The mimum number of transforms to parallelize them.
 
constexpr size_t etl::fft1_many_threshold_n = 768
 The mimum size of the transforms to parallelize them.
 
constexpr size_t etl::fft2_many_threshold_transforms = 16
 The mimum number of transforms to parallelize them.
 
constexpr size_t etl::fft2_many_threshold_n = 1024
 The mimum size of the transforms to parallelize them.
 
constexpr size_t etl::stream_threshold = cache_size
 The threshold at which stream is used.
 

Detailed Description

Contains thresholds to select implementations based on the expression size.