Skip to content

Commit

Permalink
[SYCL][UR][L0] Distinguish std::min call from macro
Browse files Browse the repository at this point in the history
  • Loading branch information
kswiecicki committed Dec 20, 2023
1 parent 5d76778 commit 967903d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/adapters/level_zero/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(
}
}
}
return ReturnValue(std::min(GlobalMemSize, FreeMemory));
return ReturnValue((std::min)(GlobalMemSize, FreeMemory));
}
case UR_DEVICE_INFO_MEMORY_CLOCK_RATE: {
// If there are not any memory modules then return 0.
Expand Down

0 comments on commit 967903d

Please sign in to comment.