<commit_before>//=======================================================================
// Copyright (c) 2014-2016 <NAME>
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
//  http://opensource.org/licenses/MIT)
//=======================================================================

/*!
 * \file
 * \brief Contains thresholds to select implementations based
 * on the expression size
 */

#pragma once

namespace etl {

constexpr const std::size_t gemm_std_max    = 75 * 75;   ///< The maximum number of elements to be handled by std algorithm
constexpr const std::size_t gemm_cublas_min = 180 * 180; ///< The minimum number or elements before considering cublas

constexpr const std::size_t parallel_threshold = 1024; ///< The minimum number of elements before considering parallel implementation

constexpr const std::size_t sum_parallel_threshold = 1024 * 32; ///< The minimum number of elements before considering parallel acc implementation

constexpr const std::size_t conv1_parallel_threshold_conv   = 100; ///< The mimum output size before considering parallel convolution
constexpr const std::size_t conv1_parallel_threshold_kernel = 16;  ///< The mimum kernel size before considering parallel convolution

constexpr const std::size_t fft1_many_threshold_transforms = 16;  ///< The mimum number of transforms to parallelize them
constexpr const std::size_t fft1_many_threshold_n          = 768; ///< The mimum size of the transforms to parallelize them

constexpr const std::size_t fft2_many_threshold_transforms = 16;   ///< The mimum number of transforms to parallelize them
constexpr const std::size_t fft2_many_threshold_n          = 1024; ///< The mimum size of the transforms to parallelize them

} //end of namespace etl<commit_msg>Higher parallel threshold<commit_after>//=======================================================================
// Copyright (c) 2014-2016 <NAME>
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
//  http://opensource.org/licenses/MIT)
//=======================================================================

/*!
 * \file
 * \brief Contains thresholds to select implementations based
 * on the expression size
 */

#pragma once

namespace etl {

constexpr const std::size_t gemm_std_max    = 75 * 75;   ///< The maximum number of elements to be handled by std algorithm
constexpr const std::size_t gemm_cublas_min = 180 * 180; ///< The minimum number or elements before considering cublas

constexpr const std::size_t parallel_threshold = 128 * 1024; ///< The minimum number of elements before considering parallel implementation

constexpr const std::size_t sum_parallel_threshold = 1024 * 32; ///< The minimum number of elements before considering parallel acc implementation

constexpr const std::size_t conv1_parallel_threshold_conv   = 100; ///< The mimum output size before considering parallel convolution
constexpr const std::size_t conv1_parallel_threshold_kernel = 16;  ///< The mimum kernel size before considering parallel convolution

constexpr const std::size_t fft1_many_threshold_transforms = 16;  ///< The mimum number of transforms to parallelize them
constexpr const std::size_t fft1_many_threshold_n          = 768; ///< The mimum size of the transforms to parallelize them

constexpr const std::size_t fft2_many_threshold_transforms = 16;   ///< The mimum number of transforms to parallelize them
constexpr const std::size_t fft2_many_threshold_n          = 1024; ///< The mimum size of the transforms to parallelize them

} //end of namespace etl
{'fraction_non_alphanumeric': 0.14905973451327434, 'fraction_numerical': 0.028484513274336282, 'mean_word_length': 4.696062992125984, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3796111', 'n_tokens_mistral': 1018, 'n_tokens_neox': 881, 'n_words': 366}