Skip to main content
Back to top
/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/develop/include/hip/hip_math_constants.h Source File
/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/develop/include/hip/hip_math_constants.h Source File
HIP Runtime API Reference: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/develop/include/hip/hip_math_constants.h Source File
Go to the documentation of this file.
22 #ifndef HIP_MATH_CONSTANTS_H
23 #define HIP_MATH_CONSTANTS_H
25 #if !defined(__HIPCC_RTC__)
29 #if defined(__HIP_PLATFORM_AMD__) && !defined(__HIP_PLATFORM_NVIDIA__)
30 #include "hip/amd_detail/amd_hip_math_constants.h"
31 #elif !defined(__HIP_PLATFORM_AMD__) && defined(__HIP_PLATFORM_NVIDIA__)
32 #include "hip/nvidia_detail/nvidia_hip_math_constants.h"
34 #error("Must define exactly one of __HIP_PLATFORM_AMD__ or __HIP_PLATFORM_NVIDIA__" );