1. 22 Apr, 2019 1 commit
    • Robert Maynard's avatar
      For VTK-m libs all includes of DeviceAdapterTagCuda happen from cuda files · ff687016
      Robert Maynard authored
      It is very easy to cause ODR violations with DeviceAdapterTagCuda.
      If you include that header from a C++ file and a CUDA file inside
      the same program we an ODR violation. The reasons is that the C++
      versions will say the tag is invalid, and the CUDA will say the
      tag is valid.
      
      The solution to this is that any compilation unit that includes
      DeviceAdapterTagCuda from a version of VTK-m that has CUDA enabled
      must be invoked by the cuda compiler.
      ff687016
  2. 17 Apr, 2019 1 commit
  3. 09 Apr, 2019 1 commit
  4. 03 Apr, 2019 1 commit
  5. 26 Mar, 2019 1 commit
  6. 24 Jan, 2019 1 commit
  7. 16 Jan, 2019 1 commit
    • Robert Maynard's avatar
      Remove VTK-m TestBuild infrastructure · 4ec5bae0
      Robert Maynard authored
      The purpose of the TestBuild infrastructure was to confirm that
      VTK-m didn't have any lexical issues when it was a pure header
      only project. As we now move to have more compiled components
      the need for this form of testing is mitigated. Combined
      with the issue of TestBuilds causing MSVC issues, we should
      just remove this infrastructure.
      4ec5bae0
  8. 09 Jan, 2019 1 commit
  9. 27 Dec, 2018 3 commits
  10. 13 Dec, 2018 1 commit
    • Allison Vacanti's avatar
      Add vtkm::cont::Initialize. · cdb1f568
      Allison Vacanti authored
      Also
      - Renamed vtkm::cont::make_DeviceAdapterIdFromName to just overload
        make_DeviceAdapterId.
      - Refactored CMake logic for unit tests
        - Since we're now querying the device tracker for the names, they
          cannot be all caps.
      - Updated usages of InitLogging to use Initialize instead.
      - Added changelog.
      cdb1f568
  11. 06 Dec, 2018 1 commit
  12. 29 Nov, 2018 1 commit
  13. 27 Nov, 2018 1 commit
  14. 23 Nov, 2018 1 commit
    • Haocheng LIU's avatar
      Merge worklet testing executables into a device dependent shared library · 88596366
      Haocheng LIU authored
      VTK-m has been updated to replace old per device worklet testing executables with a device
      dependent shared library so that it's able to accept a device adapter
      at runtime.
      Meanwhile, it updates the testing infrastructure APIs. vtkm::cont::testing::Run
      function would call ForceDevice when needed and if users need the device
      adapter info at runtime, RunOnDevice function would pass the adapter into the functor.
      
      Optional Parser is bumped from 1.3 to 1.7.
      88596366
  15. 16 Oct, 2018 1 commit
  16. 08 Aug, 2018 1 commit
    • Robert Maynard's avatar
      Make sure VTK-m runs all OpenMP tests serially. · 48cc2f66
      Robert Maynard authored
      Fixes issue #276.
      OpenMP tests when run in parallel exhibit negative scaling as we
      have N openMP processes each spawning N threads. We speculate that
      this causes excessive context switching and swapping and reduces
      performance.
      48cc2f66
  17. 14 Jun, 2018 1 commit
    • luz.paz's avatar
      Misc. typos · 940c8918
      luz.paz authored
      Found via `codespell` and `grep`
      more typos
      
      includes source typo change and a typo that needs further review
      follow-up typos
      
      
      Follow-up typos
      
      
      Revert a commit
      940c8918
  18. 05 Jun, 2018 1 commit
  19. 16 May, 2018 1 commit
  20. 11 May, 2018 1 commit
  21. 25 Apr, 2018 3 commits
  22. 24 Apr, 2018 1 commit
  23. 20 Apr, 2018 1 commit
  24. 19 Apr, 2018 6 commits
    • Kenneth Moreland's avatar
      Re-add non testable files to test build sources · 8b9c0f50
      Kenneth Moreland authored
      The vtkm_add_header_build_test was changed to identify "valid" header
      files that were actually tested and only adding those to the source
      list. This was a mistake. A big part of the point of adding headers that
      are not tested to the test build sources is to list them to an IDE.
      8b9c0f50
    • Kenneth Moreland's avatar
      Load correct file extension in header test build · ffd98463
      Kenneth Moreland authored
      Not all VTK-m headers end in .h, but the created test build files
      assumed that it was loading in a .h file. Fixed that.
      ffd98463
    • Kenneth Moreland's avatar
      Fix warnings about no symbols · 7c5f44a6
      Kenneth Moreland authored
      The test build file did not actually define any symbols, so the linker
      might give a warning about it not being used in the library. Define some
      unique symbol so that the linker will not complain.
      7c5f44a6
    • Kenneth Moreland's avatar
      Differentiate between header files with different extensions · 289a4bc1
      Kenneth Moreland authored
      If you tried to create test builds of a header.h and header.hxx, you
      would get an error about building two files with the same name (tried to
      build header.cxx for both of them). Fixed this by adding the original
      extension name to the source file name.
      289a4bc1
    • Kenneth Moreland's avatar
      Fix vtkm_add_header_build_test · 9571c9b5
      Kenneth Moreland authored
      The CMake configuration stopped creating any of the test builds. There
      were a couple of errors introduced into this function that needed to be
      fixed.
      
      First, the condition on whether the testing should be skipped got
      reversed. It was trying to create test build files for all the headers
      that were not supposed to be built instead of the ones that were.
      
      Second, the list of source files to build was not created correctly. The
      set command that stored the name of the source file got removed, and so
      nothing was being added to the list. I restored the variable and used
      that consistently for the source file name.
      9571c9b5
    • Robert Maynard's avatar
  25. 17 Apr, 2018 1 commit
  26. 11 Apr, 2018 1 commit
  27. 10 Apr, 2018 1 commit
    • Utkarsh Ayachit's avatar
      add support to run test with MPI. · 3211c150
      Utkarsh Ayachit authored
      `vtkm_unit_tests` now supports an MPI option that can be used to add
      test that run with MPI. Adding `UnitTestFieldRangeGlobalCompute` to test
      global ranges for fields.
      3211c150
  28. 09 Apr, 2018 1 commit
  29. 31 Jan, 2018 2 commits
  30. 16 Jan, 2018 1 commit