Skip to content

Commit

Permalink
Update src/memory.jl
Browse files Browse the repository at this point in the history
Co-Authored-By: Tim Besard <[email protected]>
  • Loading branch information
kshyatt and maleadt committed Apr 6, 2020
1 parent 0bc80bc commit 8942040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/memory.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Base.convert(::Type{CuPtr{T}}, buf::DeviceBuffer) where {T} =
Mem.alloc(DeviceBuffer, bytesize::Integer)
Allocate `bytesize` bytes of memory on the device. This memory is only accessible on the
GPU, and requires explicit calls to `unsafe_copyto!`, which wraps `cudaMemCopy`,
GPU, and requires explicit calls to `unsafe_copyto!`, which wraps `cuMemcpy`,
for access on the CPU.
"""
function alloc(::Type{DeviceBuffer}, bytesize::Integer)
Expand Down

0 comments on commit 8942040

Please sign in to comment.