Skip to content
Commit dd1fbc00 authored by Jeroen Ketema's avatar Jeroen Ketema
Browse files

Add half limits



These are apparently only defined in OpenCL 1.2.

HALF_MAX, HALF_MIN and HALF_EPSILON are currently omitted. Clang does
not seem to support the ‘h’ suffix for half float constants even with
the cl_khr_fp16 extension enabled.

Reviewed-by: default avatarTom Sellard <tom@stellard.net>
llvm-svn: 211579
parent 046b47fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment