Convenience library for interfacing with node-opencl
npm install @graphistry/cljsTest CL devices. Also Nvidia GPU mode, with machine-readable output, for env testing purposes.
``sh`
mkdir -p tmp && cd ./tmp
npm install @graphistry/cljs
cd ../ && mv tmp/node_modules/@graphistry/cljs ./cljs
rm -rf ./tmp && cd cljs && rm -rf node_modules && npm install
`sh`
npm test
Test that your machine has at least one Nvidia GPU, and it's the default choice:
`sh`
npm run test:gpu
Or more easily:
`sh``
./test_nvidia_gpu.sh && if [ "$?" == "0" ];
then echo "success"; else echo "failed";
fi