Skip to content

Fix IPC benchmark in ubench #1075

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions benchmark/ubench.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@

#include "utils_common.h"

#if (defined UMF_BUILD_LIBUMF_POOL_DISJOINT && \
defined UMF_BUILD_LEVEL_ZERO_PROVIDER && defined UMF_BUILD_GPU_TESTS)
#if (defined UMF_POOL_DISJOINT_ENABLED && \
defined UMF_PROVIDER_LEVEL_ZERO_ENABLED && defined UMF_BUILD_GPU_TESTS)
#include "utils_level_zero.h"
#endif

Expand Down Expand Up @@ -422,7 +422,7 @@ UBENCH_EX(simple, scalable_pool_with_os_memory_provider) {
#endif /* (defined UMF_POOL_SCALABLE_ENABLED) */

#if (defined UMF_POOL_DISJOINT_ENABLED && \
defined UMF_BUILD_LEVEL_ZERO_PROVIDER && defined UMF_BUILD_GPU_TESTS)
defined UMF_PROVIDER_LEVEL_ZERO_ENABLED && defined UMF_BUILD_GPU_TESTS)
static void do_ipc_get_put_benchmark(alloc_t *allocs, size_t num_allocs,
size_t repeats,
umf_ipc_handle_t *ipc_handles) {
Expand Down
Loading