Back to top
/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-6.2.1/include/hip/hip_vector_types.h Source File
/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-6.2.1/include/hip/hip_vector_types.h Source File
HIP Runtime API Reference: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-6.2.1/include/hip/hip_vector_types.h Source File
Go to the documentation of this file.
25 #ifndef HIP_INCLUDE_HIP_HIP_VECTOR_TYPES_H
26 #define HIP_INCLUDE_HIP_HIP_VECTOR_TYPES_H
31 #if defined(__HIP_PLATFORM_AMD__) && !defined(__HIP_PLATFORM_NVIDIA__)
33 #include <hip/amd_detail/amd_hip_vector_types.h>
35 #elif !defined(__HIP_PLATFORM_AMD__) && defined(__HIP_PLATFORM_NVIDIA__)
36 #include <vector_types.h>
38 #error("Must define exactly one of __HIP_PLATFORM_AMD__ or __HIP_PLATFORM_NVIDIA__");