mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 14:09:03 +00:00
define NOMINMAX in the CMakefile to fix std::min and std::max on MSVC (#1308)
This commit is contained in:
@@ -1707,7 +1707,7 @@ Version get_max_OpenCL_C_for_context(cl_context context)
|
||||
else
|
||||
{
|
||||
current_version =
|
||||
(std::min)(device_version, current_version);
|
||||
std::min(device_version, current_version);
|
||||
}
|
||||
});
|
||||
return current_version;
|
||||
|
||||
Reference in New Issue
Block a user