mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-04-20 08:24:44 +00:00
Too many changes to list, but broadly: * Remove Intel GPU support from the compiler * Add AMD GPU support to the compiler * Remove Intel GPU host code * Add AMD GPU host code * More device instructions. From 40 to 68 * More host functions. From 48 to 184 * Add proof of concept implementation of OptiX framework * Add minimal support of cuDNN, cuBLAS, cuSPARSE, cuFFT, NCCL, NVML * Improve ZLUDA launcher for Windows
39 lines
No EOL
985 B
JSON
39 lines
No EOL
985 B
JSON
// For format details, see https://aka.ms/devcontainer.json
|
|
{
|
|
"name": "ZLUDA",
|
|
"build": {
|
|
"dockerfile": "Dockerfile"
|
|
},
|
|
"securityOpt": [
|
|
"seccomp=unconfined"
|
|
],
|
|
// Make NVIDIA and AMD GPUs available
|
|
"runArgs": [
|
|
// Uncomment on newer docker/podman
|
|
//"--runtime=nvidia",
|
|
"--device=/dev/kfd",
|
|
"--device=/dev/dri",
|
|
"--group-add=video"
|
|
],
|
|
// Cache cargo packages and compiled ZLUDA kernels
|
|
"initializeCommand": "mkdir -p ${localEnv:HOME}/.cargo/git ${localEnv:HOME}/.cargo/registry ${localEnv:HOME}/.cache/ZLUDA",
|
|
"mounts": [
|
|
{
|
|
"source": "${localEnv:HOME}/.cargo/git",
|
|
"target": "/root/.cargo/git",
|
|
"type": "bind"
|
|
},
|
|
{
|
|
"source": "${localEnv:HOME}/.cargo/registry",
|
|
"target": "/root/.cargo/registry",
|
|
"type": "bind"
|
|
},
|
|
{
|
|
"source": "${localEnv:HOME}/.cache/ZLUDA",
|
|
"target": "/root/.cache/ZLUDA",
|
|
"type": "bind"
|
|
}
|
|
],
|
|
// Rootless docker requires logging as root: https://aka.ms/dev-containers-non-root.
|
|
"remoteUser": "root"
|
|
} |