load'pacman' 'install' jpkg 'math/arrayfire' load '~addons/math/arrayfire/arrayfire.ijs' init_jaf_ 'cpu' |need to set lib: assert
What step am I missing here? man_jaf_ 'intro' had said: cpu - always available and uses cpu memory and cores So perhaps this is unintended behavior? Thanks, -- Raul On Tue, Jan 25, 2022 at 10:57 AM Eric Iverson <[email protected]> wrote: > > ~addons/math/arrayfire is a new addon for J903 and later. > > The addon allows high performance computing of matrix product > and many other mathematical array operations. Multiple cpu > cores and hardware such as Nvidia gpus are used as appropriate. > > Browse https://arrayfire.org for more info. > > The addon will prompt you for the ArrayFire software install if > it is not already installed. > > Use pacman to install the addon. For example, > load'pacman' > 'install' jpkg 'math/arrayfire' > > Get started: > load '~addons/math/arrayfire/arrayfire.ijs' > man_jaf_ 'intro' > ... > init_jaf_ 'cpu' > tut_jaf_ 'basic' NB. run basic tutorial > ... > man_jaf_ 'credits' NB. credit to some J-ArrayFire pioneers > ... > > *** preliminary version > We think this is an important step for J in high performance computing. > If this proves to be the case, Jsoftware will actively pursue further > development in this area. > > *** from the addon description > cd bindings and utilities for ArrayFire shared library > > https://arrayfire.org > > "ArrayFire is a high performance software library for > parallel computing with an easy-to-use API. Its array based > function set makes parallel programming more accessible." > > J-ArrayFire cd bindings make it easy to have > high performance computing for things like matrix multiply > with cpu cores, Nvidia gpus, and opencl. > *** > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
