diff options
author | David Gross <dgross@google.com> | 2019-12-20 14:22:15 -0800 |
---|---|---|
committer | David Gross <dgross@google.com> | 2020-02-05 11:09:22 -0800 |
commit | 0db1b54e9a3109c7247c95d7c2ce22948b8e8ce1 (patch) | |
tree | 4ed1451087ef9fa81901962b575d119d8b3e2962 /light/aidl/default/main.cpp | |
parent | d1fa5833826a1878e42acc26f902bd3cacc63330 (diff) |
redefine _Float16 as __fp16 for x86[_64] to allow removing workaround from inhouse clang
At present, the tests might not actually use _Float16 (the generated
tests that are incorporated into the functional tests are built in
frameworks/ml rather than in hardware/interfaces); but the makefiles
are changed anyway, in case _Float16 is added in the future.
Bug: 138709788
Test: for (walleye, aosp_x86 [on emulator], aosp_x86_64 [on emulator])
Use clang where _Float16 is disabled for x86[_64]
$ cd $ANDROID_BUILD_TOP/neuralnetworks/1.0/vts/functional
inspect build commands for tests as to whether or not
expected options related to redefinition are present
$ cd $ANDROID_BUILD_TOP/neuralnetworks/1.1/vts/functional
inspect build commands for tests as to whether or not
expected options related to redefinition are present
Change-Id: I9225b228947696d249771b3a35b1f82de9c26b6e
(cherry picked from commit 2452ee5a80ffc0d94c7da34e45b9e1db33c2dcd5)
Diffstat (limited to 'light/aidl/default/main.cpp')
0 files changed, 0 insertions, 0 deletions