Skip to content

flow-lab/docker-cuda-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-cuda-test

This is a test CUDA application that is build and run in docker. Use it for testing the CUDA docker setup.

# before running docker get latest tag
TAG=$(git describe --tags --abbrev=0)

# show driver details
docker run -it --gpus all flowlab/docker-cuda-test:${TAG} nvidia-smi

# run
docker run -it --gpus all flowlab/docker-cuda-test:${TAG}

# Example nvidia-smi
docker run -it --gpus all flowlab/docker-cuda-test:0.9.0 nvidia-smi

# Example code run
docker run -it --gpus all flowlab/docker-cuda-test:0.9.0