Although I have never used it in production (yet), I am quite impressed by Halide (
halide-lang.org), especially by its seperation of logic and compute schedule (storage layout / compute & memory access patterns). It also allows to use the same source code to generate optimized GPU and/or multi-code CPU code!
Tim, you have a repo called Halide.jl - were you trying to wrap it at some point?
It would be absolutely amazing to be able to write Halide code "as Julia" code.
I started with that a long time ago (bit didn't follow through), basically just trying to map the Halide types and functions to Julia. For code generation I was simply planning to go the convert-AST-to-C-and-invoke-halide route, as I believe it is much easier at first.
What do you think?
Am 18.08.2015 um 19:10 schrieb Tim Holy <
tim....@gmail.com>:
> I agree it would be awesome to be able to write GPU kernels in Julia.
>
> But Valentin, I'm curious: how much would the code basically look the same as
> what you'd write in C? The example athttps://
github.com/maleadt/CUDA.jl is so
> --
> You received this message because you are subscribed to the Google Groups "julia-gpu" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
julia-gpu+...@googlegroups.com.
> To post to this group, send email to
juli...@googlegroups.com.
> To view this discussion on the web visithttps://
groups.google.com/d/msgid/julia-gpu/1620610.XgeQqIoO7L%40diva.
> For more options, visithttps://
groups.google.com/d/optout.