Skip to content

Commit

Permalink
Fix error: unused variable 'device_buffer' from cts_test_base.h (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental authored Oct 18, 2024
1 parent 2dffc9e commit 6a2b50f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime/src/iree/hal/cts/cts_test_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ class CTSTestBase : public BaseType, public CTSTestResources {
IREE_HAL_BUFFER_USAGE_DISPATCH_STORAGE | IREE_HAL_BUFFER_USAGE_TRANSFER;
iree_hal_buffer_t* device_buffer = NULL;
IREE_ASSERT_OK(iree_hal_allocator_allocate_buffer(
iree_hal_device_allocator(device_), params, buffer_size, out_buffer));
iree_hal_device_allocator(device_), params, buffer_size,
&device_buffer));
*out_buffer = device_buffer;
}

void CreateZeroedDeviceBuffer(iree_device_size_t buffer_size,
Expand Down

0 comments on commit 6a2b50f

Please sign in to comment.