Jan-Pieter,
Thanks for your feedback. Your fixes will be in the next version.

I have not tested with opencl and will get to that shortly.  I thought of
this as primarily a way to use nvidia gpus. But the cpu support works well
and so probably does opencl.

Not sure where this leads. Probably not more integrated than can be
achieved by just cleaning up and completing the addon.

It means that if you hit a performance wall (e.g., large matrix products)
with straight J, you now have a new and powerful tool in your kit bag.

On Thu, Jan 27, 2022 at 10:32 AM Eric Iverson <eric.b.iver...@gmail.com>
wrote:

> Jan-Pieter,
> ArrayFire uses a modified CSR from the wikipedia documentation. Instead of
> just counts it has +/\ counts. It also has a leading 0 and a trailing value.
>
> On Thu, Jan 27, 2022 at 3:50 AM Jan-Pieter Jacobs <
> janpieter.jac...@gmail.com> wrote:
>
>> Thanks for the explanation Hauke.
>> I guess that shows that I never studied computer science. I expected rows
>> and cols to just be indices of the non-zero items, as 4&$. returns for J's
>> sparse arrays.
>> Anyone else wondering can refer to
>> https://en.m.wikipedia.org/wiki/Sparse_matrix where the CRS storage is
>> explained a little more.
>>
>> Jan-Pieter
>>
>> On Thu, Jan 27, 2022, 01:29 Hauke Rehr <hauke.r...@uni-jena.de> wrote:
>>
>> > should have read
>> > the first entry in row x …
>> > where x is the index of the number in list rows,
>> > and n is that number
>> >
>> > Am 27.01.22 um 01:25 schrieb Hauke Rehr:
>> > > rows says: the first entry in col x is the n-th entry in values
>> >
>> > --
>> > ----------------------
>> > mail written using NEO
>> > neo-layout.org
>> >
>> > ----------------------------------------------------------------------
>> > For information about J forums see http://www.jsoftware.com/forums.htm
>> >
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to