Skip to content

Fix compile error in acl_hal_fuzz_test #381

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
Sep 13, 2024
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
4 changes: 2 additions & 2 deletions fuzz_testing/test/acl_hal_fuzz_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ int acl_test_hal_close_devices(cl_uint num_devices,
void *acl_test_hal_shared_alloc(cl_device_id device, size_t size,
size_t alignment, mem_properties_t *properties,
int *error);
void *acl_test_hal_host_alloc(const std::vector<cl_device_id> devices,
void *acl_test_hal_host_alloc(const std::vector<cl_device_id> &devices,
size_t size, size_t alignment,
mem_properties_t *properties, int *error);
int acl_test_hal_free(cl_context context, void *ptr);
Expand Down Expand Up @@ -652,7 +652,7 @@ void *acl_test_hal_shared_alloc(cl_device_id device, size_t size,
return (void *)0xdeadbeefdeadbeef;
}

void *acl_test_hal_host_alloc(const std::vector<cl_device_id>, size_t, size_t,
void *acl_test_hal_host_alloc(const std::vector<cl_device_id> &, size_t, size_t,
mem_properties_t *, int *) {
return (void *)0xdeadbeefdeadbeef;
}
Expand Down