Skip to content

Commit

Permalink
Turn off multithreading for now
Browse files Browse the repository at this point in the history
  • Loading branch information
bclyons12 committed Nov 29, 2023
1 parent 1920020 commit 26818ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/GS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ function define_Astar!(Astar, shot, Fis, dFis, Fos, Ps)
Astar.nzval .= 0.0

# Loop over columns of
Threads.@threads for m in 0:shot.M
#Threads.@threads
for m in 0:shot.M
tid = Threads.threadid()
define_Acol!(Astar, m, shot, Fis[tid], dFis[tid], Fos[tid], Ps[tid])
end
Expand Down Expand Up @@ -285,7 +286,8 @@ function define_B!(B, shot, Fis::Vector{<:AbstractVector{<:Complex}}, Fos::Vecto
rhs(x, t) = RHS(shot, x, t, invR, invR2, shot.Q)

# Loop over columns of
Threads.@threads for j in 1:N
#Threads.@threads
for j in 1:N

je = 2j
jo = je - 1
Expand Down

0 comments on commit 26818ee

Please sign in to comment.