From 6a32e8ef18e01ad062834c72c9f6b96048f97006 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Fri, 26 Apr 2019 14:11:13 +0200 Subject: [PATCH] Fix ulong datatype on Windows x64 --- OpenCL/inc_types.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/OpenCL/inc_types.h b/OpenCL/inc_types.h index 867bb728e..daa93cf2e 100644 --- a/OpenCL/inc_types.h +++ b/OpenCL/inc_types.h @@ -7,10 +7,11 @@ #define _INC_TYPES_H #ifdef IS_CUDA -typedef unsigned char uchar; -typedef unsigned short ushort; -typedef unsigned int uint; -typedef unsigned long ulong; +//https://docs.nvidia.com/cuda/nvrtc/index.html#integer-size +typedef unsigned char uchar; +typedef unsigned short ushort; +typedef unsigned int uint; +typedef unsigned long long ulong; #endif #ifdef KERNEL_STATIC