1.0.2 • Published 6 years ago
@graphistry/cljs v1.0.2
What is this
Test CL devices. Also Nvidia GPU mode, with machine-readable output, for env testing purposes.
Install source from npm
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
Run tests
npm test
What about them Nvidia GPUs
Test that your machine has at least one Nvidia GPU, and it's the default choice:
npm run test:gpu
Or more easily:
./test_nvidia_gpu.sh && if [ "$?" == "0" ];
then echo "success"; else echo "failed";
fi