Commit 81a156d0 authored by Niels Ole Salscheider's avatar Niels Ole Salscheider Committed by Tom Stellard

st/clover: Allow double precision operations

Pass "cl_khr_fp64" preprocessor definition to clang
Signed-off-by: default avatarNiels Ole Salscheider <niels_ole@salscheider-online.de>
Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
parent 19338157
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment