Try
@eval f(x, y) = $(build_function(to_calculate, x, y, expression=Val{true}))
instead of
RuntimeGeneratedFunctions.jl doesn’t really play nicely with CUDA.jl.
Try
@eval f(x, y) = $(build_function(to_calculate, x, y, expression=Val{true}))
instead of
RuntimeGeneratedFunctions.jl doesn’t really play nicely with CUDA.jl.