diff --git a/Project.toml b/Project.toml index 2a25660..489da10 100644 --- a/Project.toml +++ b/Project.toml @@ -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" diff --git a/src/InclusiveScans.jl b/src/InclusiveScans.jl index 4feae1b..b029203 100644 --- a/src/InclusiveScans.jl +++ b/src/InclusiveScans.jl @@ -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},