Fix GPU interpolation cache lifetime leaks
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include "var.h"
|
||||
#include "macrodef.h" //need dim here; Vertex or Cell; ghost_width
|
||||
|
||||
class Patch
|
||||
class Patch
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -50,6 +50,8 @@ public:
|
||||
double *Shellf, int Symmetry, MPI_Comm Comm_here);
|
||||
void Find_Maximum(MyList<var> *VarList, double *XX,
|
||||
double *Shellf, MPI_Comm Comm_here);
|
||||
};
|
||||
|
||||
#endif /* PATCH_H */
|
||||
};
|
||||
|
||||
void patch_release_interp_plan_cache();
|
||||
|
||||
#endif /* PATCH_H */
|
||||
|
||||
Reference in New Issue
Block a user