aboutsummaryrefslogtreecommitdiffstats
path: root/mppa_k1c/InstructionScheduler.mli
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-01-08 11:27:04 +0100
committerCyril SIX <cyril.six@kalray.eu>2019-01-08 11:27:04 +0100
commitbc5f8909e299163b7daa7f363c84f1e3524ff270 (patch)
tree9519cd5d69be77621e2545dc19c5f703903a34b2 /mppa_k1c/InstructionScheduler.mli
parent3f21b462519363cd082a500004d3a7af0699d61d (diff)
downloadcompcert-kvx-bc5f8909e299163b7daa7f363c84f1e3524ff270.tar.gz
compcert-kvx-bc5f8909e299163b7daa7f363c84f1e3524ff270.zip
Fixed warnings in InstructionScheduler
Diffstat (limited to 'mppa_k1c/InstructionScheduler.mli')
-rw-r--r--mppa_k1c/InstructionScheduler.mli7
1 files changed, 4 insertions, 3 deletions
diff --git a/mppa_k1c/InstructionScheduler.mli b/mppa_k1c/InstructionScheduler.mli
index 507a4cac..aea5e909 100644
--- a/mppa_k1c/InstructionScheduler.mli
+++ b/mppa_k1c/InstructionScheduler.mli
@@ -11,18 +11,19 @@ type latency_constraint = {
instr_to : int;
latency : int;
}
+
(** A scheduling problem.
In addition to the latency constraints, the resource constraints should be satisfied: at every clock tick, the sum of vectors of resources used by the instructions scheduled at that tick does not exceed the resource bounds.
*)
type problem = {
- (** An optional maximal total latency of the problem, after which the problem is deemed not schedulable. -1 means there should be no maximum. *)
+ (* An optional maximal total latency of the problem, after which the problem is deemed not schedulable. -1 means there should be no maximum. *)
max_latency : int;
- (** An array of number of units available indexed by the kind of resources to be allocated. It can be empty, in which case the problem is scheduling without resource constraints. *)
+ (* An array of number of units available indexed by the kind of resources to be allocated. It can be empty, in which case the problem is scheduling without resource constraints. *)
resource_bounds : int array;
- (** At index {i i} the vector of resources used by instruction number {i i}. It must be the same length as [resource_bounds] *)
+ (* At index {i i} the vector of resources used by instruction number {i i}. It must be the same length as [resource_bounds] *)
instruction_usages: int array array;
latency_constraints : latency_constraint list
};;