diff options
author | Jean-Luc Brouillet <jeanluc@google.com> | 2015-04-10 09:36:15 -0700 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2015-06-03 09:40:52 -0700 |
commit | 9c850612691e0b16f3974dd672f8eeb343a78aee (patch) | |
tree | c784c0a9ea1caa3de071c7029acf22648b868f98 /api/Specification.cpp | |
parent | 9c8e3403d07a2347435ed58d8aa52d9dc4346f16 (diff) | |
download | rs-9c850612691e0b16f3974dd672f8eeb343a78aee.tar.gz |
Add half (fp16) to runtime API.
Bug: 7342860
Change-Id: I25c6e1a9102cb193ed47f7d0c87f5948f59b8036
(cherry picked from commit 6119da9273f88e838b2e8648bde0d40fabe51f5f)
Diffstat (limited to 'api/Specification.cpp')
-rw-r--r-- | api/Specification.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/Specification.cpp b/api/Specification.cpp index b36acaeb..09a0663d 100644 --- a/api/Specification.cpp +++ b/api/Specification.cpp @@ -35,7 +35,7 @@ using namespace std; const int MIN_API_LEVEL = 9; const NumericalType TYPES[] = { - {"f16", "FLOAT_16", "half", "half", FLOATING_POINT, 11, 5}, + {"f16", "FLOAT_16", "half", "float", FLOATING_POINT, 11, 5}, {"f32", "FLOAT_32", "float", "float", FLOATING_POINT, 24, 8}, {"f64", "FLOAT_64", "double", "double", FLOATING_POINT, 53, 11}, {"i8", "SIGNED_8", "char", "byte", SIGNED_INTEGER, 7, 0}, |