Skip to content

Commit

Permalink
Update kp_sampler_skip.cpp: put erase back
Browse files Browse the repository at this point in the history
Erase got deleted (there on the develop branch) 

Took it out due to copy-paste
  • Loading branch information
vlkale authored Oct 23, 2023
1 parent d0a24ba commit 9df6748
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/kokkos-sampler/kp_sampler_skip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ void kokkosp_end_parallel_for(const uint64_t kID) {
invoke_ktools_fence(0);
}
(*endForCallee)(retrievedNestedkID);
infokIDSample.erase(kID);
}
}
}
Expand Down Expand Up @@ -338,6 +339,7 @@ void kokkosp_end_parallel_scan(const uint64_t kID) {
invoke_ktools_fence(0);
}
(*endScanCallee)(retrievedNestedkID);
infokIDSample.erase(kID);
}
}
}
Expand Down Expand Up @@ -377,6 +379,7 @@ void kokkosp_end_parallel_reduce(const uint64_t kID) {
invoke_ktools_fence(0);
}
(*endScanCallee)(retrievedNestedkID);
infokIDSample.erase(kID);
}
}
}
Expand Down

0 comments on commit 9df6748

Please sign in to comment.