Skip to content
Commit 4c59714a authored by Jan Vesely's avatar Jan Vesely
Browse files

Make min follow the OCL 1.0 specs



OpenCL 1.0: "Returns y if y < x, otherwise it returns x. If x *and* y
are infinite or NaN, the return values are undefined."

OpenCL 1.1+: "Returns y if y < x, otherwise it returns x. If x *or* y
are infinite or NaN, the return values are undefined."

The 1.0 version is stricter so use that one.

Signed-off-by: default avatarJan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 276704
parent d5617b55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment