Skip to content

Commit

Permalink
CI update to Julia 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
michel2323 committed May 16, 2023
1 parent 4676f97 commit e63d768
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ['1.8']
julia-version: ['1.9']
julia-arch: [x64]
os: [ubuntu-22.04]

Expand All @@ -33,13 +33,12 @@ jobs:

test-moonshot:
env:
# CUDA_VISIBLE_DEVICES: 1
CUDA_VISIBLE_DEVICES: 1
JULIA_DEPOT_PATH: /scratch/github-actions/julia_depot_proxal
JULIA_CUDA_USE_BINARYBUILDER: true
runs-on: self-hosted
strategy:
matrix:
julia-version: ['1.8']
julia-version: ['1.9']
julia-arch: [x64]
os: [ubuntu-22.04]

Expand Down
10 changes: 5 additions & 5 deletions src/ExaAdmmBackend/proxal_admm_gpu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ function generator_kernel_two_level_proxal(ngen::Int, gen_start::Int,

if I <= ngen
n = 2
x = @cuDynamicSharedMem(Float64, n)
xl = @cuDynamicSharedMem(Float64, n, n*sizeof(Float64))
xu = @cuDynamicSharedMem(Float64, n, (2*n)*sizeof(Float64))
x = CuDynamicSharedArray(Float64, n)
xl = CuDynamicSharedArray(Float64, n, n*sizeof(Float64))
xu = CuDynamicSharedArray(Float64, n, (2*n)*sizeof(Float64))

A = @cuDynamicSharedMem(Float64, (n,n), (13*n+3)*sizeof(Float64)+(3*n+3)*sizeof(Int))
c = @cuDynamicSharedMem(Float64, n, (13*n+3+3*n^2)*sizeof(Float64)+(3*n+3)*sizeof(Int))
A = CuDynamicSharedArray(Float64, (n,n), (13*n+3)*sizeof(Float64)+(3*n+3)*sizeof(Int))
c = CuDynamicSharedArray(Float64, n, (13*n+3+3*n^2)*sizeof(Float64)+(3*n+3)*sizeof(Int))

pg_idx = gen_start + 2*(I-1)
qg_idx = gen_start + 2*(I-1) + 1
Expand Down

0 comments on commit e63d768

Please sign in to comment.