Add host_supported, min_sdk_version and apex_available configs to Android.bp for FP16. This would solve build erros such as "missing variant:os:linux_glibc,arch:x86_64" when adding fp16_headers to external/tensorflow repo. Cherrypicked from AOSP Ia8ac144df6a18f17cc9c181ed8618a5d365abaa6 Bug: 196532440 Test: mma Change-Id: Ia8ac144df6a18f17cc9c181ed8618a5d365abaa6 Merged-In: Ia8ac144df6a18f17cc9c181ed8618a5d365abaa6 (cherry picked from commit 2cc626c378b7a58cc8ca25d3686fa963e765f6ee)
Header-only library for conversion to/from half-precision floating point formats
The library is developed by Marat Dukhan of Georgia Tech. FP16 is a research project at Richard Vuduc's HPC Garage lab in the Georgia Institute of Technology, College of Computing, School of Computational Science and Engineering.
This material is based upon work supported by the U.S. National Science Foundation (NSF) Award Number 1339745. Any opinions, findings and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect those of NSF.