st/clover: Allow double precision operations
Pass "cl_khr_fp64" preprocessor definition to clang Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de> Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
parent
19338157c9
commit
81a156d099
|
@ -175,6 +175,7 @@ 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;
|
||||
|
|
Loading…
Reference in New Issue