#741: Support function READS and WRITES statements in schedule.ccl files -------------------------+-------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: new Priority: major | Milestone: Component: Other | Version: Keywords: | -------------------------+-------------------------------------------------- As part of the work on the dependency-based scheduler (https://docs.einsteintoolkit.org/et- docs/Adding_requirements_to_the_Cactus_scheduler) and also for writing code for non-CPU compute devices (GPUs), it is very useful to have available information about which variables are read from and written to by a scheduled Cactus function. There is a branch of the flesh (NewSchedule) on which this support has been implemented. The application-thorn writer adds READS: <vars> and WRITES: <vars> statements in the schedule definition of each function. This should be 100% backwards compatible. For convenience, a diff between the current trunk and the NewSchedule branch is attached.
OK to merge into the flesh trunk?
#741: Support function READS and WRITES statements in schedule.ccl files --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: new Priority: major | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by hinder):
* component: Other => Cactus
#741: Support function READS and WRITES statements in schedule.ccl files --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: review Priority: major | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by hinder):
* status: new => review
#741: Support function READS and WRITES statements in schedule.ccl files --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: review Priority: major | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by eschnett):
This patch has been under testing for a long time, apart from a trivial renaming (provides, requires -> writes, reads). I suggest to commit it to the flesh; there doesn't seem any benefit of keeping it on a branch.
#741: Support function READS and WRITES statements in schedule.ccl files --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: review Priority: major | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by knarf):
Please commit.
#741: Support function READS and WRITES statements in schedule.ccl files --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: review Priority: major | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by hinder):
This has been committed in r4788.
#741: Support function READS and WRITES statements in schedule.ccl files --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: closed Priority: major | Milestone: Component: Cactus | Version: Resolution: fixed | Keywords: --------------------------+------------------------------------------------- Changes (by hinder):
* status: review => closed * resolution: => fixed
trac@lists.einsteintoolkit.org