9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 19:43:32 +01:00

Separated gpu and gpu_arch

This commit is contained in:
Anthony Scemama 2024-06-27 12:07:48 +02:00
parent 5d80cb7b2d
commit 6c02ac0f0b

View File

@ -107,7 +107,7 @@ module gpu
double precision, pointer, intent(inout) :: ptr double precision, pointer, intent(inout) :: ptr
type(c_ptr) :: cptr type(c_ptr) :: cptr
cptr = c_loc(ptr) cptr = c_loc(ptr)
call gpu_deallocate(cptr) call gpu_deallocate_c(cptr)
NULLIFY(ptr) NULLIFY(ptr)
end subroutine end subroutine