summaryrefslogtreecommitdiff
path: root/tests/cppf16/compute.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add float16 elements to C++ APIPirama Arumuga Nainar2016-02-181-0/+41
Bug: 25972767 Add float16 elements to C++ API and test the ability to create float16 allocations. Caveats: - Element::F16 and such are accessible to the host-side code irrespective of the target API level. This is because right now, target API level seems to be set at runtime instead of compile time. - We added float16 to RenderScript starting API level 23. Since we cannot compile RS CPP apps targeting this level, Scripts cannot manipulate float16 data yet. Change-Id: I2bfba13fcad1c3aa984e97b44765fd2a57a054ac (cherry picked from commit 566168431399086c146b2f845f6d0128852c9686)