Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Move many functions from CodeGenCactus.m to new CodeGenKranc.m | Ian Hinder | 2013-09-06 |
| | |||
* | CodeGenCactus.m: Rearrange code in InitialiseFDVariables | Ian Hinder | 2013-09-06 |
| | |||
* | CodeGenCactus.m: Simplify InitialiseFDVariables | Ian Hinder | 2013-09-06 |
| | |||
* | CodeGenCactus.m: Remove Fortran FD spacing variable initialisation | Ian Hinder | 2013-09-06 |
| | |||
* | CodeGenCactus.m: Remove unused loopOverInteger | Ian Hinder | 2013-09-06 |
| | |||
* | CodeGenCactus.m: Remove commented-out GridLoop function | Ian Hinder | 2013-09-06 |
| | |||
* | CodeGenCactus.m: Remove unused BoundaryWithGhostsLoop | Ian Hinder | 2013-09-06 |
| | |||
* | CodeGenCactus.m: Remove unused BoundaryLoop | Ian Hinder | 2013-09-06 |
| | |||
* | CodeGenCactus.m: Move vec_load into Vectorisation.m | Ian Hinder | 2013-09-06 |
| | |||
* | CodeGenCactus.m: Remove unused MaybeAssignVariableInLoop | Ian Hinder | 2013-09-06 |
| | |||
* | CodeGenCactus.m: Remove unused DeclareAssignVariableInloop | Ian Hinder | 2013-09-06 |
| | |||
* | CodeGenCactus.m: Move vectorisation for AssignVariableInLoop into ↵ | Ian Hinder | 2013-09-06 |
| | | | | Vectorisation.m | ||
* | Move several vectorisation functions to Vectorisation.m | Ian Hinder | 2013-09-06 |
| | |||
* | CodeGenCactus.m: Move vectoriseExpression into new Vectorisation.m package | Ian Hinder | 2013-09-06 |
| | |||
* | CodeGenCactus.m: Remove comments from generated code | Ian Hinder | 2013-09-05 |
| | |||
* | Do not convert integers to reals when not vectorizing | Erik Schnetter | 2013-07-28 |
| | |||
* | Remove outdated comment: IfThen works fine with vectorization | Erik Schnetter | 2013-07-28 |
| | |||
* | Improve vectorization optimizations | Erik Schnetter | 2013-07-28 |
| | |||
* | Use const qualifier before type name, not after type name | Erik Schnetter | 2013-07-28 |
| | | | | E.g. change "int const" to "const int". Blue Gene/Q requires this for vector types. | ||
* | Add timing and operation counts to generated loops (but leave commented out) | Erik Schnetter | 2013-07-28 |
| | | | | Commented out; need to find efficient way to enable/disable this. | ||
* | Rename loop bounds variables | Erik Schnetter | 2013-01-22 |
| | |||
* | Correct variables names for loop bounds | Erik Schnetter | 2013-01-19 |
| | |||
* | Do not generate integer constants | Erik Schnetter | 2013-01-15 |
| | | | | Do not generate integer constants; this may fail if they are arguments to two-argument functions (e.g. pow) with some C++ compilers. | ||
* | Use CCTK_ macros instead of LC_ macros for looping | Erik Schnetter | 2013-01-15 |
| | |||
* | Remove some const declarations; these lead to compiler errors with IBM's ↵ | Erik Schnetter | 2012-12-21 |
| | | | | compiler on the Blue Gene/Q | ||
* | Expand Pi and E to their numerical values | Erik Schnetter | 2012-12-10 |
| | |||
* | Correct translating Max and Min to C | Erik Schnetter | 2012-11-24 |
| | |||
* | Use CCTK_ATTRIBUTE_UNUSED to mark declared variables as unused | Ian Hinder | 2012-11-19 |
| | | | | In automatically-generated code, it is often convenient to declare variables unconditionally, and let the compiler strip the unused definitions out. Eventually it would be good to tidy up Kranc so that it only declares variables which are actually needed, but for the moment it is more important to reduce the number of warnings generated during compilation, to encourage users to read the warnings that might actually indicate a problem. | ||
* | Optimise vector division by a scalar | Erik Schnetter | 2012-11-14 |
| | |||
* | Correct _Ratio pattern to _Rational | Erik Schnetter | 2012-10-25 |
| | | | | Also slightly rewrite kdiv expansion rules. | ||
* | Don't convert small integers to reals during code generation | Erik Schnetter | 2012-09-13 |
| | | | | Don't convert small integers to reals during code generation. Small integers may be used in if conditions, and converting these to real numbers creates less efficient code. | ||
* | Optimise product of sqrt() calls | Erik Schnetter | 2012-09-13 |
| | |||
* | Handle Piecewise[] in code generation | Erik Schnetter | 2012-09-08 |
| | | | | | Replace Piecewise[] by IfThen[] calls. Unfortunately, this does not work with vectorisation. | ||
* | Reinstate dir[] naming work-around; translate Sign[] to isgn() | Erik Schnetter | 2012-08-16 |
| | |||
* | Delay converting integers to reals | Erik Schnetter | 2012-08-10 |
| | | | | Delay converting integers to reals, so that the simplification functions still act on integers. This improves the generated code. | ||
* | Handle Sign function while vectorising | Erik Schnetter | 2012-07-25 |
| | |||
* | Don't generate large integers; convert them to CCTK_REAL instead | Erik Schnetter | 2012-07-25 |
| | |||
* | Introduce cctk_ash, retire cctk_lssh | Erik Schnetter | 2012-07-03 |
| | | | | | | | | | Introduce cctk_ash, describing the process-local array shape that has been allocated. This may be larger than cctk_lsh, the process-local shape that should be used. Retire cctk_lssh and related infrastructure to handle staggered grid functions. | ||
* | Correct expanding Scalar[] | Erik Schnetter | 2012-06-13 |
| | | | | | | | Handle kmadd and friends. Do not produce / operator; use ScalarINV instead to prevent problems with integer operands. | ||
* | Implement additional vectorisation optimisations | Erik Schnetter | 2012-05-30 |
| | | | | | | | | | When vectorising, break the macros INV, SQR etc. apart, which allows further optimisations, such as avoinding the kmul in kmul[x, kdiv[1, y]]. Combine also operations on ToReal operands, so that these operations are performed on scalars, not on vectors, e.g. kmul[ToReal[omega], ToReal[omege]] now becomes ToReal[omega*omega]. | ||
* | Compactify cakernel.ccl output | Ian Hinder | 2012-04-16 |
| | | | This makes it easier to count the number of variables in a kernel | ||
* | Use ThrowError instead of Throw | Erik Schnetter | 2012-02-20 |
| | |||
* | Revert unintentional changes. | Barry Wardell | 2012-02-11 |
| | | | | These were introduced in 2dc9bd4aeb8c008ffb2679d230d35f4bddf93397. | ||
* | MathematicaCompat.h: Restore macros | Ian Hinder | 2012-02-11 |
| | | | These were removed in c9ec36148e7d255006d732fb16c00c6a64cfa4c9, but this causes existing thorns to fail to compile. We keep them here for compatibility. | ||
* | Undo hack which broke vectorisation. | Barry Wardell | 2012-02-09 |
| | |||
* | Merge remote-tracking branch 'origin/cakernel' | Barry Wardell | 2012-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 | ||
| * | CodeGenCactus.m: Add FIXME to code concerning vectorisation | Ian Hinder | 2012-02-02 |
| | | |||
| * | CodeGenCactus.m: Some casting - this will break vectorisation | Ian Hinder | 2012-02-02 |
| | | |||
| * | Move CalculationMacros to CodeGenCactus.m | Ian Hinder | 2012-01-26 |
| | | |||
| * | Remove unused DeclareFDVariables | Ian Hinder | 2012-01-26 |
| | |