[HIP][fix] Prefix libraryPropertyType to fix build of rocFFT and TensorFlow

[ROCm/clr commit: 3a83b3a62c]
Tento commit je obsažen v:
Evgeny Mankov
2019-10-11 15:18:08 +03:00
rodič bc2f9a24eb
revize 1881f7fe8a
2 změnil soubory, kde provedl 11 přidání a 6 odebrání
+5 -6
Zobrazit soubor
@@ -32,11 +32,10 @@ typedef enum hipDataType {
HIP_C_64F = 5
} hipDataType;
typedef enum libraryPropertyType {
MAJOR_VERSION,
MINOR_VERSION,
PATCH_LEVEL
} libraryPropertyType;
typedef enum hipLibraryPropertyType {
HIP_LIBRARY_MAJOR_VERSION,
HIP_LIBRARY_MINOR_VERSION,
HIP_LIBRARY_PATCH_LEVEL
} hipLibraryPropertyType;
#endif
+6
Zobrazit soubor
@@ -59,6 +59,12 @@ typedef enum hipMemcpyKind {
#define HIP_C_32F CUDA_C_32F
#define HIP_C_64F CUDA_C_64F
// hipDataType
#define hipLibraryPropertyType libraryPropertyType
#define HIP_LIBRARY_MAJOR_VERSION MAJOR_VERSION
#define HIP_LIBRARY_MINOR_VERSION MINOR_VERSION
#define HIP_LIBRARY_PATCH_LEVEL PATCH_LEVEL
// hipTextureAddressMode
#define hipTextureAddressMode cudaTextureAddressMode
#define hipAddressModeWrap cudaAddressModeWrap