Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
eddy16112 committed Jul 25, 2023
1 parent 41c2c73 commit 6c7a554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions realm_subgraph/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ DECLARE_REDUCTION(RedopMax, unsigned long long, unsigned long long,
Event copy(RegionInstance src_inst, RegionInstance dst_inst, FieldID fid,
size_t value_size, Event wait_for)
{
Processor current_proc = ThreadLocal::current_processor;
Processor current_proc = Processor::get_executing_processor();
if (dst_inst.address_space() != current_proc.address_space()) {
dst_inst.fetch_metadata(current_proc).wait();
}
Expand Down Expand Up @@ -143,7 +143,7 @@ Event copy(RegionInstance src_inst, RegionInstance dst_inst, FieldID fid,
SubgraphDefinition::CopyDesc copy_desc(RegionInstance src_inst, RegionInstance dst_inst, FieldID fid,
size_t value_size)
{
Processor current_proc = ThreadLocal::current_processor;
Processor current_proc = Processor::get_executing_processor();
if (dst_inst.address_space() != current_proc.address_space()) {
dst_inst.fetch_metadata(current_proc).wait();
}
Expand Down

0 comments on commit 6c7a554

Please sign in to comment.