Skip to content

Commit 906017c

Browse files
committed
common/cuda: Change cuMemAlloc to use size_t
Change the unsigned int to use a size_t for cuMemAlloc Signed-off-by: William Zhang <[email protected]>
1 parent f69f03a commit 906017c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/common/cuda/common_cuda.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ struct cudaFunctionTable {
7979
int (*cuPointerGetAttribute)(void *, CUpointer_attribute, CUdeviceptr);
8080
int (*cuMemcpyAsync)(CUdeviceptr, CUdeviceptr, size_t, CUstream);
8181
int (*cuMemcpy)(CUdeviceptr, CUdeviceptr, size_t);
82-
int (*cuMemAlloc)(CUdeviceptr *, unsigned int);
82+
int (*cuMemAlloc)(CUdeviceptr *, size_t);
8383
int (*cuMemFree)(CUdeviceptr buf);
8484
int (*cuCtxGetCurrent)(void *cuContext);
8585
int (*cuStreamCreate)(CUstream *, int);

0 commit comments

Comments
 (0)