[Commits] [ianhinder/Kranc] b15d9f: CodeGenKranc.m: Apply conversion from Mathematica ...
Ian Hinder
ian.hinder at aei.mpg.de
Wed Mar 19 06:44:50 CDT 2014
Branch: refs/heads/master
Home: https://github.com/ianhinder/Kranc
Commit: b15d9fdb3cb0174f4031eee23dc8dd07dca885c2
https://github.com/ianhinder/Kranc/commit/b15d9fdb3cb0174f4031eee23dc8dd07dca885c2
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-19 (Wed, 19 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenKranc.m
Log Message:
-----------
CodeGenKranc.m: Apply conversion from Mathematica to C repeatedly
Otherwise the divisions in the replacement rules might be converted into Power, which we want to remove.
Commit: b5016ffa9b5e2f4432193a7da7e04844fcb06a81
https://github.com/ianhinder/Kranc/commit/b5016ffa9b5e2f4432193a7da7e04844fcb06a81
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-19 (Wed, 19 Mar 2014)
Changed paths:
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
Vectorisation.m: Use pow when dividing to avoid Power
Mathematica converts 1/y to Power[y,-1], and Power is not allowed in a C expression now. Hence, write 1/y as pow(y,-1) for unvectorised code as this should be optimised to divison by the compiler.
Commit: c87374ef82cf60cb22594ab646f23a60cfd0bee7
https://github.com/ianhinder/Kranc/commit/c87374ef82cf60cb22594ab646f23a60cfd0bee7
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-19 (Wed, 19 Mar 2014)
Changed paths:
M Tests/CodeGen.mt
Log Message:
-----------
CodeGen.mt: Add withVectorisation wrapper
Commit: befaebd634877750c9b135389c22948e5540a0e4
https://github.com/ianhinder/Kranc/commit/befaebd634877750c9b135389c22948e5540a0e4
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-19 (Wed, 19 Mar 2014)
Changed paths:
M Tests/CodeGen.mt
Log Message:
-----------
CodeGen.mt: Add and update tests for powers in vectorised expressions
Commit: 7a366ebf9504b203f21ad6ffee7ea63ae20ad90e
https://github.com/ianhinder/Kranc/commit/7a366ebf9504b203f21ad6ffee7ea63ae20ad90e
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-19 (Wed, 19 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenKranc.m
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
Add check for Power in processed expression
Commit: eb79ae11aade4dafc0fc23fec3ebd34844a3f69f
https://github.com/ianhinder/Kranc/commit/eb79ae11aade4dafc0fc23fec3ebd34844a3f69f
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-19 (Wed, 19 Mar 2014)
Changed paths:
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
Vectorisation.m: Allow Powers to accumulate during vector optimisation and convert them to pow afterwards
Commit: e0c1d544a4293233a0ca86fc47edb09954b3b63e
https://github.com/ianhinder/Kranc/commit/e0c1d544a4293233a0ca86fc47edb09954b3b63e
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-19 (Wed, 19 Mar 2014)
Changed paths:
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
Vectorisation.m: Add commented-out debugging code
Commit: 0f059e00ac4968ae850b88f311ddff470d090b49
https://github.com/ianhinder/Kranc/commit/0f059e00ac4968ae850b88f311ddff470d090b49
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-19 (Wed, 19 Mar 2014)
Changed paths:
M Tests/CodeGen.mt
Log Message:
-----------
CodeGen.mt: Update tests
Commit: d7061181bd0f228c9a8320f0c9b7d5e9c9253b15
https://github.com/ianhinder/Kranc/commit/d7061181bd0f228c9a8320f0c9b7d5e9c9253b15
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-19 (Wed, 19 Mar 2014)
Changed paths:
M Tests/TestThorns
Log Message:
-----------
Update TestThorns submodule
Compare: https://github.com/ianhinder/Kranc/compare/952652c8906d...d7061181bd0f
More information about the Commits
mailing list