Back to top
/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-6.2.0/include/hip/math_functions.h Source File
/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-6.2.0/include/hip/math_functions.h Source File
HIP Runtime API Reference: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-6.2.0/include/hip/math_functions.h Source File
Go to the documentation of this file.
23 #ifndef HIP_INCLUDE_HIP_MATH_FUNCTIONS_H
24 #define HIP_INCLUDE_HIP_MATH_FUNCTIONS_H
30 #if !defined(__HIPCC_RTC__)
34 #if defined(__HIP_PLATFORM_AMD__) && !defined(__HIP_PLATFORM_NVIDIA__)
35 #include <hip/amd_detail/amd_math_functions.h>
36 #elif !defined(__HIP_PLATFORM_AMD__) && defined(__HIP_PLATFORM_NVIDIA__)
39 #error("Must define exactly one of __HIP_PLATFORM_AMD__ or __HIP_PLATFORM_NVIDIA__");