mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-14 18:17:44 +00:00
The symbol M_PI is breaking the build on Windows. The _USE_MATH_DEFINES macro enables M_PI and other math constants on Windows. (I'm guessing this is more idomatic than the old trick of using PI=acos(-1.0).)
https://learn.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=msvc-170
Co-authored-by: BradPepersAMD <Brad.Pepers@amd.com>
[ROCm/composable_kernel commit: 1da340031c]