clover: Don't unconditionally define cl_khr_fp64
authorTom Stellard <thomas.stellard@amd.com>
Thu, 26 Feb 2015 23:20:06 +0000 (18:20 -0500)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 27 Feb 2015 14:57:44 +0000 (14:57 +0000)
This should be done by the frontend for devices that support this
extension.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/llvm/invocation.cpp

index 508979a0225ace40fa6acc0feff7332343fce0cf..93548122647187a99076730043bf2cf51d4eb536 100644 (file)
@@ -203,7 +203,6 @@ namespace {
 
       // clc.h requires that this macro be defined:
       c.getPreprocessorOpts().addMacroDef("cl_clang_storage_class_specifiers");
-      c.getPreprocessorOpts().addMacroDef("cl_khr_fp64");
 
       c.getLangOpts().NoBuiltin = true;
       c.getTargetOpts().Triple = triple;