summaryrefslogtreecommitdiff
path: root/benchmarks/wsim
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2017-05-16 10:27:45 +0100
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2017-05-16 10:27:45 +0100
commita47419f95c67665ae67b22de70346ec0a99c7b84 (patch)
tree70406cafe91868124646fef81e363e8b00b482a5 /benchmarks/wsim
parent26a5e655883f2b0a2ff903cb24e40d6e2570dbe3 (diff)
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 <tvrtko.ursulin@intel.com>
Diffstat (limited to 'benchmarks/wsim')
-rw-r--r--benchmarks/wsim/README28
1 files changed, 27 insertions, 1 deletions
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<N>" 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.