mirror of
https://igit.ific.uv.es/alramos/latticegpu.jl.git
synced 2025-05-14 19:23:42 +02:00
Merge branch 'master' of igit.ific.uv.es:alramos/latticegpu.jl
This commit is contained in:
commit
bee24c52a8
1 changed files with 1 additions and 7 deletions
|
@ -20,13 +20,7 @@ end
|
|||
function field_pln(::Type{T}, lp::SpaceParm) where {T}
|
||||
|
||||
sz = lp.bsz, lp.npls, lp.rsz, 3
|
||||
try
|
||||
println("Using fast version")
|
||||
return CuArray{T, 4}(undef, sz)
|
||||
catch
|
||||
println("Using memory efficient version")
|
||||
return nothing
|
||||
end
|
||||
return CuArray{T, 4}(undef, sz)
|
||||
end
|
||||
|
||||
function randomize!(f, lp::SpaceParm, ymws::YMworkspace)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue