aboutsummaryrefslogtreecommitdiff
path: root/Tools/CodeGen/KrancThorn.m
Commit message (Collapse)AuthorAge
* KrancThorn.m: Only generate hybrid code if UseCaKernel is TrueIan Hinder2012-04-25
|
* Add option GenerateHostCode for generating CPU and GPU code simultaneouslyIan Hinder2012-04-17
|
* Switch to new dynamically compiled CaKernel templateIan Hinder2012-04-11
|
* KrancThorn.m: Add calls to derivative splitting codeIan Hinder2012-04-03
| | | This required some rearrangement. The structure of CreateThorn needs to be redesigned.
* Add SplitBy option to calculations to split calculations up by variableIan Hinder2012-04-02
| | | This is not quite perfect yet; scheduling statements which use the original calculation name will not see the new calculation names. We should introduce a group for the original calculation name.
* Make CaKernel tile size a CreateThorn optionIan Hinder2012-03-22
|
* KrancThorn.m: Generate MoL registration even for CaKernel thornsIan Hinder2012-02-11
|
* Only create cakernel.cc if CaKernel is enabled.Barry Wardell2012-02-09
|
* Merge remote-tracking branch 'origin/piraha'Barry Wardell2012-02-09
|\ | | | | | | | | Conflicts: Tools/CodeGen/Kranc.m
| * Add a thorn-global Shorthands optionIan Hinder2012-01-27
| | | | | | This is added to the Shorthands option of each calculation. Might want to make it a union.
* | Merge remote-tracking branch 'origin/cakernel'Barry Wardell2012-02-09
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h Tools/CodeGen/CalculationFunction.m Tools/CodeGen/CodeGenCactus.m Tools/CodeGen/Differencing.m Tools/CodeGen/KrancThorn.m Tools/CodeGen/Schedule.m
| * | Allow calculations to occur either on the host or the deviceIan Hinder2012-02-02
| | |
| * | Don't use MoL for CaKernel thornsIan Hinder2012-02-02
| | |
| * | Set requirements correctly for OpenCLErik Schnetter2012-01-31
| | |
| * | KrancThorn.m: Move computation of allParams to before it is usedIan Hinder2012-01-30
| | |
| * | Compute CaKernel stencil size from calculationIan Hinder2012-01-27
| | |
| * | Use correct filename for CaKernel code fileIan Hinder2012-01-26
| | |
| * | Call CreateCalculationFunction for CaKernel source filesIan Hinder2012-01-24
| | |
| * | Tidy up argument passing for calculation and source file generationIan Hinder2012-01-24
| | |
| * | Add the CaKernel "auto-generated" epilogue to schedule.ccl and make.code.defnIan Hinder2012-01-24
| | |
| * | Create an outline of a CaKernel code fileIan Hinder2012-01-23
| | |
| * | Generate basic cakernel.ccl fileIan Hinder2012-01-23
| |/
* | Merge remote-tracking branch 'origin/dgfe'Barry Wardell2012-02-04
|\ \ | |/ |/| | | | | | | | | | | Conflicts: Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h Tools/CodeGen/CodeGenCactus.m Tools/CodeGen/Kranc.m Tools/CodeGen/Thorn.m
| * Improve formatting of generated codeErik Schnetter2011-12-29
| | | | | | | | Don't add spaces before parentheses or after pointer-asterisks.
| * Set requirements correctly for OpenCLErik Schnetter2011-12-18
| |
* | KrancThorn.m: Don't generate certain code unless we have ↵Ian Hinder2012-01-23
| | | | | | | | ConservationCalculations defined
* | 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
| * KrancThorn.m: Fix messed up mergeIan Hinder2011-06-04
| |
| * Merge remote-tracking branch 'origin/master' into hydroIan Hinder2011-06-03
| |\
| * | Temporary commitIan Hinder2011-06-03
| | |
| * | KrancThorn.m: Expand primitive and conserved equationsIan Hinder2010-10-01
| | |
| * | KrancThorn.m: Pass thornName to ProcessConservationCalculationIan Hinder2010-10-01
| | |
| * | KrancThorn.m: Remove debugging codeIan Hinder2010-10-01
| | |
| * | KrancThorn.m: Read parameters to use from ConservationCalculationIan Hinder2010-10-01
| | |
| * | KrancThorn.m: Calls into ConservationCalculation package to generate code ↵Ian Hinder2010-10-01
| | | | | | | | | | | | for solving conservation laws
* | | Add ability to evolve ODEs in calculationsHal Finkel2011-11-01
| | |
* | | 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
* | | Add support for generating OpenCL codeErik Schnetter2011-09-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This must be enabled via an option UseOpenCL->True, similar to vectorisation. * When generating code for a calculation, stringify the kernel and call the OpenCL run time, when OpenCL code should be generated. * Stringify Differencing.h when OpenCL is used. * Move certain function calls out of the body of the generated code and into the wrapper, e.g. screen output and checking whether grid functions have memory.
* | | Enable selection of finite difference operators using run-time parametersIan Hinder2011-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partial derivative definitions can now depend on Mathematica variables corresponding to parameters defined in IntParameters. These parameters should be defined with an AllowedValues -> {1, 2, 3, …} entry. Derivative operators are created for all possible values of the parameter. At run-time, a switch statement in the grid function loop selects which set of operators are used. Only one parameter can currently be used.
* | | Add assert() in vectorized code.Barry Wardell2011-06-19
| |/ |/|
* | Support no-inline functions for derivatives in vectorised codeErik Schnetter2011-05-27
| | | | | | | | | | | | | | | | | | Create two versions of the derivative operators, once as macro, and once as no-inline function. When a function is used, then the grid spacing 1/dx must be passed in explicitly. This was done differently before and is now slightly faster and shorter. The no-inline function reduces code size, and should probably also be available for the non-vectorised code, but this is not implemented.
* | Additional checks when using a JacobianIan Hinder2011-05-25
| |
* | Add support for a Jacobian to be applied to all derivativesIan Hinder2011-05-20
| |
* | Add missing package import.Barry Wardell2011-05-12
| |
* | Merge branch 'master' into xTensorBarry Wardell2011-03-20
|\ \ | | | | | | | | | | | | Conflicts: Tools/CodeGen/KrancThorn.m
| * | Improved common subexpression elimination support.Barry Wardell2011-03-16
| | |
| * | Only vectorise in differencing header if UseVectors is setIan Hinder2011-01-22
| | |
| * | Merge master into vectorIan Hinder2011-01-22
| |\ \ | | | | | | | | | | | | | | | | Fixed conflicts in: Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.h
| | * | KrancThorn.m: Add additional check of the groups structureIan Hinder2010-12-19
| | | |
| * | | Use C++ for all source files.Erik Schnetter2010-12-06
| |/ / | | | | | | | | | Add extern "C" to scheduled functions.