Skip to content

Commit

Permalink
Fix windows failure
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhang93 committed Oct 30, 2024
1 parent c927a4e commit 6a03eda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/src/iree-amd-aie/driver/xrt/nop_semaphore.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ iree_status_t iree_hal_xrt_semaphore_create(
iree_hal_semaphore_initialize(&iree_hal_xrt_semaphore_vtable,
&semaphore->base);
semaphore->host_allocator = host_allocator;
iree_atomic_store_int64(&semaphore->value, initial_value,
iree_atomic_store(&semaphore->value, initial_value,
iree_memory_order_release);
*out_semaphore = &semaphore->base;
}
Expand Down Expand Up @@ -78,7 +78,7 @@ static iree_status_t iree_hal_xrt_semaphore_signal(
iree_hal_xrt_semaphore_cast(base_semaphore);
// TODO: Support semaphores completely. Return OK currently as everything is
// synchronized for each submit to allow things to run.
iree_atomic_store_int64(&semaphore->value, new_value,
iree_atomic_store(&semaphore->value, new_value,
iree_memory_order_release);
iree_hal_semaphore_poll(&semaphore->base);
return iree_ok_status();
Expand Down

0 comments on commit 6a03eda

Please sign in to comment.