-
Notifications
You must be signed in to change notification settings - Fork 3
NVIDIA
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
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