Searched defs:ThreadCostModel (Results 1 – 1 of 1) sorted by relevance
33 struct ThreadCostModel { struct34 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 cost61 static float per_unit_store_cost_; // per unit store cost62 static int64_t per_unit_compute_num_; // per unit compute num64 static float thread_startup_cost_; // thread startup inherent cost[all …]