forked from NVIDIA/cccl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
83 lines (83 loc) · 3.6 KB
/
Copy pathdevcontainer.json
File metadata and controls
83 lines (83 loc) · 3.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"shutdownAction": "stopContainer",
"image": "rapidsai/devcontainers:26.08-cpp-gcc15-cuda13.3",
"runArgs": [
"--init",
"--name",
"${localEnv:USER:anon}-${localWorkspaceFolderBasename}-cuda13.3-gcc15",
"--ulimit",
"nofile=500000"
],
"hostRequirements": {
"gpu": "optional"
},
"initializeCommand": [
"/bin/bash",
"-c",
"set -euo pipefail; mkdir -m 0755 -p \"${localWorkspaceFolder}\"/.{aws,cache,config}; mkdir -m 0755 -p \"${localWorkspaceFolder}\"/{build,wheelhouse}; if test -z \"${localEnv:WSLENV}\"; then docker volume create --driver local --opt type=none --opt \"device=${localWorkspaceFolder}/build\" --opt o=bind cccl-build >/dev/null; docker volume create --driver local --opt type=none --opt \"device=${localWorkspaceFolder}/wheelhouse\" --opt o=bind cccl-wheelhouse >/dev/null; else docker volume create cccl-build >/dev/null; docker volume create cccl-wheelhouse >/dev/null; fi;"
],
"postAttachCommand": [
"/bin/bash",
"-c",
"if [ ${CODESPACES:-false} = 'true' ]; then . devcontainer-utils-post-attach-command; fi"
],
"containerEnv": {
"AWS_IDP_URL": "https://token.rapids.nvidia.com",
"AWS_ROLE_ARN": "arn:aws:iam::279114543810:role/rapids-token-sccache-devs",
"CI": "${localEnv:CI}",
"NVCC_APPEND_FLAGS": "-t=100",
"SCCACHE_BUCKET": "rapids-sccache-devs",
"SCCACHE_DIST_FALLBACK_TO_LOCAL_COMPILE": "${localEnv:SCCACHE_DIST_FALLBACK_TO_LOCAL_COMPILE:true}",
"SCCACHE_DIST_MAX_RETRIES": "${localEnv:SCCACHE_DIST_MAX_RETRIES:4}",
"SCCACHE_DIST_REQUEST_TIMEOUT": "${localEnv:SCCACHE_DIST_REQUEST_TIMEOUT:7140}",
"SCCACHE_IDLE_TIMEOUT": "${localEnv:SCCACHE_IDLE_TIMEOUT:0}",
"SCCACHE_REGION": "us-east-2",
"SCCACHE_S3_PREPROCESSOR_CACHE_KEY_PREFIX": "cccl-preprocessor-cache",
"SCCACHE_S3_USE_PREPROCESSOR_CACHE_MODE": "true",
"SCCACHE_SERVER_LOG": "${localEnv:SCCACHE_SERVER_LOG:sccache=debug}",
"HISTFILE": "${containerWorkspaceFolder}/.cache/._bash_history",
"DEVCONTAINER_NAME": "cuda13.3-gcc15",
"DEVCONTAINER_UTILS_ENABLE_SCCACHE_DIST": "1",
"CCCL_CUDA_VERSION": "13.3",
"CCCL_HOST_COMPILER": "gcc",
"CCCL_HOST_COMPILER_VERSION": "15",
"CCCL_BUILD_INFIX": "cuda13.3-gcc15",
"CCCL_CUDA_EXTENDED": "false",
"HOST_WORKSPACE": "${localWorkspaceFolder}"
},
"workspaceFolder": "/home/coder/cccl",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/cccl,type=bind",
"mounts": [
"source=/etc/timezone,target=/etc/timezone,type=bind",
"source=/etc/localtime,target=/etc/localtime,type=bind",
"source=${localWorkspaceFolder}/.aws,target=/home/coder/.aws,type=bind",
"source=${localWorkspaceFolder}/.cache,target=/home/coder/.cache,type=bind",
"source=${localWorkspaceFolder}/.config,target=/home/coder/.config,type=bind",
"source=cccl-build,target=/home/coder/cccl/build",
"source=cccl-wheelhouse,target=/home/coder/cccl/wheelhouse"
],
"customizations": {
"vscode": {
"extensions": [
"llvm-vs-code-extensions.vscode-clangd",
"seaube.clangformat",
"nvidia.nsight-vscode-edition",
"ms-vscode.cmake-tools",
"timonwong.shellcheck"
],
"settings": {
"editor.defaultFormatter": "seaube.clangformat",
"editor.formatOnSave": true,
"clang-format.executable": "/usr/bin/clang-format",
"clangd.arguments": [
"--header-insertion=never",
"--compile-commands-dir=${workspaceFolder}"
],
"files.eol": "\n",
"files.trimTrailingWhitespace": true,
"shellcheck.useWorkspaceRootAsCwd": true
}
}
},
"name": "cuda13.3-gcc15"
}