Re: Implications of array broadcasting
Bradley Lucier 07 Nov 2024 20:29 UTC
On 11/6/24 19:26, Alex Shinn wrote:
> Also, even for mappable operations like `array+`, what I've been doing is
> roughly equivalent to:
>
> (define (array+ a b)
> (receive (a b) (array-broadcast-both a b)
> (if (can-use-fast-path? a b)
> (fast-array+ a b)
> (array-map + a b))))
>
> where `fast-array+` is currently BLAS but I plan to move to CUDA.
I'm looking at your github repositories to test what you're doing.
I've built and installed the latest chibi and downloaded the latest
alschemist; how do I test the stuff in linalg.*?
Brad