From: lkcl Date: Thu, 14 Oct 2021 17:10:31 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~3626 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cee1df914ad93b0bee44908ee6b7655081b20002;p=libreriscv.git --- diff --git a/3d_gpu/architecture/dynamic_simd/shape.mdwn b/3d_gpu/architecture/dynamic_simd/shape.mdwn index ba4661508..e501cb545 100644 --- a/3d_gpu/architecture/dynamic_simd/shape.mdwn +++ b/3d_gpu/architecture/dynamic_simd/shape.mdwn @@ -272,4 +272,13 @@ SimdShape needs: Examples of the operator usage: - x = SimdShape( + x = SimdShape(vec_op_widths={0b00: 64, 0b01:32, 0b10: 16}) + y = x + 5 + print(y.vec_op_widths) + {0b00: 69, 0b01: 37, 0b10: 21} + +In other words, when requesting 5 to be added to x, every single +one of the Vector Element widths had 5 added to it. If the +partition counts were 2x for 0b00 and 4x for 0b01 then this +would create 2x 69-bit and 4x 37-bit Vector Elements. +