ResourceRequirements
ResourceRequirements
Section titled “ResourceRequirements”#include <xalgospp/scheduling/task.hh>struct ResourceRequirementsDefined in src/lib/xalgospp/scheduling/task.hh:39
A representation of resource availability and concurrency tokens for task throttling.
List of all members
Section titled “List of all members”| Name | Kind | Owner |
|---|---|---|
memory_intensity |
variable |
Declared here |
requires_gpu |
variable |
Declared here |
custom_slots |
variable |
Declared here |
Public Attributes
Section titled “Public Attributes”| Return | Name | Description |
|---|---|---|
std::size_t |
memory_intensity |
A memory usage footprint multiplier for calculating memory intensity. |
bool |
requires_gpu |
Whether host/device bound. |
std::size_t |
custom_slots |
Additional resources like IO slots. |
memory_intensity
Section titled “memory_intensity”std::size_t memory_intensity { 1 }Defined in src/lib/xalgospp/scheduling/task.hh:47
A memory usage footprint multiplier for calculating memory intensity.
The value is an integer multiplier (best estimate) for the memory usage of this Task as a multiple of the input data size in bytes. E.g., a value of 8 requires memory use equal to 8x the input data size.
requires_gpu
Section titled “requires_gpu”bool requires_gpu { false }Defined in src/lib/xalgospp/scheduling/task.hh:48
Whether host/device bound.
custom_slots
Section titled “custom_slots”std::size_t custom_slots { 0 }Defined in src/lib/xalgospp/scheduling/task.hh:49
Additional resources like IO slots.