Skip to content

Commit 34c7bca

Browse files
committed
Unify remoteEnv
1 parent 5fc9eb1 commit 34c7bca

File tree

24 files changed

+88
-74
lines changed

24 files changed

+88
-74
lines changed

.devcontainer/cuda-julia-base/devcontainer.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,19 @@
8686
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-julia-base-root,target=/root,type=bind",
8787
// "workspaceFolder": "/root",
8888

89-
// By default,
90-
// - CUDA will use all available CUDA-capable devices.
91-
// - Julia starts up with a single thread of execution.
92-
// - BLAS/OpenMP will use as many threads as possible.
93-
// Set the following environment variables to control the exact device(s)/number to use.
9489
"remoteEnv": {
90+
// By default, CUDA will use all available CUDA-capable devices.
91+
// Set the following environment variable to control the exact devices to use.
9592
// "CUDA_VISIBLE_DEVICES": "0",
96-
// "JULIA_NUM_THREADS": "1",
93+
//
94+
// By default, BLAS/OpenMP will use as many threads as possible.
95+
// Set the following environment variable to control the exact number to use.
9796
// "OMP_NUM_THREADS": "1",
9897
//
98+
// By default, Julia starts up with a single thread of execution.
99+
// Set the following environment variable to control the exact number to use.
100+
// "JULIA_NUM_THREADS": "1",
101+
//
99102
// Pip: Install packages to the user site
100103
"PIP_USER": "1"
101104
},

.devcontainer/cuda-julia-pubtools/devcontainer.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,19 @@
8888
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-julia-pubtools-root,target=/root,type=bind",
8989
// "workspaceFolder": "/root",
9090

91-
// By default,
92-
// - CUDA will use all available CUDA-capable devices.
93-
// - Julia starts up with a single thread of execution.
94-
// - BLAS/OpenMP will use as many threads as possible.
95-
// Set the following environment variables to control the exact device(s)/number to use.
9691
"remoteEnv": {
92+
// By default, CUDA will use all available CUDA-capable devices.
93+
// Set the following environment variable to control the exact devices to use.
9794
// "CUDA_VISIBLE_DEVICES": "0",
98-
// "JULIA_NUM_THREADS": "1",
95+
//
96+
// By default, BLAS/OpenMP will use as many threads as possible.
97+
// Set the following environment variable to control the exact number to use.
9998
// "OMP_NUM_THREADS": "1",
10099
//
100+
// By default, Julia starts up with a single thread of execution.
101+
// Set the following environment variable to control the exact number to use.
102+
// "JULIA_NUM_THREADS": "1",
103+
//
101104
// Pip: Install packages to the user site
102105
"PIP_USER": "1"
103106
},

.devcontainer/cuda-python-base/devcontainer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,13 @@
8383
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-python-base-root,target=/root,type=bind",
8484
// "workspaceFolder": "/root",
8585

86-
// By default,
87-
// - CUDA will use all available CUDA-capable devices.
88-
// - BLAS/OpenMP will use as many threads as possible.
89-
// Set the following environment variables to control the exact device(s)/number to use.
9086
"remoteEnv": {
87+
// By default, CUDA will use all available CUDA-capable devices.
88+
// Set the following environment variable to control the exact devices to use.
9189
// "CUDA_VISIBLE_DEVICES": "0",
90+
//
91+
// By default, BLAS/OpenMP will use as many threads as possible.
92+
// Set the following environment variable to control the exact number to use.
9293
// "OMP_NUM_THREADS": "1",
9394
//
9495
// Pip: Install packages to the user site

.devcontainer/cuda-python-scipy/devcontainer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,13 @@
8585
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-python-scipy-root,target=/root,type=bind",
8686
// "workspaceFolder": "/root",
8787

88-
// By default,
89-
// - CUDA will use all available CUDA-capable devices.
90-
// - BLAS/OpenMP will use as many threads as possible.
91-
// Set the following environment variables to control the exact device(s)/number to use.
9288
"remoteEnv": {
89+
// By default, CUDA will use all available CUDA-capable devices.
90+
// Set the following environment variable to control the exact devices to use.
9391
// "CUDA_VISIBLE_DEVICES": "0",
92+
//
93+
// By default, BLAS/OpenMP will use as many threads as possible.
94+
// Set the following environment variable to control the exact number to use.
9495
// "OMP_NUM_THREADS": "1",
9596
//
9697
// Pip: Install packages to the user site

.devcontainer/cuda-r-base/devcontainer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,13 @@
9595
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-r-base-root,target=/root,type=bind",
9696
// "workspaceFolder": "/root",
9797

98-
// By default,
99-
// - CUDA will use all available CUDA-capable devices.
100-
// - BLAS/OpenMP will use as many threads as possible.
101-
// Set the following environment variables to control the exact device(s)/number to use.
10298
"remoteEnv": {
99+
// By default, CUDA will use all available CUDA-capable devices.
100+
// Set the following environment variable to control the exact devices to use.
103101
// "CUDA_VISIBLE_DEVICES": "0",
102+
//
103+
// By default, BLAS/OpenMP will use as many threads as possible.
104+
// Set the following environment variable to control the exact number to use.
104105
// "OMP_NUM_THREADS": "1",
105106
//
106107
// Pip: Install packages to the user site

.devcontainer/cuda-r-geospatial/devcontainer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,13 @@
9797
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-r-geospatial-root,target=/root,type=bind",
9898
// "workspaceFolder": "/root",
9999

100-
// By default,
101-
// - CUDA will use all available CUDA-capable devices.
102-
// - BLAS/OpenMP will use as many threads as possible.
103-
// Set the following environment variables to control the exact device(s)/number to use.
104100
"remoteEnv": {
101+
// By default, CUDA will use all available CUDA-capable devices.
102+
// Set the following environment variable to control the exact devices to use.
105103
// "CUDA_VISIBLE_DEVICES": "0",
104+
//
105+
// By default, BLAS/OpenMP will use as many threads as possible.
106+
// Set the following environment variable to control the exact number to use.
106107
// "OMP_NUM_THREADS": "1",
107108
//
108109
// Pip: Install packages to the user site

.devcontainer/cuda-r-tidyverse/devcontainer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,13 @@
9595
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-r-tidyverse-root,target=/root,type=bind",
9696
// "workspaceFolder": "/root",
9797

98-
// By default,
99-
// - CUDA will use all available CUDA-capable devices.
100-
// - BLAS/OpenMP will use as many threads as possible.
101-
// Set the following environment variables to control the exact device(s)/number to use.
10298
"remoteEnv": {
99+
// By default, CUDA will use all available CUDA-capable devices.
100+
// Set the following environment variable to control the exact devices to use.
103101
// "CUDA_VISIBLE_DEVICES": "0",
102+
//
103+
// By default, BLAS/OpenMP will use as many threads as possible.
104+
// Set the following environment variable to control the exact number to use.
104105
// "OMP_NUM_THREADS": "1",
105106
//
106107
// Pip: Install packages to the user site

.devcontainer/cuda-r-verse/devcontainer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,13 @@
9797
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-r-verse-root,target=/root,type=bind",
9898
// "workspaceFolder": "/root",
9999

100-
// By default,
101-
// - CUDA will use all available CUDA-capable devices.
102-
// - BLAS/OpenMP will use as many threads as possible.
103-
// Set the following environment variables to control the exact device(s)/number to use.
104100
"remoteEnv": {
101+
// By default, CUDA will use all available CUDA-capable devices.
102+
// Set the following environment variable to control the exact devices to use.
105103
// "CUDA_VISIBLE_DEVICES": "0",
104+
//
105+
// By default, BLAS/OpenMP will use as many threads as possible.
106+
// Set the following environment variable to control the exact number to use.
106107
// "OMP_NUM_THREADS": "1",
107108
//
108109
// Pip: Install packages to the user site

.devcontainer/julia-base/devcontainer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,15 @@
8686
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-julia-base-root,target=/root,type=bind",
8787
// "workspaceFolder": "/root",
8888

89-
// By default,
90-
// - Julia starts up with a single thread of execution.
91-
// - BLAS/OpenMP will use as many threads as possible.
92-
// Set the following environment variables to control the exact number to use.
9389
"remoteEnv": {
94-
// "JULIA_NUM_THREADS": "1",
90+
// By default, BLAS/OpenMP will use as many threads as possible.
91+
// Set the following environment variable to control the exact number to use.
9592
// "OMP_NUM_THREADS": "1",
9693
//
94+
// By default, Julia starts up with a single thread of execution.
95+
// Set the following environment variable to control the exact number to use.
96+
// "JULIA_NUM_THREADS": "1",
97+
//
9798
// Pip: Install packages to the user site
9899
"PIP_USER": "1"
99100
}

.devcontainer/julia-pubtools/devcontainer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,15 @@
8888
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-julia-pubtools-root,target=/root,type=bind",
8989
// "workspaceFolder": "/root",
9090

91-
// By default,
92-
// - Julia starts up with a single thread of execution.
93-
// - BLAS/OpenMP will use as many threads as possible.
94-
// Set the following environment variables to control the exact number to use.
9591
"remoteEnv": {
96-
// "JULIA_NUM_THREADS": "1",
92+
// By default, BLAS/OpenMP will use as many threads as possible.
93+
// Set the following environment variable to control the exact number to use.
9794
// "OMP_NUM_THREADS": "1",
9895
//
96+
// By default, Julia starts up with a single thread of execution.
97+
// Set the following environment variable to control the exact number to use.
98+
// "JULIA_NUM_THREADS": "1",
99+
//
99100
// Pip: Install packages to the user site
100101
"PIP_USER": "1"
101102
}

0 commit comments

Comments
 (0)