This makes several small changes to how the platform and device info queries are handled: * ReturnHelper has been replaced with InfoWriter which is more explicit in how it is invoked. * InfoWriter consumes `llvm::Expected` rather than values directly, and will early exit if it returns an error. * As a result of the above, `GetInfoString` now correctly returns errors rather than empty strings. * The host device now has its own dedicated "getInfo" function rather than being checked in multiple places.
Offload New API
This directory contains the implementation of the experimental work-in-progress new API for Offload. It builds on top of the existing plugin implementations but provides a single level of abstraction suitable for runtimes for languages other than OpenMP to be built on top of.
See the API definition readme for implementation details.