Skip to content

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
pvillacorta committed Jun 22, 2024
1 parent eadf2fa commit 7112b64
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions KomaMRICore/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -335,17 +335,18 @@ end
dx = rand(Ns, Nt)
t = collect(range(zero(eltype(dx)), oneunit(eltype(dx)), Nt))

dx = dx |> gpu
t = t |> gpu
dx = dx |> gpu |> f32
t = t |> gpu |> f32

itpx = KomaMRIBase.GriddedInterpolation((t, ), dx[:], (KomaMRIBase.Gridded(KomaMRIBase.Linear()), ));


# ITP Call
tq = collect(0:0.1:1)'
tq = tq |> gpu
tq = tq |> gpu |> f32
tq = KomaMRIBase.unit_time(tq, t_start, t_end)
ux = itpx.(tq)
println(typeof(ux))
@test true
end

Expand Down

0 comments on commit 7112b64

Please sign in to comment.