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

Fix for github #1183 issue reported

[ROCm/hip commit: 84de192c9b]
Tá an tiomantas seo le fáil i:
Sarbojit2019 údaraithe agus Maneesh Gupta tiomanta 2019-08-21 10:01:03 +00:00
1 tuismitheoir 7dca0455e9
tiomantas edb699bd32
1 comhad athraithe
+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