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

Jan Vesely jan.vesely at rutgers.edu
Sun Apr 12 15:46:53 PDT 2015


This halves the size of builtin.opt.{cedar,barts}.bc

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





More information about the Libclc-dev mailing list