Back to top
/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-5.7.1/include/hip/hip_complex.h Source File
/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-5.7.1/include/hip/hip_complex.h Source File
HIP Runtime API Reference: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-5.7.1/include/hip/hip_complex.h Source File
Go to the documentation of this file.
23 #ifndef HIP_INCLUDE_HIP_HIP_COMPLEX_H
24 #define HIP_INCLUDE_HIP_HIP_COMPLEX_H
26 #if !defined(__HIPCC_RTC__)
30 #if (defined(__HIP_PLATFORM_HCC__) || defined(__HIP_PLATFORM_AMD__)) && !(defined(__HIP_PLATFORM_NVCC__) || defined(__HIP_PLATFORM_NVIDIA__))
31 #include <hip/amd_detail/amd_hip_complex.h>
32 #elif !(defined(__HIP_PLATFORM_HCC__) || defined(__HIP_PLATFORM_AMD__)) && (defined(__HIP_PLATFORM_NVCC__) || defined(__HIP_PLATFORM_NVIDIA__))
33 #include <hip/nvidia_detail/nvidia_hip_complex.h>
35 #error("Must define exactly one of __HIP_PLATFORM_AMD__ or __HIP_PLATFORM_NVIDIA__");