Skip to content

Commit cd31ce1

Browse files
authored
Merge pull request #10750 from shasson5/cuda
UCT/CUDA_COPY: Fix stack overflow bug when calling cuPointerGetAttribute
2 parents 2e17df8 + beab36c commit cd31ce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uct/cuda/cuda_copy/cuda_copy_md.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ uct_cuda_copy_mem_alloc_fabric(uct_cuda_copy_md_t *md,
201201
ucs_log_level_t log_level = (md->config.enable_fabric == UCS_YES) ?
202202
UCS_LOG_LEVEL_ERROR : UCS_LOG_LEVEL_DEBUG;
203203
ucs_status_t status;
204-
int allowed_types;
204+
uint64_t allowed_types;
205205

206206
if (!(flags & UCT_MD_MEM_FLAG_HIDE_ERRORS) &&
207207
(md->config.enable_fabric == UCS_YES)) {

0 commit comments

Comments
 (0)