[HIP] Introduce library_types.h as a common header for libs (#1509)

* [HIP] Introduce library_types.h as a common header for libs

[Reason]
Currently, hipFFT, hipBLAS and other HIP libs use their own data types, prefixed with HIPFFT or HIPBLAS, whereas in CUDA those types are common and declared in library_types.h

[TODO]
Switch hipFFT, hipBLAS and other HIP libs to use common library_types.h.

* [HIP] Move include for library_types.h to hip_runtime.h

[Reason]
Repeat CUDA's behaviour, where library_types.h is included in cuda_runtime.h


[ROCm/hip commit: 94eb4155dd]
This commit is contained in:
Evgeny Mankov
2019-10-10 17:27:28 +03:00
committed by Maneesh Gupta
parent fe7c030148
commit 0ac55b1a9d
4 changed files with 89 additions and 1 deletions
+2 -1
View File
@@ -63,5 +63,6 @@ THE SOFTWARE.
#include <hip/hip_runtime_api.h>
#include <hip/hip_vector_types.h>
#include <hip/library_types.h>
#endif
#endif