aboutsummaryrefslogtreecommitdiff
path: root/Tools/CodeGen/Schedule.m
Commit message (Collapse)AuthorAge
* Use GetSchedule for calculations instead of accessing key directlyIan Hinder2012-05-02
|
* Schedule.m: Fix bug from previous commitIan Hinder2012-04-30
|
* Schedule.m: List variables instead of groups in READS and WRITES linesIan Hinder2012-04-29
| | | This give more fine-grained control, and is consistent with CaKernel.
* Schedule.m: Add variablesSetInCalc and variablesReadInCalcIan Hinder2012-04-29
|
* Schedule.m: Add TODO and correct variable declarationIan Hinder2012-04-29
|
* Schedule.m: Only use a schedule alias if necessaryIan Hinder2012-04-25
| | | This was supposed to have been committed before.
* Add and use GetCalculationScheduleNameIan Hinder2012-04-23
| | | A calculation has a name, stored in its Name entry. This is what is used when generating the code files, and is what users can use to do relative scheduling (before, after, etc). Sometimes (e.g. for CaKernel), the routine scheduled with the Cactus scheduler in schedule.ccl needs to have a different name. This is what is returned by GetCalculationScheduleName. We now always schedule such functions "<schedulename> as <name>" where <name> is the real name of the calculation.
* Add the ability for calculations to define additional Cactus schedule groupsIan Hinder2012-04-23
|
* Add option GenerateHostCode for generating CPU and GPU code simultaneouslyIan Hinder2012-04-17
|
* Add generic Conditional key for calculationsIan Hinder2012-03-21
|
* KrancThorn.m: Generate MoL registration even for CaKernel thornsIan Hinder2012-02-11
|
* Allow calculations to occur either on the host or the deviceIan Hinder2012-02-02
|
* Don't use MoL for CaKernel thornsIan Hinder2012-02-02
|
* Schedule.m: Change schedule tag from OpenCL to DeviceIan Hinder2012-02-01
|
* Set requirements correctly for OpenCLErik Schnetter2012-01-31
|
* Support provides/requires statements in the scheduleIan Hinder2012-01-31
|
* Schedule.m: Don't add epilogue to schedule filesIan Hinder2012-01-30
|
* Schedule CaKernel_CopyFromDevIan Hinder2012-01-26
| | | Otherwise the data never gets copied back to the CPU from the device
* Schedule.m: Name the calculation according to CaKernel conventionIan Hinder2012-01-24
|
* Add the CaKernel "auto-generated" epilogue to schedule.ccl and make.code.defnIan Hinder2012-01-24
|
* Merge branch 'hydro'Ian Hinder2012-01-22
|\ | | | | | | | | | | | | | | | | | | Conflicts: Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h Examples/kranc.th Tools/CodeGen/Kranc.m Tools/CodeGen/KrancTensor.m Tools/CodeGen/Schedule.m Tools/CodeGen/Thorn.m
| * Schedule.m: Remove some debugging codeIan Hinder2010-10-01
| |
| * Add calculation option ApplyBCsIan Hinder2010-09-29
| | | | | | This option forces Kranc to put the calculation in a group and select and schedule boundary conditions directly after the calculation is called.
* | Allow choosing number of timelevels for non-evolved variablesErik Schnetter2012-01-02
| |
* | Split CodeGen.m into CodeGen.m, CodeGenC.m and CodeGenCactus.mIan Hinder2011-10-07
| | | | | | | | | | | | | | - CodeGenC.m still contains Fortran variants. These might be moved into CodeGenFortran.m. - Several other modules essentially need to pull in all three packages due to newly broken abstraction barriers. This can be fixed incrementally. - Indent and format all three files consistently
* | Schedule boundary conditions in MoL_PseudoEvolutionBoundariesErik Schnetter2011-08-25
| | | | | | | | | | | | Schedule boundary conditions in MoL_PseudoEvolutionBoundaries instead of at postrestrict and at postrestrictinitial. This ensures these boundary conditions are applied after regridding as well.
* | Schedule.m: Add Before and After options to calculationsIan Hinder2011-07-16
|/ | | These can be set to the names of functions or groups to perform relative scheduling.
* Schedule.m: Schedule BC selection in level modeIan Hinder2010-08-04
|
* Add automatic scheduling of calculations in MoL_PseudoEvolutionIan Hinder2010-06-22
| | | | | | | | | | | | | | | | | | Before this commit, Kranc required the user to use the Schedule key in a calculation to give a Cactus schedule specification. Scheduling analysis functions which compute only on the grid interior (e.g. those that take derivatives) was problematic because boundary conditions were not applied (e.g. symmetries and physical), leading to either poison or undefined values on the grid. Calculations scheduled in ANALYSIS could not have prolongation in time with mesh refinement. This commit introduces a new way to schedule functions which is completely automatic. If the Schedule key is omitted, the calculation is scheduled in MoL_PseudoEvolution which means it will be called in all necessary places. Each such calculation will have its own schedule group, in which boundary conditions are also selected and applied (if necessary). Boundary conditions are also applied in POSTRESTRICT and POSTRESTRICTINITIAL.
* Revert "Revert "Merge branch 'master' of github.com:ianhinder/Kranc""Roland Haas2010-05-06
| | | | | | | | | | | Merge was correct after all. This reverts commit 04dfdcd32eec91978ba050a472aae2a6e7091c05. Conflicts: Tools/CodeGen/CalculationFunction.m Tools/CodeGen/Thorn.m
* Revert "Merge branch 'master' of github.com:ianhinder/Kranc"Erik Schnetter2010-05-02
| | | | | This reverts commit 815307e624fdb8c0ee2eefc644c9bbd8244ad7f2, reversing changes made to 8e006230f24be02831d390eaad9b90b7a7c77d2c.
* Replace sym context with Kranc context in Kranc.m. Also move interface ↵Ian Hinder2010-04-03
| | | | functions into Interface.m.
* Move schedule generation from KrancThorn.m to Schedule.mIan Hinder2010-04-03
Also move NonevolvedTimelevels to KrancGroups.m