[Libclc-dev] [PATCH 2/3] configure: Remove cl_khr_fp64 for devices that don't support FP64

Tom Stellard tom at stellard.net
Mon Apr 13 08:26:14 PDT 2015


On Sun, Apr 12, 2015 at 06:46:53PM -0400, Jan Vesely wrote:
> This halves the size of builtin.opt.{cedar,barts}.bc
> 

LGTM.

> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> ---
>  configure.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/configure.py b/configure.py
> index 575989a..e44143a 100755
> --- a/configure.py
> +++ b/configure.py
> @@ -89,11 +89,11 @@ if not cxx_compiler:
>  available_targets = {
>    'r600--' : { 'devices' :
>                 [{'gpu' : 'cedar',   'aliases' : ['palm', 'sumo', 'sumo2', 'redwood', 'juniper'],
> -                 'defines' : ['cl_khr_fp64']},
> +                 'defines' : []},
>                  {'gpu' : 'cypress', 'aliases' : ['hemlock'],
>                   'defines' : ['cl_khr_fp64']},
>                  {'gpu' : 'barts',   'aliases' : ['turks', 'caicos'],
> -                 'defines' : ['cl_khr_fp64']},
> +                 'defines' : []},
>                  {'gpu' : 'cayman',  'aliases' : ['aruba'],
>                   'defines' : ['cl_khr_fp64']}]},
>    'amdgcn--': { 'devices' :
> -- 
> 2.1.0
> 
> 
> _______________________________________________
> Libclc-dev mailing list
> Libclc-dev at pcc.me.uk
> http://www.pcc.me.uk/cgi-bin/mailman/listinfo/libclc-dev




More information about the Libclc-dev mailing list