Skip to content

Commit

Permalink
Merge branch 'main' into adm/variational
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-de-montserrat committed Oct 25, 2024
2 parents f4a78f1 + a39bb58 commit cdf7783
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/JustRelax_CPU.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import JustRelax:

import JustPIC._2D: numphases, nphases

@init_parallel_stencil(Threads, Float64, 2)
__init__() = @init_parallel_stencil(Threads, Float64, 2)

include("common.jl")
include("stokes/Stokes2D.jl")
Expand Down Expand Up @@ -52,7 +52,7 @@ import JustRelax:

import JustPIC._3D: numphases, nphases

@init_parallel_stencil(Threads, Float64, 3)
__init__() = @init_parallel_stencil(Threads, Float64, 3)

include("common.jl")
include("stokes/Stokes3D.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/ext/AMDGPU/2D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import JustRelax:

import JustPIC._2D: nphases, numphases

@init_parallel_stencil(AMDGPU, Float64, 2)
__init__() = @init_parallel_stencil(AMDGPU, Float64, 2)

include("../../common.jl")
include("../../stokes/Stokes2D.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/ext/AMDGPU/3D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import JustRelax:

import JustPIC._3D: numphases, nphases

@init_parallel_stencil(AMDGPU, Float64, 3)
__init__() = @init_parallel_stencil(AMDGPU, Float64, 3)

include("../../common.jl")
include("../../stokes/Stokes3D.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/ext/CUDA/2D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import JustRelax:

import JustPIC._2D: numphases, nphases

@init_parallel_stencil(CUDA, Float64, 2)
__init__() = @init_parallel_stencil(CUDA, Float64, 2)

include("../../common.jl")
include("../../stokes/Stokes2D.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/ext/CUDA/3D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import JustRelax:

import JustPIC._3D: numphases, nphases

@init_parallel_stencil(CUDA, Float64, 3)
__init__() = @init_parallel_stencil(CUDA, Float64, 3)

include("../../common.jl")
include("../../stokes/Stokes3D.jl")
Expand Down

0 comments on commit cdf7783

Please sign in to comment.