Skip to content

Commit

Permalink
Fix typo in use of stream-ordered allocator.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Feb 23, 2022
1 parent 8bbf802 commit 7c8180e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pool.jl
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ end
pool_mark(state.device) # mark the pool as active
@retry_reclaim isnothing actual_alloc(sz; async=true, stream)
else
@retry_reclaim isnothing actual_alloc(sz; async=true, stream)
@retry_reclaim isnothing actual_alloc(sz; async=false, stream)
end
buf === nothing && throw(OutOfGPUMemoryError(sz))
end
Expand Down

0 comments on commit 7c8180e

Please sign in to comment.