From fbded8d8f476f9484847acccda97df12fb11aab4 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 12 Apr 2023 13:06:09 -0400 Subject: [PATCH] include fix from @ndtrung81 --- lib/gpu/lal_pppm.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/gpu/lal_pppm.cpp b/lib/gpu/lal_pppm.cpp index 39249ea350..f957b36a7d 100644 --- a/lib/gpu/lal_pppm.cpp +++ b/lib/gpu/lal_pppm.cpp @@ -79,6 +79,8 @@ grdtyp *PPPMT::init(const int nlocal, const int nall, FILE *_screen, return nullptr; } + if (ucl_device!=device->gpu) _compiled=false; + ucl_device=device->gpu; atom=&device->atom;