1. 21 Dec, 2010 2 commits
  2. 20 Dec, 2010 1 commit
    • Manuel M T Chakravarty's avatar
      Sharing of array computations descents into expressions · c701a117
      Manuel M T Chakravarty authored
      Ignore-this: ca4a8bf538e6a87f15db830e0fddb099
      - Array computations embedded in scalar expressions by 'shape',
        'size' and '(!)' operations are now also shared.
      - Also fixed a bug in the previous sharing code that could lead
        bindings in let cascades being in the wrong order.
      - The sharing code for functions is a kludge and the whole
        sharing recover needs to be re-factored and cleaned up.
      
      darcs-hash:20101220103409-6295e-51e249bd5bad0913f59bd211640d2497fbd73e0d.gz
      c701a117
  3. 14 Dec, 2010 10 commits
    • Sean Seefried's avatar
      Graphviz PP uses generic AST traversal now. · 5ce49fa3
      Sean Seefried authored
      Ignore-this: 16c81cb7e0dfaf638451e0161719c86a
      
      dumpHtmlAST now writes out stylesheet too.
      
      darcs-hash:20101214224340-4e826-35e0ec14925bd6e25b570ffa0cc4f12dea1ac104.gz
      5ce49fa3
    • Sean Seefried's avatar
      Added HTML pretty printing. · d1bbb780
      Sean Seefried authored
      Ignore-this: eabbd8085d8c2763ee802324c7242f56
      
      Generalised the traversal of the AST. Next up, converting Graphviz
      pretty printing to use this generalised traversal.
      
      darcs-hash:20101214224226-4e826-6abbe0f8c731a41d4aeb10a1f59d5ca060fda56c.gz
      d1bbb780
    • Sean Seefried's avatar
      Added colour to the dumped Graphviz ASTs · 99b7ae6b
      Sean Seefried authored
      Ignore-this: 1114be712550a760fefbf1026cc2150
      
      darcs-hash:20101214224133-4e826-79bcfadd8e28e2b89328cc85461fe766365d82a7.gz
      99b7ae6b
    • Sean Seefried's avatar
      Add D.A.A.Pretty.Graphviz to accelerate.cabal · c076a6eb
      Sean Seefried authored
      Ignore-this: ed67c4625c2f724e90eae8f795b66ba8
      
      darcs-hash:20101214224110-4e826-3eba77563af77f63bb45fbdd8ac57598fcb27178.gz
      c076a6eb
    • Sean Seefried's avatar
      Added Graphviz output. · 4521f3cb
      Sean Seefried authored
      Ignore-this: 8fd4b7310f7a73c9180a9ff41f69507c
      
      The main function is dumpAcc which, given an Acc,
      tries to write a PS file using the dot command line tool.
      If the dot tool cannot be found in the path it outputs a
      DOT file instead.
      
      darcs-hash:20101214224035-4e826-65a658b0bc220aab234427b71e444e769fc6e782.gz
      4521f3cb
    • Sean Seefried's avatar
      Restructured Pretty printing · ba43a59b
      Sean Seefried authored
      Ignore-this: 1b33d3285fa848e3a633d89a8bbabfbe
      
      Moved the HughesPJ style pretty printing functions into
      D.A.A.Pretty.Print. Show instances are still in D.A.A.Pretty
      
      We will be putting other pretty printing modules under D.A.A.Pretty.
      e.g. for GraphViz.
      
      darcs-hash:20101214223901-4e826-e107968d658c58ba36c6fca6630ef29f2a8125f1.gz
      ba43a59b
    • Trevor L. McDonell's avatar
      use generate rather than replicate to produce arrays of a constant value · 093f5817
      Trevor L. McDonell authored
      Ignore-this: 74f8f17299e954e2e3e8ca9f7cc5ccbe
      
      darcs-hash:20101214065211-dcabc-83d69154c1c5e3835f8a9eac6ecd545c172edcf0.gz
      093f5817
    • Trevor L. McDonell's avatar
      suppress a few warnings · d4e68cd6
      Trevor L. McDonell authored
      Ignore-this: 56889b2717e95e8d2a0a95157dc27e12
      
      darcs-hash:20101214063930-dcabc-f4bc59c3a0fc11f46136dd27f391833185240ba9.gz
      d4e68cd6
    • Trevor L. McDonell's avatar
      many wibbles; clean up the CUDA stream implementation · 5453b883
      Trevor L. McDonell authored
      Ignore-this: e7423b432b0016a56687963244abe4cd
      
      darcs-hash:20101214061450-dcabc-b34d1599e2420210a1e0fc21868cb7fb73f2df87.gz
      5453b883
    • Trevor L. McDonell's avatar
      stream implementation for interpreter backend · 544e8f8c
      Trevor L. McDonell authored
      Ignore-this: 2b9d383b6b65fa2252b8708499ffed8a
      
      darcs-hash:20101214061045-dcabc-93f24940ca859fc4f69426d70a83957ee64c89ef.gz
      544e8f8c
  4. 10 Dec, 2010 1 commit
  5. 13 Dec, 2010 1 commit
  6. 09 Dec, 2010 1 commit
  7. 13 Dec, 2010 2 commits
  8. 10 Dec, 2010 3 commits
    • Trevor L. McDonell's avatar
      rank-polymorphic fold · af2871c9
      Trevor L. McDonell authored
      Ignore-this: e509a1335198c6baa77f7ec5212c29a1
      - one warp per innermost projection
      - direct index calculations and aligned memory access
      
      darcs-hash:20101210043945-dcabc-afeb47c538cdc11e6405d1410221a4ff244a5d07.gz
      af2871c9
    • Trevor L. McDonell's avatar
      convert to row-major storage format · ba5c525c
      Trevor L. McDonell authored
      Ignore-this: 2275f715e3565c7fbc0f32013eb92a5c
      - use templates so that some methods can be defined inductively
      
      darcs-hash:20101210040528-dcabc-0cc6bb78ffa3803be5a2cc40bd38f378f9d4248f.gz
      ba5c525c
    • Trevor L. McDonell's avatar
      use row-major indexing · bda7be56
      Trevor L. McDonell authored
      Ignore-this: 609a2408dd40fee4b8ee436f92450de7
      
      darcs-hash:20101210030018-dcabc-cf16b6a001f7a6b1c089e0312c03b8b9834c179e.gz
      bda7be56
  9. 09 Dec, 2010 4 commits
    • Trevor L. McDonell's avatar
      enumerate each AST type in sharedMem calculation to avoid the use of a base case · dbe00205
      Trevor L. McDonell authored
      Ignore-this: c10719a234096c96349d89e041ae3231
      
      darcs-hash:20101209054333-dcabc-e8daae5e7fbf1669718081f9a28097b670003770.gz
      dbe00205
    • Trevor L. McDonell's avatar
      launch resource calculations for Fold1Seg · b5c97583
      Trevor L. McDonell authored
      Ignore-this: cf60ee0fb6dffee14dae6c1da62523fc
      
      darcs-hash:20101209051947-dcabc-1feadd85a1d2f7fc6e682fdf86826edc2faf14c3.gz
      b5c97583
    • Trevor L. McDonell's avatar
      add volatile qualifier to output array types · d1c2eacf
      Trevor L. McDonell authored
      Ignore-this: 5a1ae103145d7403eb2d5db065a1bec4
      - specifically, we need arrays to be declared volatile to inhibit certain memory
        optimisations and ensure results are actually written to [shared] memory. This
        was previously only apparent on Fermi architectures (Trac:27) but the CUDA-3.2
        release seems to be more sensitive (or aggressive).
      - due to the way type synonyms are used for skeletons with associative operators
        (such as fold) the input arrays in this case are also marked volatile. This
        shouldn't be too problematic...
      - alternatively, create a new set of types for use only with shared memory,
        together with conversion functions.
      
      darcs-hash:20101209050449-dcabc-d1626d9a542910d2aac776111efadf51e48fed3e.gz
      d1c2eacf
    • Manuel M T Chakravarty's avatar
      Introduced the Lift and Unlift classes · e8e3c671
      Manuel M T Chakravarty authored
      Ignore-this: e666505767443e6f30bc82f829839190
      - 'Lift' and 'Unlist' provide 'lift' and 'unlift' that replace
        the previous tuple/untuple and index/unindex functions.
      - The new functions are more flexible as they can lift from
        vanilla Haskell types as well as from constructors around
        scalar Accelerate expressions (unlift naturally only works
        for the latter).
      - For the moment tuple/untuple and index/unindex are still
        available, though deprecated and as aliases for lift/unlift
      
      darcs-hash:20101209045330-6295e-17b3b862c2209771c392079c0d12ebca8e5ece0e.gz
      e8e3c671
  10. 08 Dec, 2010 2 commits
  11. 06 Dec, 2010 1 commit
    • Trevor L. McDonell's avatar
      segmented reduction (vector) · 7756f501
      Trevor L. McDonell authored
      Ignore-this: 3034d666b1fbb018f6a7b4105ca85336
      - warps should now be coalesced _and_ aligned
      
      darcs-hash:20101206041325-dcabc-d274f4bc61ba973a416b5203992ab41e76457fb5.gz
      7756f501
  12. 03 Dec, 2010 2 commits
  13. 02 Dec, 2010 1 commit
  14. 03 Dec, 2010 1 commit
    • Trevor L. McDonell's avatar
      rank-polymorphic fold[1] · 25d0ca18
      Trevor L. McDonell authored
      Ignore-this: ad71872abee0be0f4b9b41f0a4b0debe
      - one block of threads per projection along an innermost dimension (warp?)
      - may be able to optimise by incrementing the array indexes directly rather than
        conversion to/from multidimensional form
      
      darcs-hash:20101203024853-dcabc-cb5b5cd7727da537c0e69eb0dd39e73d78bc33b1.gz
      25d0ca18
  15. 01 Dec, 2010 1 commit
  16. 30 Nov, 2010 3 commits
    • Trevor L. McDonell's avatar
      wibble · 18030835
      Trevor L. McDonell authored
      Ignore-this: a7986713598bff4296bcf90186aaa676
      
      darcs-hash:20101130092823-dcabc-fde2fe7b2264f4200e874f2862758b9e4ee90683.gz
      18030835
    • Trevor L. McDonell's avatar
      fold and fold1 for vectors, supporting non-neutral elements · 6a8a6f75
      Trevor L. McDonell authored
      Ignore-this: c567b2d4cd7a3e32c4738cc06cd2aeb9
      
      darcs-hash:20101130092605-dcabc-d9fa752265af9ebf69bb5360575573731b3106eb.gz
      6a8a6f75
    • Trevor L. McDonell's avatar
      wobble · a3310ffd
      Trevor L. McDonell authored
      Ignore-this: 79cbd0c0bb05745f17dccb3cd095edc2
      
      darcs-hash:20101130091559-dcabc-77ee4d7bab44e9003143f1a99e11e63a30d42825.gz
      a3310ffd
  17. 29 Nov, 2010 4 commits