Skip to content

Commit

Permalink
Fix PmfData deallocate() on GPU (AMReX-Combustion#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
ensonun authored Dec 12, 2023
1 parent ab2c54a commit 22637b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Utility/PMF/PMFData.H
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public:
amrex::The_Pinned_Arena()->free(m_data_h.pmf_Y);
}
if (m_device_allocated) {
amrex::The_Device_Arena()->free(m_data_d);
amrex::The_Arena()->free(m_data_d);
}
}

Expand Down

0 comments on commit 22637b3

Please sign in to comment.