We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I observed that broadcast tend to allocate less memory than map!. E.g.,
map!
julia> @time X .= .+(X,X); @time map!(+, X, X, X); 0.000074 seconds (33 allocations: 608 bytes) 0.000121 seconds (64 allocations: 2.078 KiB)
Also, we should cache the spmv buffer to reduce the matmul time https://github.com/JuliaGPU/CUDA.jl/blob/1389800a26078df16cc689ed5138f0691185ce61/lib/cusparse/generic.jl#L181-L189
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I observed that broadcast tend to allocate less memory than
map!
. E.g.,Also, we should cache the spmv buffer to reduce the matmul time
https://github.com/JuliaGPU/CUDA.jl/blob/1389800a26078df16cc689ed5138f0691185ce61/lib/cusparse/generic.jl#L181-L189
The text was updated successfully, but these errors were encountered: