Skip to content

Commit

Permalink
Add CUDA
Browse files Browse the repository at this point in the history
  • Loading branch information
Korjick committed Jan 20, 2025
1 parent 460d488 commit f481b01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name = "InclusiveScans"
uuid = "ef74772d-374f-5edb-a43a-0dbb31824c9d"
authors = [
"Uwe Hernandez Acosta",
" Simeon Ehrig",
]
authors = ["Uwe Hernandez Acosta", " Simeon Ehrig"]
version = "0.1.0"

[deps]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"

[compat]
CUDA = "5.6.1"
julia = "1.10"
1 change: 1 addition & 0 deletions src/InclusiveScans.jl
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ function _scanBlockKernel!(
return nothing
end

# Add prefix sum from previous blocks (d_increments[blockIdx.x]) to all elements processing by this block
function _addIncrementsKernel!(
g_odata::CuDeviceVector{Float32,1},
incr::CuDeviceVector{Float32,1},
Expand Down

0 comments on commit f481b01

Please sign in to comment.