SWDEV-252745 - Adding precompiled headers to build option

Change-Id: Iab03e8a75215d80c91817ee0227d034fefa9dfad


[ROCm/clr commit: 5cfea2981b]
Dieser Commit ist enthalten in:
cjatin verfasst und Jatin Chaudhary committed 2021-02-09 23:33:55 -05:00
1 Ursprung e60c7aa890
Commit 43a470093d
4 Dateien geändert
+70 -17

Keine Dateien entsprechen Ihrer Suche

+1 -1
Datei anzeigen
@@ -555,7 +555,7 @@ int32_t Program::build(const std::vector<Device*>& devices, const char* options,
if (devProgram->buildStatus() != CL_BUILD_NONE) {
continue;
}
int32_t result = devProgram->build(sourceCode_, options, &parsedOptions);
int32_t result = devProgram->build(sourceCode_, options, &parsedOptions, precompiledHeaders_);
// Check if the previous device failed a build
if ((result != CL_SUCCESS) && (retval != CL_SUCCESS)) {