Commit 49e0811
committed
[OpenMP][Offload] Update the Logic for Configuring Auto Zero-Copy
Currently the Auto Zero-Copy is enabled by checking every initialized device to ensure that no dGPU is attached to an APU. However, an APU is designed to comprise a homogeneous set of GPUs, therefore, it should be sufficient to check any device for configuring Auto Zero-Copy. In this PR, it checks the first initialized device in the list.
The changes in this PR are to clearly reflect the design and logic of enabling the feature for improving the readibility.1 parent 13ccce2 commit 49e0811
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
293 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
294 | 298 | | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
0 commit comments