Skip to content

Commit

Permalink
Fix launch size
Browse files Browse the repository at this point in the history
  • Loading branch information
utkinis committed Apr 25, 2024
1 parent 7fcc36b commit f75ef97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BoundaryConditions/batch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ bc!(arch::Architecture, grid::SG, f_bc::Vararg{FieldAndBC}; kwargs...) = bc!(arc
end

function bc!(side::Side, dim::Dim, arch::Architecture, grid::SG, batch::FieldBatch)
worksize = remove_dim(dim, size(grid, Center()) .+ 2)
worksize = remove_dim(dim, size(grid, Vertex()) .+ 2)
bc_kernel!(Architectures.get_backend(arch), 256, worksize)(side, dim, grid, batch.fields, batch.conditions)
return
end
Expand Down

0 comments on commit f75ef97

Please sign in to comment.