Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
aelligp committed Jul 5, 2024
1 parent 0f2c8cc commit cb8e2c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions src/ext/AMDGPU/2D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,7 @@ function JR2D.velocity2displacement!(
return _velocity2displacement!(stokes, dt)
end

function velocity2displacement!(
::AMDGPUBackendTrait, stokes::JustRelax.StokesArrays, dt
)
function velocity2displacement!(::AMDGPUBackendTrait, stokes::JustRelax.StokesArrays, dt)
return _velocity2displacement!(stokes, dt)
end

Expand All @@ -225,9 +223,7 @@ function JR2D.displacement2velocity!(
return _displacement2velocity!(stokes, dt)
end

function displacement2velocity!(
::AMDGPUBackendTrait, stokes::JustRelax.StokesArrays, dt
)
function displacement2velocity!(::AMDGPUBackendTrait, stokes::JustRelax.StokesArrays, dt)
return _displacement2velocity!(stokes, dt)
end

Expand Down
8 changes: 2 additions & 6 deletions src/ext/AMDGPU/3D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,7 @@ function JR3D.velocity2displacement!(
return _velocity2displacement!(stokes, dt)
end

function velocity2displacement!(
::AMDGPUBackendTrait, stokes::JustRelax.StokesArrays, dt
)
function velocity2displacement!(::AMDGPUBackendTrait, stokes::JustRelax.StokesArrays, dt)
return _velocity2displacement!(stokes, dt)
end

Expand All @@ -225,9 +223,7 @@ function JR3D.displacement2velocity!(
return _displacement2velocity!(stokes, dt)
end

function displacement2velocity!(
::AMDGPUBackendTrait, stokes::JustRelax.StokesArrays, dt
)
function displacement2velocity!(::AMDGPUBackendTrait, stokes::JustRelax.StokesArrays, dt)
return _displacement2velocity!(stokes, dt)
end
# Solvers
Expand Down

0 comments on commit cb8e2c9

Please sign in to comment.