Skip to content

Commit

Permalink
Fix last issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Strack committed Jul 27, 2024
1 parent 50318e1 commit d0f5ca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/core/openshmem_base/src/openshmem_environment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ std::cout << "7 parcelport constructor" << std::endl << std::flush;
shmem_fence();
shmem_uint8_put(sigaddr, sigaddr, 1, node);
#else
shmem_uint8_put_signal(raddr, addr, size, sigaddr, 1, SHMEM_SIGNAL_SET, node);
shmem_uint8_put_signal(raddr, addr, size, reinterpret_cast<uint64_t*>(sigaddr), 1, SHMEM_SIGNAL_SET, node);
#endif
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ std::cout << "send_chunks" << std::endl;
auto amt = 0;
for(std::size_t itr = 0; itr < header_numitrs; ++itr) {
hpx::util::openshmem_environment::put_signal(
reinterpret_cast<const std::uint8_t*>(c.data_.cpos_ + amt), dst_,
reinterpret_cast<const std::uint8_t*>(const_cast<void*>(c.data_.cpos_)) + amt, dst_,
hpx::util::openshmem_environment::segments[src_].beg_addr,
data_seg[(itr == header_numitrs_term)],
hpx::util::openshmem_environment::segments[src_].rcv
Expand Down

0 comments on commit d0f5ca0

Please sign in to comment.