Skip to content
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

Remove unused variable to avoid compiler warning #77

Merged
merged 1 commit into from
Feb 17, 2022
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion lib/acl_threadsupport/test/acl_threadsupport_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,6 @@ TEST(condvar, wait_signal_with_timeout) {
struct acl_condvar_s cc;
acl_init_condvar(&cc);

int timedout = 0;
acl_acquire_condvar(&cc);
CHECK_EQUAL(1, acl_timed_wait_condvar(&cc, 1));
CHECK_EQUAL(1, cc.timedout[0]);
Expand Down
1 change: 0 additions & 1 deletion test/acl_mem_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2809,7 +2809,6 @@ TEST(acl_mem, buffer_location_property) {
size_t total_size = ACL_RANGE_SIZE(
m_device[0]->def.autodiscovery_def.global_mem_defs[0].range);
size_t bank_size = total_size / 2;
size_t small_size = bank_size / 1024;

cl_mem_properties_intel props[] = {CL_MEM_ALLOC_BUFFER_LOCATION_INTEL, 0, 0};
a = clCreateBufferWithPropertiesINTEL(m_context, props, 0, bank_size, 0,
Expand Down