Skip to content

Commit

Permalink
Merge pull request #107 from ygtangg/main
Browse files Browse the repository at this point in the history
swapped thread dimension
  • Loading branch information
williamfgc authored Jul 9, 2024
2 parents 3ea080c + 04ee85d commit 256aec0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/JACCAMDGPU/JACCAMDGPU.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ function JACC.parallel_for(
I <: Integer, F <: Function}
numThreads = 32
Lthreads = min(L, numThreads)
Mthreads = min(M, numThreads)
Nthreads = 1
Mthreads = 1
Nthreads = min(M, numThreads)
Lblocks = ceil(Int, L / Lthreads)
Mblocks = ceil(Int, M / Mthreads)
Nblocks = ceil(Int, N / Nthreads)
Expand Down

0 comments on commit 256aec0

Please sign in to comment.