Add half (fp16) to runtime API.
Bug: 7342860
Change-Id: I25c6e1a9102cb193ed47f7d0c87f5948f59b8036
diff --git a/api/Specification.cpp b/api/Specification.cpp
index 362aef2..7634eab 100644
--- a/api/Specification.cpp
+++ b/api/Specification.cpp
@@ -35,7 +35,7 @@
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},