SWDEV-280473 - Fix Windows build

Change-Id: Id1acb5ad07a6717c5866065776f9f2b3bf85be8e
Tá an tiomantas seo le fáil i:
Vladislav Sytchenko
2021-04-12 17:39:43 -04:00
tuismitheoir 4711005dfd
tiomantas 2ae1b17b7c
D'athraigh 2 comhad le 2 breiseanna agus 2 scriosta
+1 -1
Féach ar an gComhad
@@ -1306,7 +1306,7 @@ bool Program::linkImplHSAIL(amd::option::Options* options) {
internal_ = (compileOptions_.find("-cl-internal-kernel") != std::string::npos) ? true : false;
// If !binaryElf_ then program must have been created using clCreateProgramWithBinary
aclType continueCompileFrom = (!binaryElf_) ?
getNextCompilationStageFromBinary(options) : ACL_TYPE_LLVMIR_BINARY;
static_cast<aclType>(getNextCompilationStageFromBinary(options)) : ACL_TYPE_LLVMIR_BINARY;
switch (continueCompileFrom) {
case ACL_TYPE_SPIRV_BINARY:
+1 -1
Féach ar an gComhad
@@ -1515,7 +1515,7 @@ bool HSAILProgram::linkImpl(amd::option::Options* options) {
bool hsaLoad = true;
// If !binaryElf_ then program must have been created using clCreateProgramWithBinary
if (!binaryElf_) {
continueCompileFrom = getNextCompilationStageFromBinary(options);
continueCompileFrom = static_cast<aclType>(getNextCompilationStageFromBinary(options));
}
switch (continueCompileFrom) {
case ACL_TYPE_SPIRV_BINARY: