Skip to content

Commit 1d1022c

Browse files
committed
Add DEBUG prints
1 parent 1d5ebb3 commit 1d1022c

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/reusable_gpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
os:
1313
description: A list of OSes
1414
type: string
15-
default: "['Ubuntu', 'Windows']"
15+
default: "['Ubuntu']"
1616
build_type:
1717
description: A list of build types
1818
type: string

benchmark/ubench.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,9 @@ UBENCH_EX(simple, proxy_pool_with_os_memory_provider) {
239239
proxy_pool);
240240
}
241241

242+
fprintf(stderr, ">>> DEBUG 1-A umfPoolDestroy(proxy_pool)\n");
242243
umfPoolDestroy(proxy_pool);
244+
fprintf(stderr, ">>> DEBUG 1-B umfPoolDestroy(proxy_pool)\n");
243245
umfMemoryProviderDestroy(os_memory_provider);
244246
free(array);
245247
}
@@ -314,7 +316,9 @@ UBENCH_EX(simple, disjoint_pool_with_os_memory_provider) {
314316
disjoint_pool);
315317
}
316318

319+
fprintf(stderr, ">>> DEBUG 2-A umfPoolDestroy(disjoint_pool)\n");
317320
umfPoolDestroy(disjoint_pool);
321+
fprintf(stderr, ">>> DEBUG 2-B umfPoolDestroy(disjoint_pool)\n");
318322
umfDisjointPoolParamsDestroy(disjoint_memory_pool_params);
319323
umfMemoryProviderDestroy(os_memory_provider);
320324
free(array);
@@ -353,7 +357,9 @@ UBENCH_EX(simple, jemalloc_pool_with_os_memory_provider) {
353357
jemalloc_pool);
354358
}
355359

360+
fprintf(stderr, ">>> DEBUG 3-A umfPoolDestroy(jemalloc_pool)\n");
356361
umfPoolDestroy(jemalloc_pool);
362+
fprintf(stderr, ">>> DEBUG 3-B umfPoolDestroy(jemalloc_pool)\n");
357363
umfMemoryProviderDestroy(os_memory_provider);
358364
free(array);
359365
}
@@ -391,7 +397,9 @@ UBENCH_EX(simple, scalable_pool_with_os_memory_provider) {
391397
scalable_pool);
392398
}
393399

400+
fprintf(stderr, ">>> DEBUG 4-A umfPoolDestroy(scalable_pool)\n");
394401
umfPoolDestroy(scalable_pool);
402+
fprintf(stderr, ">>> DEBUG 4-B umfPoolDestroy(scalable_pool)\n");
395403
umfMemoryProviderDestroy(os_memory_provider);
396404
free(array);
397405
}
@@ -586,7 +594,9 @@ UBENCH_EX(ipc, disjoint_pool_with_level_zero_provider) {
586594
umfPoolFree(pool, allocs[i].ptr);
587595
}
588596

597+
fprintf(stderr, ">>> DEBUG 5-A umfPoolDestroy(pool)\n");
589598
umfPoolDestroy(pool);
599+
fprintf(stderr, ">>> DEBUG 5-B umfPoolDestroy(pool)\n");
590600

591601
err_params_destroy:
592602
umfDisjointPoolParamsDestroy(disjoint_params);

0 commit comments

Comments
 (0)