From cee1df914ad93b0bee44908ee6b7655081b20002 Mon Sep 17 00:00:00 2001 From: lkcl Date: Thu, 14 Oct 2021 18:10:31 +0100 Subject: [PATCH] --- 3d_gpu/architecture/dynamic_simd/shape.mdwn | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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. + -- 2.30.2