We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fields
Fields are compatible with broadcasting, but with the current behavior it returns an Array:
Field
Array
julia> N = 16; julia> arch = Arch(backend); julia> grid = UniformGrid(arch; origin=(0, 0), extent=(1, 1), dims=(N,N)); julia> launch = Launcher(arch, grid); julia> C = Field(backend, grid, Center()) 2D 16×16 Field{Float64} located at (Center, Center) julia> (C.*C) |> typeof Matrix{Float64} (alias for Array{Float64, 2})
It would be nice if it returned a Field instead.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Field
s are compatible with broadcasting, but with the current behavior it returns anArray
:It would be nice if it returned a
Field
instead.The text was updated successfully, but these errors were encountered: