(no commit message)
authorlkcl <lkcl@web>
Thu, 14 Oct 2021 17:05:26 +0000 (18:05 +0100)
committerIkiWiki <ikiwiki.info>
Thu, 14 Oct 2021 17:05:26 +0000 (18:05 +0100)
3d_gpu/architecture/dynamic_simd/shape.mdwn

index e3520230799deba0d55c878d6bbd610f28402c1b..ba466150845f170a8989a6a6fdcfbf42c42d2a53 100644 (file)
@@ -251,6 +251,7 @@ Interfacing to SimdSignal requires an adapter that:
 SimdShape needs:
 
 * a constructor taking the following arguments:
+  - (mandatory) an elwidth Signal
   - (optional) an integer vector width or a dictionary of vector widths
     (the keys to be the "elwidth")
   - (mandatory) a dictionary of "partition counts":
@@ -264,7 +265,11 @@ SimdShape needs:
   integer arguments and perform the computations on *every*
   one of the dictionary of Vector widths (examples below)
 * a "recalculate" function (currently known as layout() in
-  layout_experimeny.py) which 
+  layout_experiment.py) which creates information required
+  by PartitionedSignal.
 * a function which computes and returns a suite of PartitionPoints
   as well as an "Adapter" instance, for use by PartitionedSignal
 
+Examples of the operator usage:
+
+    x = SimdShape(