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
- Quick way to turn off off-load (DISABLED) or make it abort if a GPU isn't found (MANDATORY)
16
-
-great first test: does the problem disappear when you drop back to the CPU?
15
+
- Quick way to turn off off-load (`DISABLED`) or make it abort if a GPU isn't found (`MANDATORY`)
16
+
-Great first test: does the problem disappear when you drop back to the CPU?
17
17
18
18
```bash
19
19
OMP_THREAD_LIMIT=<positive_integer>
20
20
```
21
-
- Sets maximum number of OpenMP threads to use in a contention group
21
+
- Sets the maximum number of OpenMP threads to use in a contention group
22
22
- Might be useful in checking for issues with contention or race conditions
23
23
24
24
```bash
@@ -33,7 +33,7 @@ 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.
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
37
38
38
- Outputs on STDERR by default. Can be changed by setting `CRAY_ACC_DEBUG_FILE`.
- Force full GPU initialization at program start so you can see start-up hangs immediately
48
-
- Default behavior without environment variable is to defer initialization on first use
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
48
+
- Default behavior without an environment variable is to defer initialization on first use
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
50
50
51
51
### Cray OpenACC Options
52
52
53
53
```bash
54
54
CRAY_ACC_PRESENT_DUMP_SAVE_NAMES=1
55
55
```
56
-
- Will cause acc_present_dump() to output variable names and file locations in addition to variable mappings
57
-
- Add acc_present_dump() around hotspots to help find problems with data movements
56
+
- Will cause `acc_present_dump()` to output variable names and file locations in addition to variable mappings
57
+
- Add `acc_present_dump()` around hotspots to help find problems with data movements
58
58
- Helps more if adding `CRAY_ACC_DEBUG` environment variable
0 commit comments