You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bviktor edited this page Jan 2, 2020
·
2 revisions
To install just the NVIDIA driver:
sudo ansible-playbook ansible/nvidia.yml
To install the NVIDIA driver and CUDA as well:
sudo ansible-playbook ansible/cuda.yml
Testing
simpleVulkan is a great sample to test GPU, compiler, and CUDA functionality, as it involves many components to be set up correctly.
cp -R /usr/local/cuda/samples/2_Graphics/simpleVulkan ~
cd ~/simpleVulkan
sed -Ei 's@(^INCLUDES\s*:=\s*-I).*(/common/inc$)@\1$(CUDA_PATH)/samples/\2@' Makefile
sed -i 's@.*$(EXEC).*../../bin.*@@' Makefile
make
./simpleVulkan