Halide
|
A struct representing the machine parameters to generate the auto-scheduled code for. More...
#include <Pipeline.h>
Public Member Functions | |
MachineParams (int parallelism, uint64_t llc, float balance) | |
std::string | to_string () const |
Convert the MachineParams into canonical string form. More... | |
MachineParams (const std::string &s) | |
Reconstruct a MachineParams from canonical string form. More... | |
Static Public Member Functions | |
static MachineParams | generic () |
Default machine parameters for generic CPU architecture. More... | |
Public Attributes | |
int | parallelism |
Maximum level of parallelism avalaible. More... | |
uint64_t | last_level_cache_size |
Size of the last-level cache (in bytes). More... | |
float | balance |
Indicates how much more expensive is the cost of a load compared to the cost of an arithmetic operation at last level cache. More... | |
A struct representing the machine parameters to generate the auto-scheduled code for.
Definition at line 31 of file Pipeline.h.
|
inlineexplicit |
Definition at line 40 of file Pipeline.h.
|
explicit |
Reconstruct a MachineParams from canonical string form.
|
static |
Default machine parameters for generic CPU architecture.
std::string Halide::MachineParams::to_string | ( | ) | const |
Convert the MachineParams into canonical string form.
int Halide::MachineParams::parallelism |
Maximum level of parallelism avalaible.
Definition at line 33 of file Pipeline.h.
uint64_t Halide::MachineParams::last_level_cache_size |
Size of the last-level cache (in bytes).
Definition at line 35 of file Pipeline.h.
float Halide::MachineParams::balance |
Indicates how much more expensive is the cost of a load compared to the cost of an arithmetic operation at last level cache.
Definition at line 38 of file Pipeline.h.