Skip to content

Commit 8095bb3

Browse files
AnandAnand
authored andcommitted
fix ibm benchmark on frontier + amd
1 parent 9b1e64f commit 8095bb3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/simulation/m_compute_levelset.fpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ contains
3333

3434
integer :: i, patch_id, patch_geometry
3535

36+
if (num_gps < 1) then
37+
return
38+
end if
39+
3640
$:GPU_UPDATE(device='[gps(1:num_gps)]')
3741

3842
! 3D Patch Geometries

0 commit comments

Comments
 (0)