I'm trying to pass float16 array from the android HLOS side to the DSP side. I have used the IDL before for defining the interfaces and was able to do it for float32, int16, int8, etc. But I'm not sure how to use float 16 on the IDL. I tried using __fp16, but it throws up an error.
The table on the IDL documentation in the Hexagon SDK 5.5.0.1 shows IDL equivalents for C types, but I couldn't find any information on the float16 type. Is it possible to use float 16 in the IDL? I have float16 arrays on the android CPU side and want to pass it to the DSP side to make use of DSP compute for float16s. Kindly provide me some information on this. Thanks.
Hi Vijay,
IDL doesn't have float16 support. It only supports "float" datatype. Do you see any issues while using that?
Regards,
Prabha
Thanks a lot for the information. (I was looking to use float16 because my inputs were in float16 and converting to float32 would have added some overhead., I'll now try some workarounds)