[Commits] [ianhinder/Kranc] e6f269: CodeGenKranc.m: Reformat ProcessExpression and rem...
Ian Hinder
ian.hinder at aei.mpg.de
Wed Mar 19 03:35:03 CDT 2014
Branch: refs/heads/master
Home: https://github.com/ianhinder/Kranc
Commit: e6f26935a2a9aacdc85aa26cc2cdba5720d2416b
https://github.com/ianhinder/Kranc/commit/e6f26935a2a9aacdc85aa26cc2cdba5720d2416b
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-14 (Fri, 14 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenKranc.m
Log Message:
-----------
CodeGenKranc.m: Reformat ProcessExpression and remove unnecessary list
Commit: 5f4d32f8203fd778a8a146d4c7174099d4d801dc
https://github.com/ianhinder/Kranc/commit/5f4d32f8203fd778a8a146d4c7174099d4d801dc
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tests/CodeGen.mt
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
More work in progress on vectorisation cleanup
Commit: 642d222370220d4bd810abaf730410481cb935f8
https://github.com/ianhinder/Kranc/commit/642d222370220d4bd810abaf730410481cb935f8
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tests/CodeGen.mt
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
More rework on vectorisation
Commit: 29ff9ad04f7d61d11d175ff80a48f91621f4c90f
https://github.com/ianhinder/Kranc/commit/29ff9ad04f7d61d11d175ff80a48f91621f4c90f
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
Vectorisation.m: Sort arguments of kadd and kmul
Commit: 6aa019af63a5803f41749afe6526ed398e7e947e
https://github.com/ianhinder/Kranc/commit/6aa019af63a5803f41749afe6526ed398e7e947e
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tests/CodeGen.mt
M Tools/CodeGen/CodeGenCalculation.m
M Tools/CodeGen/CodeGenKranc.m
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
Working version of new vectorisation code
Benchmarked using McLachlan and shown to be equivalent to old version
Commit: 7fa66bc3b05c57abca64a3f5fe453e6c615394c4
https://github.com/ianhinder/Kranc/commit/7fa66bc3b05c57abca64a3f5fe453e6c615394c4
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
Vectorisation.m: Delete some old code
Commit: b87f5d6e95226290357de4ad910674b5735559b0
https://github.com/ianhinder/Kranc/commit/b87f5d6e95226290357de4ad910674b5735559b0
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenCalculation.m
Log Message:
-----------
CodeGenCalculation.m: Remove debugging code
Commit: ae30fafe8d61a995241a3729fe19967cebc19fdc
https://github.com/ianhinder/Kranc/commit/ae30fafe8d61a995241a3729fe19967cebc19fdc
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenCalculation.m
M Tools/CodeGen/CodeGenKranc.m
M Tools/CodeGen/Kranc.m
M Tools/CodeGen/OperationCount.m
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
Kranc.m: Remove KrancScalar as it is no longer needed
This used to be used to prevent expressions from being vectorised. The vectorisation code now knows which expressions can and cannot be vectorised.
Commit: a77dde50017763e4b7c4dd0f2bed5635d4125570
https://github.com/ianhinder/Kranc/commit/a77dde50017763e4b7c4dd0f2bed5635d4125570
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
Vectorisation.m: Declare some variables
Commit: 95f43865544fc7dd1dfe9b0ca4f9313877b9559f
https://github.com/ianhinder/Kranc/commit/95f43865544fc7dd1dfe9b0ca4f9313877b9559f
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tests/CodeGen.mt
Log Message:
-----------
CodeGen.mt: Update test results
Commit: 9f14c091c321a75c305ff88244a136df466c9c62
https://github.com/ianhinder/Kranc/commit/9f14c091c321a75c305ff88244a136df466c9c62
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenKranc.m
Log Message:
-----------
CodeGenKranc.m: Add Type option to AssignVariableFromExpression and use it instead of DefineConstant in InitialiseFDVariables
Commit: 045a6c7507bb773d5348462cdd9d5c3939ff3961
https://github.com/ianhinder/Kranc/commit/045a6c7507bb773d5348462cdd9d5c3939ff3961
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
Vectorisation.m: Remove vectorisation macros as they are no longer needed
Commit: 3f8d36d71daceeaec200486941c11ca2d2e586ec
https://github.com/ianhinder/Kranc/commit/3f8d36d71daceeaec200486941c11ca2d2e586ec
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenKranc.m
Log Message:
-----------
CodeGenKranc.m: Remove algebraic macros
Commit: bc9d2a5a800c4a5197cdd952cbf9b8e2ea445aab
https://github.com/ianhinder/Kranc/commit/bc9d2a5a800c4a5197cdd952cbf9b8e2ea445aab
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenKranc.m
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
Remove more code related to algebraic macros
Commit: 0f022cdcdc6d67b4d4c4fcc9ca03e98c3e1d27bd
https://github.com/ianhinder/Kranc/commit/0f022cdcdc6d67b4d4c4fcc9ca03e98c3e1d27bd
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenKranc.m
Log Message:
-----------
CodeGenKranc.m: Remove some comments
Commit: b9cd192326618bbe9b9f4423223332387212f6f1
https://github.com/ianhinder/Kranc/commit/b9cd192326618bbe9b9f4423223332387212f6f1
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Auxiliary/Cactus/SourceFiles/Kranc.hh
M Tools/CodeGen/CodeGenKranc.m
Log Message:
-----------
Remove unused macros from Kranc.hh and expand Min3 in CodeGenKranc.m
Commit: be911ec4501ac970d4e3ffa7b6f374d045437da4
https://github.com/ianhinder/Kranc/commit/be911ec4501ac970d4e3ffa7b6f374d045437da4
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGen.m
M Tools/CodeGen/CodeGenC.m
Log Message:
-----------
Remove CommaInitSeparated
Commit: 4c13d7838e46638133bdeae4c0fa81938844df3d
https://github.com/ianhinder/Kranc/commit/4c13d7838e46638133bdeae4c0fa81938844df3d
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tools/CodeGen/CaKernel.m
M Tools/CodeGen/CodeGenCalculation.m
M Tools/CodeGen/CodeGenKranc.m
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
Remove calculation macros
Commit: a25b71b12b10d2ed0170405f9da88e16a65f2727
https://github.com/ianhinder/Kranc/commit/a25b71b12b10d2ed0170405f9da88e16a65f2727
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenKranc.m
Log Message:
-----------
CodeGenKranc.m: Avoid generating ToReal in unvectorised code
Commit: 9adb64e8f5a01aaaf7c2d452e6aac986bedf789f
https://github.com/ianhinder/Kranc/commit/9adb64e8f5a01aaaf7c2d452e6aac986bedf789f
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenKranc.m
Log Message:
-----------
CodeGenKranc.m: Remove comment
Commit: a4bde231e12e3c0f87823d69ae60deb71e047ccc
https://github.com/ianhinder/Kranc/commit/a4bde231e12e3c0f87823d69ae60deb71e047ccc
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tests/Object.mt
Log Message:
-----------
Object.mt: Add a context to avoid name collisions
Commit: cf8339c674c4b186c266b15a37a09ac738c5a614
https://github.com/ianhinder/Kranc/commit/cf8339c674c4b186c266b15a37a09ac738c5a614
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tests/RunTests.m
Log Message:
-----------
RunTests.m: Automatically find all test files and report a summary of failed files at the end
Commit: 2919f51fcc9505fa51cb9442a0fafa850bb8f01a
https://github.com/ianhinder/Kranc/commit/2919f51fcc9505fa51cb9442a0fafa850bb8f01a
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
A Tests/Math.mt
Log Message:
-----------
Math.mt: Add very basic test file for mathematical expressions
Commit: 87329de26af8ab663aee48249f419e18ce55a503
https://github.com/ianhinder/Kranc/commit/87329de26af8ab663aee48249f419e18ce55a503
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
A Tests/CodeGenCalculation.mt
Log Message:
-----------
Add CodeGenCalculation.mt
Commit: 6c62ab96134f3695146e369892004356df1e34a4
https://github.com/ianhinder/Kranc/commit/6c62ab96134f3695146e369892004356df1e34a4
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tests/Kranc.mt
M Tests/McLachlan.mt
Log Message:
-----------
Add a context to some test files to avoid name collisions
Commit: d2a2e5c211e95ca1c29487bff33547bbff986bd9
https://github.com/ianhinder/Kranc/commit/d2a2e5c211e95ca1c29487bff33547bbff986bd9
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tests/RunTests.m
Log Message:
-----------
RunTests.m: Track global variables and handle case of End[] not being called after a test failure
Commit: 30863af4ceab4991fcf9ba599de3939e4af7bb8a
https://github.com/ianhinder/Kranc/commit/30863af4ceab4991fcf9ba599de3939e4af7bb8a
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenKranc.m
Log Message:
-----------
CodeGenKranc.m: Add ReadGridFunctionInLoop function
Commit: 4713bc4e725ca131f80d716c13944b141815fa35
https://github.com/ianhinder/Kranc/commit/4713bc4e725ca131f80d716c13944b141815fa35
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenCalculation.m
Log Message:
-----------
CodeGenCalculation.m: Move assignLocalFunctions to top-level
Commit: a4b5f388d2026410497005825a971300f0f15fd9
https://github.com/ianhinder/Kranc/commit/a4b5f388d2026410497005825a971300f0f15fd9
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenKranc.m
M Tools/CodeGen/Kranc.m
Log Message:
-----------
Add CArray to the expression language
Commit: 5084d938c322e0c43b77e483dccb4b0c3976e6af
https://github.com/ianhinder/Kranc/commit/5084d938c322e0c43b77e483dccb4b0c3976e6af
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
Vectorisation.m: Vectorise CArray accesses
Commit: 405fdcf938894d3453f47fe6bcf10fcbfb56705e
https://github.com/ianhinder/Kranc/commit/405fdcf938894d3453f47fe6bcf10fcbfb56705e
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenKranc.m
M Tools/CodeGen/Kranc.m
Log Message:
-----------
Add GFLocal to expression language
GFLocal[v] reads the gridfunction data v from the "current point" when inside a loop.
Commit: 713c84b39f7239a078be27c08609004e5b400b5d
https://github.com/ianhinder/Kranc/commit/713c84b39f7239a078be27c08609004e5b400b5d
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tests/CodeGen.mt
Log Message:
-----------
CodeGen.mt: Add GFLocal tests
Commit: 53c79f1ca02dd22e904cb6f33ed3e8a9c9133e93
https://github.com/ianhinder/Kranc/commit/53c79f1ca02dd22e904cb6f33ed3e8a9c9133e93
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenCalculation.m
M Tools/CodeGen/CodeGenKranc.m
Log Message:
-----------
Remove unused functionality from DeclareMaybeAssignVariableInLoop
Commit: c32e6d82f840852c2f472dbd03b7981340d2e912
https://github.com/ianhinder/Kranc/commit/c32e6d82f840852c2f472dbd03b7981340d2e912
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenCalculation.m
Log Message:
-----------
CodeGenCalculation.m: Replace call to DeclareMaybeAssignVariableInLoop with call to AssignVariableFromExpression
Commit: 049e542e54f271a2222bb02dcc3ac40648940128
https://github.com/ianhinder/Kranc/commit/049e542e54f271a2222bb02dcc3ac40648940128
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenCalculation.m
M Tools/CodeGen/CodeGenKranc.m
Log Message:
-----------
Remove unused DeclareMaybeAssignVariableInLoop
Commit: 64cc5512f936d65d7b034d9cc1487d25dda0bd19
https://github.com/ianhinder/Kranc/commit/64cc5512f936d65d7b034d9cc1487d25dda0bd19
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tests/TestThorns
Log Message:
-----------
Update TestThorns submodule
Commit: dc62fecfb38375d06eaf2e2a12f4cf3fc6028425
https://github.com/ianhinder/Kranc/commit/dc62fecfb38375d06eaf2e2a12f4cf3fc6028425
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tests/Kranc.mt
Log Message:
-----------
Kranc.mt: Add short CaKernel test
Commit: 42f284f1428c2da643f91b516574257f70dc0f72
https://github.com/ianhinder/Kranc/commit/42f284f1428c2da643f91b516574257f70dc0f72
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tests/McLachlan.mt
Log Message:
-----------
McLachlan.mt: Don't use vectorisation for the CaKernel test
Commit: 21ddd739ddb69c6b2b5bf6b35491df24102e9bdb
https://github.com/ianhinder/Kranc/commit/21ddd739ddb69c6b2b5bf6b35491df24102e9bdb
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tools/CodeGen/Stack.m
Log Message:
-----------
Stack.m: Correct error when reading stack
Commit: b2679d01341e89e93fe53044665878cba7d288b5
https://github.com/ianhinder/Kranc/commit/b2679d01341e89e93fe53044665878cba7d288b5
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tools/CodeGen/Object.m
Log Message:
-----------
Object.m: Check for errors in GetObjectField
Commit: 581ff2d7b150799b799460b0a801ff499dd6a40d
https://github.com/ianhinder/Kranc/commit/581ff2d7b150799b799460b0a801ff499dd6a40d
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tests/CodeGen.mt
M Tests/CodeGenCalculation.mt
M Tools/CodeGen/CaKernel.m
M Tools/CodeGen/CodeGenCalculation.m
M Tools/CodeGen/CodeGenKranc.m
M Tools/CodeGen/Differencing.m
M Tools/CodeGen/Kranc.m
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
Introduce targets for CodeGen
CodeGen targets currently include C (with or without vectorisation) and CaKernel. The target is an Object which can have arbitrary keys. Currently the target is propagated through the code using a global variable $CodeGenTarget, but eventually this will be replaced with passing to functions as an argument. The current vectorise argument will then be redundant. Additionally, introduce a PostProcessExpression function provided by the target. This is applied after "processing" and before code generation.
Commit: a0147124dd8443ef4b25cfaf55a17020d5f12ac8
https://github.com/ianhinder/Kranc/commit/a0147124dd8443ef4b25cfaf55a17020d5f12ac8
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tests/TestThorns
Log Message:
-----------
Update TestThorns submodule
Commit: 71aacc516144c6eb203748aafcfa4088202e4f5f
https://github.com/ianhinder/Kranc/commit/71aacc516144c6eb203748aafcfa4088202e4f5f
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tools/CodeGen/CodeGenCalculation.m
Log Message:
-----------
CodeGenCalculation.m: Use AssignVariableFromExpression instead of AssignVariableInLoop in assignLocalFunctions
Commit: 49cb35a16d238c578425f0201388987186caee5b
https://github.com/ianhinder/Kranc/commit/49cb35a16d238c578425f0201388987186caee5b
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Tests/CodeGenCalculation.mt
M Tools/CodeGen/CodeGenCalculation.m
Log Message:
-----------
Use symbolic expression in conditional else clause for local assignments
This means that the ToReal can be removed for unvectorised code
Commit: 584b4d854d56fe3399e087a1f247d19cc53c6478
https://github.com/ianhinder/Kranc/commit/584b4d854d56fe3399e087a1f247d19cc53c6478
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Auxiliary/Cactus/SourceFiles/Kranc.hh
Log Message:
-----------
Kranc.hh: No longer define ToReal
Thorn Vectors defines ToReal for vectorised code, and unvectorised code generated by Kranc now no longer uses ToReal.
Commit: 952652c8906deac83779c19028033d4cae839628
https://github.com/ianhinder/Kranc/commit/952652c8906deac83779c19028033d4cae839628
Author: Ian Hinder <ian.hinder at aei.mpg.de>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M Auxiliary/Cactus/SourceFiles/Kranc.hh
M Tests/CodeGen.mt
A Tests/CodeGenCalculation.mt
M Tests/Kranc.mt
A Tests/Math.mt
M Tests/McLachlan.mt
M Tests/Object.mt
M Tests/RunTests.m
M Tests/TestThorns
M Tools/CodeGen/CaKernel.m
M Tools/CodeGen/CodeGen.m
M Tools/CodeGen/CodeGenC.m
M Tools/CodeGen/CodeGenCalculation.m
M Tools/CodeGen/CodeGenKranc.m
M Tools/CodeGen/Differencing.m
M Tools/CodeGen/Kranc.m
M Tools/CodeGen/Object.m
M Tools/CodeGen/OperationCount.m
M Tools/CodeGen/Stack.m
M Tools/CodeGen/Vectorisation.m
Log Message:
-----------
Merge work on vectorisation and expression processing into master
Compare: https://github.com/ianhinder/Kranc/compare/1fbc896f226e...952652c8906d
More information about the Commits
mailing list