-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
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
Rose and Jit kernel complier support #8330
Comments
What is exactly the issue? I honestly do not understand what you are asking for |
Autoparallelization with compile to Opencl,cuda or device backend. |
Regarding ROSE, is it used in production? The project seems much less maintained, structured and optimized than Halide (used for computational photography and by FB for deep learning for example) and it does not support ARM backend. Like for #8331, Rose should be done in a separate independant repo. |
I don't want to use any cuda and opencl library. İ just want to say to complier "hey! Come here and transcompile to my code to device kernel as much as possible". Device can be CPU,gpu,FPGA,tensor processor,DSP calculator,... |
If I recall correctly, there was a discussion about having OpenCL as a compilation target for Nim (possibly in one of the summer of code proposals?), but it was never implemented. Even if this could ever work, many features of Nim (mainly about heap allocations, and hence much of the standard library) would not work in such a target. But Nim could still be useful wrt to raw C thanks to its metaprogramming capabilities. If I recall correctly, there was some attempt to generate code using macros for vertex and pixel shaders - probably the same approach would work for CUDA or OpenCL kernels |
Yes, ı am saying that OpenCL as a compilation target for Nim. |
Rose complier is an source to source translator. It takes input as c,c++ code and translates device kernel. I tried some mathmatical formulas and it works. I am also matlab cuda complier user. Rose can translate cuda to opencl in some cases.
The text was updated successfully, but these errors were encountered: