Add macros to make codelets just declare their access and let the macro definition do what should be
Here is written down the set of generic macro I'm thinking of to make codelet declare their memory access (see !16 (closed))
For now they are very trivial, and produce exactly the same effect as with the current master. But then one can easily add the morse_desc_iscached() test, add statistics, etc. without having to change the codelets again.
I've put it in control/descriptor.h for simplicity, but we can of course push to runtime-specific code (which file?)
Merge request reports
Activity
mentioned in merge request !16 (closed)
@thibault Great Idea !!!
Just need to do all the codelets :P. And Please, keep the copyright as 2014-2017. I'll try to make a script to merge the row w/ Inria alone and the one with the 4 instituts.
- Resolved by Mathieu Faverge
- Resolved by Mathieu Faverge
- Resolved by Mathieu Faverge
mentioned in merge request !30 (merged)
- Resolved by Mathieu Faverge
Ok so a last thing after reading you merge request comment. I would put the macro in runtime/starpu/morse_starpu.h or runtime/starpu/runtime_codelets.h as it is for now specific to both StarPU and its codelets.
I assume that we could use similar things for PaRSEC, but as we might modify those macros to more StarPU specific functions, maybe we should move it to StarPU. I don't know. I have to make my mind :). If we say we keep it generic, then it's fine where it is.