{"id":20435902,"url":"https://github.com/andyneff/cuda_sample_docker","last_synced_at":"2026-02-14T04:53:54.580Z","repository":{"id":90969305,"uuid":"49521292","full_name":"andyneff/cuda_sample_docker","owner":"andyneff","description":null,"archived":false,"fork":false,"pushed_at":"2016-03-01T16:41:32.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T19:43:05.049Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andyneff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-12T18:44:14.000Z","updated_at":"2016-01-12T18:46:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"58ba5372-6030-4beb-bd1f-4adf4bd46fa6","html_url":"https://github.com/andyneff/cuda_sample_docker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyneff%2Fcuda_sample_docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyneff%2Fcuda_sample_docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyneff%2Fcuda_sample_docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyneff%2Fcuda_sample_docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andyneff","download_url":"https://codeload.github.com/andyneff/cuda_sample_docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241982490,"owners_count":20052529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T08:38:21.674Z","updated_at":"2026-02-14T04:53:49.560Z","avatar_url":"https://github.com/andyneff.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README #\n\nSimple example for a docker with cuda support using docker+\n\n## Usage ##\n\n    git clone https://github.com/andyneff/cuda_sample_docker.git .\n    git submodule init\n    git submodule update\n    make\n    make run\n\nNow that you are inside the docker\n\n    cd /usr/local/cuda/samples/1_Utilities/deviceQuery\n    make\n    ./deviceQuery\n\n## FAQ ###\n\n1. What if I want to build a docker with a different version of the nvidia driver\nor cuda library?\n\nWell, be careful on the first part. As far as I know YOU CAN NOT deviate from the\nnvidia driver at all, up or down. It's a bad idea to try. So unless you are just\npre-building images to ship, don't do this. For example:\n\n    make NVIDIA_VERSION=352.55\n\nNow changing versions of cuda, is much... safer. The rule is: Your nvidia driver\ncan support up to a specific version of cuda. It will also work with versions older\nthan that version, but now newer... To make with a specific version of cuda\n\n    make CUDA_VERSION=7.0\n\nThe only reliable way I know to check what the maximum version of cuda your \nnvidia driver will support is to run the deviceQuery sample cuda program, and \nlook at the final lines. Similar to this:\n\n    deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 7.5, CUDA Runtime Version = 5.5, NumDevs = 3, Device0 = Tesla K20c, Device1 = GeForce GTX 580, Device2 = GeForce GTX 680\n    Result = PASS\n\nThis says that while I'm using cuda 5.5 for this test, My nvidia driver \nversion (352.55 in this case) can support up to cuda 7.5. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyneff%2Fcuda_sample_docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandyneff%2Fcuda_sample_docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyneff%2Fcuda_sample_docker/lists"}