#[repr(C)]pub struct starpu_perfmodel_per_arch {
pub cost_function: starpu_perfmodel_per_arch_cost_function,
pub size_base: starpu_perfmodel_per_arch_size_base,
pub history: *mut starpu_perfmodel_history_table,
pub list: *mut starpu_perfmodel_history_list,
pub regression: starpu_perfmodel_regression_model,
pub debug_path: [c_char; 256],
}Expand description
information about the performance model of a given arch.
Fields§
§cost_function: starpu_perfmodel_per_arch_cost_functionUsed by ::STARPU_PER_ARCH, must point to functions which take a task, the target arch and implementation number (as mere conveniency, since the array is already indexed by these), and must return a task duration estimation in micro-seconds.
size_base: starpu_perfmodel_per_arch_size_baseSame as in structure starpu_perfmodel, but per-arch, in case it depends on the architecture-specific implementation.
history: *mut starpu_perfmodel_history_table\private The history of performance measurements.
list: *mut starpu_perfmodel_history_list\private Used by ::STARPU_HISTORY_BASED, ::STARPU_NL_REGRESSION_BASED and ::STARPU_MULTIPLE_REGRESSION_BASED, records all execution history measures.
regression: starpu_perfmodel_regression_model\private Used by ::STARPU_REGRESSION_BASED, ::STARPU_NL_REGRESSION_BASED and ::STARPU_MULTIPLE_REGRESSION_BASED, contains the estimated factors of the regression.
debug_path: [c_char; 256]Trait Implementations§
Source§impl Clone for starpu_perfmodel_per_arch
impl Clone for starpu_perfmodel_per_arch
Source§fn clone(&self) -> starpu_perfmodel_per_arch
fn clone(&self) -> starpu_perfmodel_per_arch
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more