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 Jan 31, 2024
1 parent 045ceba commit 2093065
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 @@ -683,7 +683,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 2093065

Please sign in to comment.