llvm
bbe59e19 - [OpenMP][Offload] Update the Logic for Configuring Auto Zero-Copy (#143638)

Commit
350 days ago
[OpenMP][Offload] Update the Logic for Configuring Auto Zero-Copy (#143638) Summary: 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 further improving the readibility.
Author
Parents
Loading