Skip to content

Commit

Permalink
Remove fence before calling kokkos_free
Browse files Browse the repository at this point in the history
  • Loading branch information
pzehner committed Oct 1, 2024
1 parent a27b00e commit ad8293e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ int main(int argc, char *argv[])
Kokkos::parallel_for("destroy", 1, KOKKOS_LAMBDA (const int i) {
deviceInstance->~Base(); // destroy on device
});
Kokkos::fence("wait for destroy");
Kokkos::kokkos_free(deviceInstanceMemory); // free
}
Expand Down

0 comments on commit ad8293e

Please sign in to comment.