Compilation failure on nvcc path when using hipChannelFormatKind (#1345)

Fix for github #1183 issue reported
Этот коммит содержится в:
Sarbojit2019
2019-08-21 15:31:03 +05:30
коммит произвёл Maneesh Gupta
родитель ac62d7a5c0
Коммит 84de192c9b
+6 -6
Просмотреть файл
@@ -67,12 +67,12 @@ typedef enum hipMemcpyKind {
#define hipReadModeElementType cudaReadModeElementType
#define hipReadModeNormalizedFloat cudaReadModeNormalizedFloat
typedef enum hipChannelFormatKind {
hipChannelFormatKindSigned = 0,
hipChannelFormatKindUnsigned = 1,
hipChannelFormatKindFloat = 2,
hipChannelFormatKindNone = 3
} hipChannelFormatKind;
// hipChannelFormatKind
#define hipChannelFormatKind cudaChannelFormatKind
#define hipChannelFormatKindSigned cudaChannelFormatKindSigned
#define hipChannelFormatKindUnsigned cudaChannelFormatKindUnsigned
#define hipChannelFormatKindFloat cudaChannelFormatKindFloat
#define hipChannelFormatKindNone cudaChannelFormatKindNone
#define hipSurfaceBoundaryMode cudaSurfaceBoundaryMode
#define hipBoundaryModeZero cudaBoundaryModeZero