From a47419f95c67665ae67b22de70346ec0a99c7b84 Mon Sep 17 00:00:00 2001 From: Tvrtko Ursulin Date: Tue, 16 May 2017 10:27:45 +0100 Subject: gem_wsim: Fence support Add sync fence dependency support to workload steps. Only one sync fence dependency per step is supported at the moment. Signed-off-by: Tvrtko Ursulin --- benchmarks/wsim/README | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'benchmarks/wsim') diff --git a/benchmarks/wsim/README b/benchmarks/wsim/README index 5d2a90b2..617b1338 100644 --- a/benchmarks/wsim/README +++ b/benchmarks/wsim/README @@ -55,4 +55,30 @@ The above workload described in human language works like this: When workload descriptors are provided on the command line, commas must be used instead of new lines. -Multiple dependencies can be given separated by forward slashes. \ No newline at end of file +Multiple dependencies can be given separated by forward slashes. + +Example: + + 1.VCS1.3000.0.1 + 1.RCS.3700.0.0 + 1.VCS2.2300.-1/-2.0 + +I this case the last step has a data dependency on both first and second steps. + +Sync (fd) fences +---------------- + +Sync fences are also supported as dependencies. + +To use them put a "f" token in the step dependecy list. N is this case the +same relative step offset to the dependee batch, but instead of the data +dependency an output fence will be emitted at the dependee step, and passed in +as a dependency in the current step. + +Example: + + 1.VCS1.3000.0.1 + 1.RCS.500-1000.-1/f-1.0 + +In this case the second step will have both a data dependency and a sync fence +dependency on the previous step. -- cgit v1.2.3