[Libclc-dev] [PATCH 4/4] rootn: Port from amd_builtins

Jeroen Ketema via Libclc-dev libclc-dev at lists.llvm.org
Thu Jan 18 11:33:58 PST 2018



> On 18 Jan 2018, at 00:49, Jan Vesely <jan.vesely at rutgers.edu> wrote:
> 
> On Thu, 2018-01-18 at 00:39 +0100, Jeroen Ketema wrote:
>> Hi Jan,
>> 
>> Triggered by your patch below, I started looking a bit more closely at __clc_fp32_subnormals_supported.
>> Am I correct that this function currently always returns false no matter the target? Or does some
>> override occur somewhere?
> 
> Looks like it. Tom might be better qualified to answer this.
> The original idea was to link default or disabled to select proper
> operation at kernel link time, but it looks likes it only applies to
> fp64.
> That is weird since fp64 denormals are required by specs. I'd say we
> can drop the entire mechanism.

That’s not totally true. Check out the cl-denorms-are-zero option.

Jeroen

> 
> Jan
> 
>> 
>> Thanks,
>> 
>> Jeroen
>> 



More information about the Libclc-dev mailing list