Branch: refs/heads/dmk-chemora Home: https://github.com/ianhinder/Kranc Commit: 021e0009cf00ada6a8b670f4d22daccce99822dc https://github.com/ianhinder/Kranc/commit/021e0009cf00ada6a8b670f4d22daccce9... Author: David M. Koppelman koppel@ece.lsu.edu Date: 2017-09-02 (Sat, 02 Sep 2017)
Changed paths: M Tools/CodeGen/CodeGenC.m M Tools/CodeGen/CodeGenCalculation.m M Tools/CodeGen/CodeGenKranc.m
Log Message: ----------- Fix segmentation fault in host code.
- Declare local (grid point) variables as references, to fix error with I3D.
AssignVariableFromExpression: Option to declare as reference. DefineReference: New. assignLocalFunctions: Declare simple grid variables as references.
Commit: f2eb828409e77b39211d0a5eebd3589570c330de https://github.com/ianhinder/Kranc/commit/f2eb828409e77b39211d0a5eebd3589570... Author: David M. Koppelman koppel@ece.lsu.edu Date: 2017-09-03 (Sun, 03 Sep 2017)
Changed paths: M Tools/CodeGen/CodeGenCactus.m
Log Message: ----------- ConditionalOnParameter: Handle Boolean value.
Commit: 6d590e9893504c1341c11a10e847db4bddf2a4af https://github.com/ianhinder/Kranc/commit/6d590e9893504c1341c11a10e847db4bdd... Author: David M. Koppelman koppel@ece.lsu.edu Date: 2017-09-03 (Sun, 03 Sep 2017)
Changed paths: M Tools/CodeGen/Calculation.m M Tools/CodeGen/CodeGenCalculation.m M Tools/CodeGen/KrancThorn.m M Tools/CodeGen/Schedule.m
Log Message: ----------- Ticket 242: Make Kranc-generated CPU (host) code convenient.
- Emit both device (GPU) and host (CPU) versions of code in same thorn. - Emit schedule entries to run GPU and CPU versions, choose with use_kranc_c.
CreateKrancThorn: Apply CreateSetterSource to host and GPU calculations.
scheduleCalc: If a calculation can run on GPU create two schedule items, one for CPU and one for GPU and guard them.
CreateSetterSource: Undo any changes to ChemoraContents made during execution. Yes, yuck.
CalculationOnDevice: Return False only for pure host code.
Compare: https://github.com/ianhinder/Kranc/compare/00ce49d33c1f...6d590e989350
commits@lists.einsteintoolkit.org