Browse Source

compat/cuda: correct ushort4 to use ushort

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Matt Oliver 4 years ago
parent
commit
b57037d663
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compat/cuda/cuda_runtime.h

+ 1 - 1
compat/cuda/cuda_runtime.h

@@ -73,7 +73,7 @@ typedef struct __device_builtin__ __align__(4) uchar4
 
 typedef struct __device_builtin__ __align__(8) ushort4
 {
-    unsigned char x, y, z, w;
+    unsigned short x, y, z, w;
 } ushort4;
 
 typedef struct __device_builtin__ __align__(16) int4