[Mesa-dev] [PATCH] clover: Return the minimum required value for CL_DEVICE_SINGLE_FP_CONFIG

Matt Arsenault arsenm2 at gmail.com
Thu Mar 5 11:12:59 PST 2015


> On Mar 5, 2015, at 10:42 AM, Francisco Jerez <currojerez at riseup.net> wrote:
> 
> Could you add that this is according to the OpenCL 1.1 specification?
> OpenCL 1.2 is even weaker (CL_FP_INF_NAN is not required, only one of
> CL_FP_ROUND_TO_ZERO or CL_FP_ROUND_TO_NEAREST is required, and no FP
> capabilities at all are required for custom devices as Jan pointed out).

This should come from a device check then. The weakest is a reasonable default, but it shouldn’t be removed from devices which do support CL_FP_INF_NAN


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150305/77f12a99/attachment.html>


More information about the mesa-dev mailing list