Skip to content

Commit b350c05

Browse files
committed
[examples] Set default value for ipc level zero test
1 parent da78dae commit b350c05

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

examples/ipc_level_zero/ipc_level_zero.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@ int create_level_zero_pool(ze_context_handle_t context,
7676
goto provider_destroy;
7777
}
7878

79+
// Set max poolable size to 0
80+
umf_result = umfDisjointPoolParamsSetMaxPoolableSize(disjoint_params, 0);
81+
if (umf_result != UMF_RESULT_SUCCESS) {
82+
fprintf(stderr, "ERROR: Failed to set max poolable size!\n");
83+
goto provider_destroy;
84+
}
85+
7986
// create pool
8087
umf_pool_create_flags_t flags = UMF_POOL_CREATE_FLAG_OWN_PROVIDER;
8188
umf_result = umfPoolCreate(umfDisjointPoolOps(), provider, disjoint_params,

0 commit comments

Comments
 (0)