Replies: 2 comments 4 replies
-
Yes, that's right! You write your code in a high-level language, mostly in Python and NumPy (our MATLAB/Octave support is highly experimental at the moment, but there are a few examples here). Alternatively, if you know your exact dataflow or are writing a new frontend (translation from another language into SDFG), you can manually create the graph itself. Then, you can either try to call the function from Python as-is, use the
DIODE is now deprecated in favor of the VSCode extension, since the new one can transform just as well and also edit the graphs directly. Lastly, you can compile the resulting graph through the Python API ( Hope this helps! Please let us know if there are any further questions. |
Beta Was this translation helpful? Give feedback.
-
Is there any example how to use generated source files? I have generated some DaCe function but what now? |
Beta Was this translation helpful? Give feedback.
-
Hello!
So basically you can write some program in high level API NumPy or matlab (I don't see any examples in matlab?) and auto generate some Sdfg aka the working graph.
Alternatively you could directly program Sdfg by using low level api, add nodes, operations, variables.
Next step is to use diode to change graph behaviour and optimise operations while targeting some device architecture like gpu or fpga and/or perform auto optimisations.
Last step use Sdfg to generate some code like .Cpp .Cuda .opencl?
I'm getting this right?
Thanks for info.
Beta Was this translation helpful? Give feedback.
All reactions