Skip to content

Commit ab1e5df

Browse files
committed
fix build
Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
1 parent 1f23083 commit ab1e5df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/adapters/level_zero/platform.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,12 @@ ur_result_t urPlatformGetBackendOption(
196196
*PlatformOption = "-igc_opts 'PartitionUnit=1,SubroutineThreshold=50000'";
197197
return UR_RESULT_SUCCESS;
198198
}
199-
if (pFrontendOption == "-foffload-fp32-prec-div") {
200-
*ppPlatformOption = "-ze-fp32-correctly-rounded-divide-div";
199+
if (FrontendOption == "-foffload-fp32-prec-div") {
200+
*PlatformOption = "-ze-fp32-correctly-rounded-divide-div";
201201
return UR_RESULT_SUCCESS;
202202
}
203-
if (pFrontendOption == "-foffload-fp32-prec-sqrt") {
204-
*ppPlatformOption = "-ze-fp32-correctly-rounded-divide-sqrt";
203+
if (FrontendOption == "-foffload-fp32-prec-sqrt") {
204+
*PlatformOption = "-ze-fp32-correctly-rounded-divide-sqrt";
205205
return UR_RESULT_SUCCESS;
206206
}
207207
return UR_RESULT_ERROR_INVALID_VALUE;

0 commit comments

Comments
 (0)