@@ -12,8 +12,8 @@ The GPU isolation environment variables in HIP are collected in the following ta
12
12
:header-rows: 1
13
13
:widths: 70,30
14
14
15
- * - ** Environment variable **
16
- - ** Value **
15
+ * - Environment variable
16
+ - Value
17
17
18
18
* - | ``ROCR_VISIBLE_DEVICES ``
19
19
| A list of device indices or UUIDs that will be exposed to applications.
@@ -37,8 +37,8 @@ The profiling environment variables in HIP are collected in the following table.
37
37
:header-rows: 1
38
38
:widths: 70,30
39
39
40
- * - ** Environment variable **
41
- - ** Value **
40
+ * - Environment variable
41
+ - Value
42
42
43
43
* - | ``HSA_CU_MASK ``
44
44
| Sets the mask on a lower level of queue creation in the driver,
@@ -66,9 +66,9 @@ The debugging environment variables in HIP are collected in the following table.
66
66
:header-rows: 1
67
67
:widths: 35,14,51
68
68
69
- * - ** Environment variable **
70
- - ** Default value **
71
- - ** Value **
69
+ * - Environment variable
70
+ - Default value
71
+ - Value
72
72
73
73
* - | ``AMD_LOG_LEVEL ``
74
74
| Enables HIP log on various level.
@@ -110,6 +110,13 @@ The debugging environment variables in HIP are collected in the following table.
110
110
| 0x80000: Timestamp details.
111
111
| 0xFFFFFFFF: Log always even mask flag is zero.
112
112
113
+ * - | ``HIP_FORCE_DEV_KERNARG ``
114
+ | Forces kernel arguments to be stored in device memory to reduce latency.
115
+ | Can improve performance by 2-3 µs for some kernels.
116
+ - ``0 ``
117
+ - | 0: Disable
118
+ | 1: Enable
119
+
113
120
* - | ``HIP_LAUNCH_BLOCKING ``
114
121
| Used for serialization on kernel execution.
115
122
- ``0 ``
@@ -169,9 +176,9 @@ following table.
169
176
:header-rows: 1
170
177
:widths: 35,14,51
171
178
172
- * - ** Environment variable **
173
- - ** Default value **
174
- - ** Value **
179
+ * - Environment variable
180
+ - Default value
181
+ - Value
175
182
176
183
* - | ``HIP_HIDDEN_FREE_MEM ``
177
184
| Amount of memory to hide from the free memory reported by hipMemGetInfo.
@@ -213,6 +220,19 @@ following table.
213
220
- | 0: Disable
214
221
| 1: Enable
215
222
223
+ * - | ``GPU_MAX_ALLOC_PERCENT ``
224
+ | Restricts the total percentage of GPU memory that a single application can allocate.
225
+ | Critical for APU systems with shared CPU/GPU memory.
226
+ - None
227
+ - | Unit: Percentage
228
+ | Setting to 100 allows maximum memory use but increases Out-Of-Memory risk.
229
+
230
+ * - | ``GPU_SINGLE_ALLOC_PERCENT ``
231
+ | Limits the maximum size of a single memory allocation as a percentage of GPU memory.
232
+ - None
233
+ - | Unit: Percentage
234
+ | Prevents single allocations from consuming all available GPU memory.
235
+
216
236
* - | ``GPU_MAX_HEAP_SIZE ``
217
237
| Set maximum size of the GPU heap to % of board memory.
218
238
- ``100 ``
@@ -268,9 +288,9 @@ different features in HIP.
268
288
:header-rows: 1
269
289
:widths: 35,14,51
270
290
271
- * - ** Environment variable **
272
- - ** Default value **
273
- - ** Value **
291
+ * - Environment variable
292
+ - Default value
293
+ - Value
274
294
275
295
* - | ``HIPRTC_COMPILE_OPTIONS_APPEND ``
276
296
| Sets compile options needed for ``hiprtc`` compilation.
0 commit comments