Skip to content

Commit bfc6039

Browse files
Add call to updatedevice at init to set device data to 0 initially
1 parent 340eb92 commit bfc6039

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gpu/SELF_MappedScalar_2D.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ subroutine Init_MappedScalar2D(this,interp,nVar,nElem)
118118

119119
call hipblasCheck(hipblasCreate(this%blas_handle))
120120

121+
call this%UpdateDevice()
122+
121123
endsubroutine Init_MappedScalar2D
122124

123125
subroutine Free_MappedScalar2D(this)

0 commit comments

Comments
 (0)