Skip to content

Commit

Permalink
julia 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Dec 29, 2023
1 parent fc7b94c commit 9505e0d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-judi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fail-fast: false

matrix:
version: ['1.6', '1.7', '1.8', '1.9']
version: ['1.6', '1.7', '1.8', '1.9', '1.10']
os: [ubuntu-latest, macos-latest]

steps:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci-op.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,27 @@ jobs:
include:
- os: macos-latest
version: '1.6'
op: "BASICS"
op: "ISO_OP"
omp: 1

- os: macos-latest
version: '1.7'
op: "BASICS"
op: "ISO_OP"
omp: 1

- os: macos-latest
version: '1.8'
op: "BASICS"
op: "ISO_OP"
omp: 1

- os: ubuntu-latest
version: '1.9'
op: "VISCO_AC_OP"
op: "ISO_OP"
omp: 2

- os: ubuntu-latest
version: '1.6'
op: "BASICS"
version: '1.10'
op: "ISO_OP"
omp: 2

steps:
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/lsrtm_2D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ q = judiVector(src_geometry, wavelet)
###################################################################################################
# Infer subsampling based on free memory
mem = Sys.free_memory()/(1024^3)
t_sub = max(1, ceil(Int, nworkers()*grad_mem/mem))
t_sub = max(1, ceil(Int, .5*nworkers()*grad_mem/mem))

# Setup operators
opt = Options(subsampling_factor=t_sub, isic=true) # ~40 GB of memory per source without subsampling
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/splsrtm_2D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ q = judiVector(src_geometry, wavelet)
###################################################################################################
# Infer subsampling based on free memory
mem = Sys.free_memory()/(1024^3)
t_sub = max(1, ceil(Int, nworkers()*grad_mem/mem))
t_sub = max(1, ceil(Int, .5*nworkers()*grad_mem/mem))

# Setup operators
opt = Options(subsampling_factor=t_sub, isic=true) # ~40 GB of memory per source without subsampling
Expand Down

0 comments on commit 9505e0d

Please sign in to comment.