Skip to content

Commit e0944b9

Browse files
committed
Fix compile error in acl_hal_fuzz_test
(cherry picked from commit 103c38e)
1 parent cfe59cd commit e0944b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fuzz_testing/test/acl_hal_fuzz_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ int acl_test_hal_close_devices(cl_uint num_devices,
9494
void *acl_test_hal_shared_alloc(cl_device_id device, size_t size,
9595
size_t alignment, mem_properties_t *properties,
9696
int *error);
97-
void *acl_test_hal_host_alloc(const std::vector<cl_device_id> devices,
97+
void *acl_test_hal_host_alloc(const std::vector<cl_device_id> &devices,
9898
size_t size, size_t alignment,
9999
mem_properties_t *properties, int *error);
100100
int acl_test_hal_free(cl_context context, void *ptr);
@@ -652,7 +652,7 @@ void *acl_test_hal_shared_alloc(cl_device_id device, size_t size,
652652
return (void *)0xdeadbeefdeadbeef;
653653
}
654654

655-
void *acl_test_hal_host_alloc(const std::vector<cl_device_id>, size_t, size_t,
655+
void *acl_test_hal_host_alloc(const std::vector<cl_device_id> &, size_t, size_t,
656656
mem_properties_t *, int *) {
657657
return (void *)0xdeadbeefdeadbeef;
658658
}

0 commit comments

Comments
 (0)