What is exactly needed is only a boolean. Pulling OFFLOAD_SUCCESS/FAIL only adds confusion.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D109303
[OpenMP][libomptarget][NFC] Change checkDeviceAndCtors return type to bool. ClosedPublic Authored by ye-luo on Sep 5 2021, 11:06 PM.
Details Summary What is exactly needed is only a boolean. Pulling OFFLOAD_SUCCESS/FAIL only adds confusion.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 7 2021, 11:49 AM Closed by commit rG2cfe1a09d102: [OpenMP][libomptarget][NFC] Change checkDeviceAndCtors return type to bool. (authored by ye-luo). · Explain WhySep 7 2021, 12:00 PM This revision was automatically updated to reflect the committed changes. ye-luo retitled this revision from [OpenMP][libomptarget] Change checkDeviceAndCtors return type to bool. to [OpenMP][libomptarget][NFC] Change checkDeviceAndCtors return type to bool..Sep 7 2021, 12:01 PM
Revision Contents
Diff 371142 openmp/libomptarget/src/interface.cpp
openmp/libomptarget/src/omptarget.cpp
openmp/libomptarget/src/private.h
|