You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/documentation/gpuDebugging.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,17 +33,17 @@ OMP_DISPLAY_AFFINITY=TRUE
33
33
```bash
34
34
CRAY_ACC_DEBUG: 0 (off), 1, 2, 3 (very noisy)
35
35
```
36
-
- Dumps a time-stamped log line (`"ACC: ...`) for every allocation, data transfer, kernel launch, wait, etc. Great first stop when "nothing seems to run on the GPU.
37
36
38
-
- Outputs on STDERR by default. Can be changed by setting `CRAY_ACC_DEBUG_FILE`.
37
+
- Dumps a time-stamped log line (`ACC: ...`) for every allocation, data transfer, kernel launch, wait, etc. Great first stop when "nothing seems to run on the GPU".
38
+
- Outputs on STDERR by default. Can be changed by setting `CRAY_ACC_DEBUG_FILE`.
39
39
- Recognizes `stderr`, `stdout`, and `process`.
40
40
-`process` automatically generates a new file based on `pid` (each MPI process will have a different file)
41
-
42
41
- While this environment variable specifies ACC, it can be used for both OpenACC and OpenMP
43
42
44
43
```bash
45
44
CRAY_ACC_FORCE_EARLY_INIT=1
46
45
```
46
+
47
47
- Force full GPU initialization at program start so you can see start-up hangs immediately
48
48
- Default behavior without an environment variable is to defer initialization on first use
49
49
- Device initialization includes initializing the GPU vendor’s low-level device runtime library (e.g., libcuda for NVIDIA GPUs) and establishing all necessary software contexts for interacting with the device
0 commit comments