Home
last modified time | relevance | path

Searched defs:ThreadCostModel (Results 1 – 1 of 1) sorted by relevance

/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/
Dthread_cost_model.h33 struct ThreadCostModel { struct
34 static float UnitCost(const ThreadCostContext *thread_cost_context) { in UnitCost()
40 static float TotalCost(const ThreadCostContext *thread_cost_context) { in TotalCost()
46 static float ParallelDegree(const ThreadCostContext *thread_cost_context) { in ParallelDegree()
50 static int ThreadNum(const ThreadCostContext *thread_cost_context) { in ThreadNum()
55 static int64_t ThreadBlockSize(const ThreadCostContext *thread_cost_context) { in ThreadBlockSize()
60 static float per_unit_load_cost_; // per unit load cost
61 static float per_unit_store_cost_; // per unit store cost
62 static int64_t per_unit_compute_num_; // per unit compute num
64 static float thread_startup_cost_; // thread startup inherent cost
[all …]