From cb8e2c98eee26f0162bca8665d2453c0171eaae3 Mon Sep 17 00:00:00 2001 From: Pascal Aellig Date: Fri, 5 Jul 2024 16:17:37 +0200 Subject: [PATCH] format --- src/ext/AMDGPU/2D.jl | 8 ++------ src/ext/AMDGPU/3D.jl | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/ext/AMDGPU/2D.jl b/src/ext/AMDGPU/2D.jl index 13e02b72..2f494174 100644 --- a/src/ext/AMDGPU/2D.jl +++ b/src/ext/AMDGPU/2D.jl @@ -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 @@ -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 diff --git a/src/ext/AMDGPU/3D.jl b/src/ext/AMDGPU/3D.jl index e51adc99..2a29f01e 100644 --- a/src/ext/AMDGPU/3D.jl +++ b/src/ext/AMDGPU/3D.jl @@ -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 @@ -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