[Commits] [ianhinder/Kranc] 021e00: Fix segmentation fault in host code.
David M. Koppelman
koppel at ece.lsu.edu
Sun Sep 3 18:29:55 CDT 2017
Branch: refs/heads/dmk-chemora
Home: https://github.com/ianhinder/Kranc
Commit: 021e0009cf00ada6a8b670f4d22daccce99822dc
https://github.com/ianhinder/Kranc/commit/021e0009cf00ada6a8b670f4d22daccce99822dc
Author: David M. Koppelman <koppel at 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/f2eb828409e77b39211d0a5eebd3589570c330de
Author: David M. Koppelman <koppel at 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/6d590e9893504c1341c11a10e847db4bddf2a4af
Author: David M. Koppelman <koppel at 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
More information about the Commits
mailing list