1. 08 Jul, 2017 1 commit
  2. 07 Jul, 2017 14 commits
  3. 06 Jul, 2017 2 commits
  4. 05 Jul, 2017 4 commits
  5. 04 Jul, 2017 3 commits
  6. 03 Jul, 2017 8 commits
  7. 02 Jul, 2017 2 commits
  8. 30 Jun, 2017 2 commits
  9. 29 Jun, 2017 4 commits
    • David C. Lonie's avatar
      Refactor array transfer logic for basic storage. · b2c3e416
      David C. Lonie authored
      The old templated array transfer mechanism generated a lot of code
      that ended up doing a simple, type-agnostic memcpy for most devices.
      This patch specialized array handles for basic storage and uses a
      fast-path array transfer implementation. This reduces the size of the
      vtkm_cont library by 27% on gcc (from 6.2MB to 4.5MB).
      b2c3e416
    • Sujin Philip's avatar
      Add option to skip facted normals normalization · 10dc106f
      Sujin Philip authored
      This will allow us to generate faster but approximate point normals.
      10dc106f
    • David C. Lonie's avatar
      Add macro to help pass commas into other macros. · bc1b9207
      David C. Lonie authored
      VTKM_PASS_COMMAS(...) will pass it's arguments verbatim into another
      macro, even if they contain commas. This is helpful when using templated
      classes, e.g.
      
      #define SOME_MACRO(arg) ...
      
      SOME_MACRO(vtkm::cont::ArrayHandle<float, StorageTag>)
      
      won't compile, because the comma in the template parameters is assumed
      to be separating macro arguments. Adding extra parenthesis,
      
      SOME_MACRO((vtkm::cont::ArrayHandle<float, StorageTag>))
      
      helps in some cases, but not others (e.g. the macro declares a variable).
      
      SOME_MACRO(VTKM_PASS_COMMAS(vtkm::cont::ArrayHandle<float, StorageTag>))
      
      will always* work.
      bc1b9207
    • David C. Lonie's avatar