Skip to content

Commit 4c90fef

Browse files
committed
Use long long int for npy_intp in reshape_funcs.cu
This is 64 bits on Linux and Windows, which corrects an issue with the prototypes not matching on Windows.
1 parent bd3d0a6 commit 4c90fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numba_cuda/numba/cuda/reshape_funcs.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
#define NPY_MAXDIMS 32
66

7-
typedef long int npy_intp;
7+
typedef long long int npy_intp;
88

99
extern "C" __device__ int
1010
nocopy_empty_reshape(npy_intp nd, const npy_intp *dims, const npy_intp *strides,

0 commit comments

Comments
 (0)