|
|
|
|
|
by cdsousa
2105 days ago
|
|
"""
[...] it is possible to perform kernel-like operations without actually writing your own GPU kernels:
a = CUDA.zeros(1024)
b = CUDA.ones(1024)
a.^2 .+ sin.(b)
""" [https://juliagpu.gitlab.io/CUDA.jl/usage/overview/#The-CuArr...] As far as I know, that example code creates an ad-hoc kernel that performs the computation in a single pass. I honestly don't know if that is possible in other frameworks. |
|