![]() |
|
#include <TensorCostModel.h>
Static Public Member Functions | |
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int | numThreads (double output_size, const TensorOpCost &cost_per_coeff, int max_threads) |
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double | taskSize (double output_size, const TensorOpCost &cost_per_coeff) |
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double | totalCost (double output_size, const TensorOpCost &cost_per_coeff) |
Static Public Attributes | |
static const int | kDeviceCyclesPerComputeCycle = 1 |
static const int | kStartupCycles = 100000 |
static const int | kPerThreadCycles = 100000 |
static const int | kTaskSize = 40000 |
|
inlinestatic |
References Eigen::TensorCostModel< Device >::kPerThreadCycles, Eigen::TensorCostModel< Device >::kStartupCycles, Eigen::numext::mini(), and Eigen::TensorCostModel< Device >::totalCost().
|
inlinestatic |
|
inlinestatic |
References Eigen::TensorCostModel< Device >::kDeviceCyclesPerComputeCycle, and Eigen::TensorOpCost::total_cost().
Referenced by Eigen::TensorCostModel< Device >::numThreads(), and Eigen::TensorCostModel< Device >::taskSize().
|
static |
Referenced by Eigen::TensorCostModel< Device >::totalCost().
|
static |
Referenced by Eigen::TensorCostModel< Device >::numThreads().
|
static |
Referenced by Eigen::TensorCostModel< Device >::numThreads().
|
static |
Referenced by Eigen::TensorCostModel< Device >::taskSize().