Skip to content

Commit

Permalink
Fix synchronize
Browse files Browse the repository at this point in the history
  • Loading branch information
utkinis committed Oct 16, 2023
1 parent 7090c4f commit b923d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BoundaryConditions/field_boundary_conditions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function apply_boundary_conditions!(::Val{S}, ::Val{D}, arch::Architecture, grid
worksize = remove_dim(Val(D), size(grid, Vertex()))
# launch!(_apply_boundary_conditions! => (Val(S), Val(D), grid, bc.fields, bc.conditions); backend, worksize)
_apply_boundary_conditions!(arch.backend, 256, worksize)(Val(S), Val(D), grid, sizes, bc.fields, bc.conditions)
async || KernelAbstractions.synchronize(backend)
async || KernelAbstractions.synchronize(arch.backend)
return
end

Expand Down

0 comments on commit b923d74

Please sign in to comment.