P4 to Git Change 1058650 by shivara@shivaram_llvmmerge_dt on 2014/07/24 01:26:41
ECR #397495 - Adding macros which are missing in clang path.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend_clang.cpp#16 edit
[ROCm/clr commit: cde1570514]
Цей коміт міститься в:
@@ -48,6 +48,19 @@ int amdcl::ClangOCLFrontend::compileCommand(const std::string& src) {
|
||||
argsToClang.push_back((*it).c_str());
|
||||
}
|
||||
}
|
||||
if (Options()->oVariables->ImageSupport) {
|
||||
argsToClang.push_back ("-D__IMAGE_SUPPORT__=1 ");
|
||||
}
|
||||
|
||||
if (Options()->oVariables->FastFMA) {
|
||||
argsToClang.push_back ("-DFP_FAST_FMA=1 ");
|
||||
}
|
||||
|
||||
if (Options()->oVariables->FastFMAF) {
|
||||
argsToClang.push_back ("-DFP_FAST_FMAF=1 ");
|
||||
}
|
||||
|
||||
argsToClang.push_back ("-D__AMD__=1 ");
|
||||
|
||||
// Other options are passed using OptionsInfo structure.
|
||||
clc2::OptionsInfo ClangOptions;
|
||||
|
||||
Посилання в новій задачі
Заблокувати користувача