mirror of
https://igit.ific.uv.es/alramos/latticegpu.jl.git
synced 2025-05-14 19:23:42 +02:00
Reduction arrays have as argument CartesianIndex
This commit is contained in:
parent
79a6e21cbc
commit
428f9782ce
6 changed files with 72 additions and 21 deletions
|
@ -19,7 +19,9 @@ vector_field(::Type{T}, lp::SpaceParm) where {T} = CuArray{T, 3}(undef, lp.b
|
|||
scalar_field(::Type{T}, lp::SpaceParm) where {T} = CuArray{T, 2}(undef, lp.bsz, lp.rsz)
|
||||
nscalar_field(::Type{T}, n, lp::SpaceParm) where {T} = CuArray{T, 3}(undef, lp.bsz, n, lp.rsz)
|
||||
|
||||
export vector_field, scalar_field, nscalar_field
|
||||
scalar_field_point(::Type{T}, lp::SpaceParm{N,M,D}) where {T,N,M,D} = CuArray{T, N}(undef, lp.iL...)
|
||||
|
||||
export vector_field, scalar_field, nscalar_field, scalar_field_point
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue