From: Pekka J. <pek...@tu...> - 2011-12-15 16:44:55
|
On 12/15/2011 06:24 PM, Erik Schnetter wrote: > OpenCL supports only two operations for halfs: vload_half, converting it > to a float, and vstore_half, converting from a float. Nothing else > exists explicitly, not even vectors of halfs. Essentially the only thing > one can do with the half type is to pass a half* to these load/store > routines. OK, interesting. Who then generates the float <-> half conversion code for the LLVM intrinsics? Does LLVM generate it automatically or do we need to provide conversion routines in pocl? -- Pekka |