News for hackers. Stuff that matters.
Re:Building a Language and Compiler for Machine Learning by wallnuss on Monday December 03, 2018 @09:10PM (#18595366)
Take a look at CUDAnative.jl (https://github.com/JuliaGPU/CUDAnative.jl) which uses the NVPTX LLVM backend to compile Julia code to the GPU. What you described sounds very similar to that and could definitely made to work.

There are no comments on this comment yet.