Skip to content

Commit e852d1c

Browse files
committed
chore: fix format string for TheMSys size_t member
1 parent dd8b18f commit e852d1c

File tree

1 file changed

+4
-4
lines changed
  • numba_cuda/numba/cuda/memory_management

1 file changed

+4
-4
lines changed

numba_cuda/numba/cuda/memory_management/memsys.cu

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ extern "C" __global__ void NRT_MemSys_print(void)
8989
if (TheMSys != nullptr)
9090
{
9191
printf("TheMSys->stats.enabled %d\n", TheMSys->stats.enabled);
92-
printf("TheMSys->stats.alloc %lu\n", TheMSys->stats.alloc.load());
93-
printf("TheMSys->stats.free %lu\n", TheMSys->stats.free.load());
94-
printf("TheMSys->stats.mi_alloc %lu\n", TheMSys->stats.mi_alloc.load());
95-
printf("TheMSys->stats.mi_free %lu\n", TheMSys->stats.mi_free.load());
92+
printf("TheMSys->stats.alloc %zu\n", TheMSys->stats.alloc.load());
93+
printf("TheMSys->stats.free %zu\n", TheMSys->stats.free.load());
94+
printf("TheMSys->stats.mi_alloc %zu\n", TheMSys->stats.mi_alloc.load());
95+
printf("TheMSys->stats.mi_free %zu\n", TheMSys->stats.mi_free.load());
9696
} else {
9797
printf("TheMsys is null.\n");
9898
}

0 commit comments

Comments
 (0)