File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ static void CommonOCLBasedPasses(
254
254
}
255
255
256
256
CompilerOpts.EnableTakeGlobalAddress =
257
- pContext->m_InternalOptions .EnableTakeGlobalAddress ;
257
+ pContext->m_Options .EnableTakeGlobalAddress ;
258
258
259
259
// right now we don't support any standard function in the code gen
260
260
// maybe we want to support some at some point to take advantage of LLVM optimizations
Original file line number Diff line number Diff line change @@ -1070,10 +1070,6 @@ namespace IGC
1070
1070
{
1071
1071
PreferBindlessImages = true ;
1072
1072
}
1073
- if (strstr (options, " -cl-intel-enable-global-relocation" ))
1074
- {
1075
- EnableTakeGlobalAddress = true ;
1076
- }
1077
1073
if (strstr (options, " -cl-intel-force-global-mem-allocation" ))
1078
1074
{
1079
1075
IntelForceGlobalMemoryAllocation = true ;
@@ -1093,7 +1089,6 @@ namespace IGC
1093
1089
bool IntelEnablePreRAScheduling = true ;
1094
1090
bool PromoteStatelessToBindless = false ;
1095
1091
bool PreferBindlessImages = false ;
1096
- bool EnableTakeGlobalAddress = false ;
1097
1092
bool IntelForceGlobalMemoryAllocation = false ;
1098
1093
1099
1094
};
@@ -1130,11 +1125,16 @@ namespace IGC
1130
1125
// the module metadata.
1131
1126
UniformWGS = true ;
1132
1127
}
1128
+ if (strstr (options, " -cl-take-global-address" ))
1129
+ {
1130
+ EnableTakeGlobalAddress = true ;
1131
+ }
1133
1132
}
1134
1133
1135
1134
bool CorrectlyRoundedSqrt;
1136
1135
bool NoSubgroupIFP;
1137
1136
bool UniformWGS;
1137
+ bool EnableTakeGlobalAddress = false ;
1138
1138
};
1139
1139
1140
1140
// output: shader information
You can’t perform that action at this time.
0 commit comments