Forum Discussion
Altera_Forum
Honored Contributor
8 years agoHow to use fp16 in FPGA?
I add# pragma OPENCL EXTENSION cl_khr_fp16 : enable, and declare data type from float to half in kernel code. the emulator compiler will pass, however the result is wrong. should I also modified host code too? but there is no support fp16 in C++.