diff options
author | Andrzej Janik <[email protected]> | 2024-10-16 03:15:48 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-16 03:15:48 +0200 |
commit | 3870a96592c6a93d3a68391f6cbaecd9c7a2bc97 (patch) | |
tree | 77faf858cfa48c618e18f058046165af949e3929 /.devcontainer/devcontainer.json | |
parent | 1a63ef62b7ec47e5d55c1437641169a60f225eae (diff) | |
download | ZLUDA-3870a96592c6a93d3a68391f6cbaecd9c7a2bc97.tar.gz ZLUDA-3870a96592c6a93d3a68391f6cbaecd9c7a2bc97.zip |
Re-enable all failing PTX tests (#277)
Additionally remove unused compilation paths
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r-- | .devcontainer/devcontainer.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..7cae35a --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,34 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/rust +{ + "name": "zluda", + "build": { + "dockerfile": "Dockerfile" + }, + "securityOpt": [ "seccomp=unconfined" ], + "runArgs": [ + "--runtime=nvidia", + "--device=/dev/kfd", + "--device=/dev/dri", + "--group-add=video" + ], + "mounts": [ + { + "source": "${localEnv:HOME}/.cargo/", + "target": "/root/.cargo", + "type": "bind" + } + ], + // https://containers.dev/features. + "features": { + "ghcr.io/devcontainers/features/rust:1": {} + }, + // https://aka.ms/dev-containers-non-root. + "remoteUser": "root", + //"hostRequirements": { "gpu": "optional" } + "customizations": { + "vscode": { + "extensions": [ "mhutchie.git-graph" ], + } +} +} |