By: dmcq (dmcq.delete@this.fano.co.uk), July 29, 2022 2:24 pm
Room: Moderated Discussions
lkcl (luke.leighton.delete@this.gmail.com) on July 28, 2022 3:38 pm wrote:
> Adrian (a.delete@this.acm.org) on July 25, 2021 9:16 pm wrote:
>
> > This "streaming" mode is actually exactly like the traditional vector computers have operated. For
> > example a Cray-1 had an apparent vector register width of 1024 bits, but the vector operations were
> > computed by a 64-bit pipelined ALU, in multiple clock cycles, i.e. "looping", like you say.
>
> the really nice thing about Cray-style Vectors is the "setvl" instruction.
> you request an arbitrary length (not limited to a power-of-two) and the
> hardware sets VL equal to as much as it can manage.
>
> what i *don't* know - and can't tell even by looking at the pseudocode linked from here:
> https://bugs.libre-soc.org/show_bug.cgi?id=893#c16
>
> is whether the Scalable Matrix Extension can set an arbitrary non-power-of-2
> dimension size. tracking through the pseudocode for CurrentVL to its definition
> goes through a cascading sequence of hoops of other definitions.
>
> can anyone tell for certain if SME can do matrix dimensions of say 7, or 21,
> or 35, as opposed to being specifically restricted to 2/4/8/16/32/... ?
>
> tia,
>
> l.
>
As far as I can see they have two predicates controlling which elements are active in a tile so yes they should be able to do that sort of thing.
> Adrian (a.delete@this.acm.org) on July 25, 2021 9:16 pm wrote:
>
> > This "streaming" mode is actually exactly like the traditional vector computers have operated. For
> > example a Cray-1 had an apparent vector register width of 1024 bits, but the vector operations were
> > computed by a 64-bit pipelined ALU, in multiple clock cycles, i.e. "looping", like you say.
>
> the really nice thing about Cray-style Vectors is the "setvl" instruction.
> you request an arbitrary length (not limited to a power-of-two) and the
> hardware sets VL equal to as much as it can manage.
>
> what i *don't* know - and can't tell even by looking at the pseudocode linked from here:
> https://bugs.libre-soc.org/show_bug.cgi?id=893#c16
>
> is whether the Scalable Matrix Extension can set an arbitrary non-power-of-2
> dimension size. tracking through the pseudocode for CurrentVL to its definition
> goes through a cascading sequence of hoops of other definitions.
>
> can anyone tell for certain if SME can do matrix dimensions of say 7, or 21,
> or 35, as opposed to being specifically restricted to 2/4/8/16/32/... ?
>
> tia,
>
> l.
>
As far as I can see they have two predicates controlling which elements are active in a tile so yes they should be able to do that sort of thing.
Topic | Posted By | Date |
---|---|---|
ARM Scalable Matrix Extension | dmcq | 2021/07/25 05:36 PM |
ARM Scalable Matrix Extension | Adrian | 2021/07/25 09:16 PM |
Sorry, typos | Adrian | 2021/07/25 10:32 PM |
ARM SVE Streaming Mode | Adrian | 2021/07/26 12:21 AM |
ARM SVE Streaming Mode | dmcq | 2021/07/26 04:18 AM |
ARM SVE Streaming Mode | Adrian | 2021/07/26 04:45 AM |
ARM Scalable Matrix Extension | Michael S | 2021/07/26 02:53 AM |
ARM Scalable Matrix Extension | Adrian | 2021/07/26 03:41 AM |
Inner & outer product | Adrian | 2021/07/26 03:52 AM |
ARM Scalable Matrix Extension | Rayla | 2021/07/26 05:08 AM |
ARM Scalable Matrix Extension | dmcq | 2021/07/26 05:38 AM |
ARM Scalable Matrix Extension | Doug S | 2021/07/26 11:38 AM |
ARM Scalable Matrix Extension | Brett | 2021/07/26 01:54 PM |
ARM Scalable Matrix Extension | --- | 2021/07/26 05:48 PM |
ARM Scalable Matrix Extension | dmcq | 2021/07/27 02:39 AM |
ARM Scalable Matrix Extension | Anon | 2021/07/26 06:08 AM |
ARM Scalable Matrix Extension | lkcl | 2022/07/28 03:38 PM |
ARM Scalable Matrix Extension | dmcq | 2022/07/29 02:24 PM |
ARM Scalable Matrix Extension | lkcl | 2022/07/29 03:44 PM |