1. 11 Mar, 2019 1 commit
  2. 08 Mar, 2019 5 commits
  3. 07 Mar, 2019 1 commit
  4. 05 Mar, 2019 4 commits
  5. 04 Mar, 2019 11 commits
  6. 01 Mar, 2019 13 commits
  7. 28 Feb, 2019 5 commits
    • Kenneth Moreland's avatar
      Specify return type for GetTimerImpl · 6797c6e3
      Kenneth Moreland authored
      The internal function GetTimerImpl has a rather complex expression for
      its return type. Prevously this was derived using declspec, but one of
      the versions of Visual Studio barfed on that for some reason. So now
      declare the return type explicitly.
      6797c6e3
    • Kenneth Moreland's avatar
      Increase the conditions on which Timer is tested · 25f3432b
      Kenneth Moreland authored
      UnitTestTimer was changed to be initialized across all possible devices
      and getting times across all possible devices. Also test all possible
      ways to set the device in the Timer.
      25f3432b
    • Kenneth Moreland's avatar
      Synchronize CUDA timer when stopping it · 4d9ce248
      Kenneth Moreland authored
      Previously, when Stop was called on a Cuda timer, it would record a stop
      event but it would not synchronize it at that time. Instead, the
      synchronize was only called when GetElapsedTime was called. The problem
      is that the time of the event is only marked when synchronize is called.
      Thus, if the event completed before GetElapsedTime was called, it would
      record the time from when the event acutally happened to the time when
      GetElapsedTime was called as part of the elapsed time, which is
      incorrect.
      
      Fix the problem by synchronizing when Stop is called. Although this
      makes the Timer more invasive, generally using the Timer can cause
      synchronization to happen. This behavior is consistent with the Timer
      implementation for other devices.
      4d9ce248
    • Kenneth Moreland's avatar
      Add const correctness to Timer · 85265a9c
      Kenneth Moreland authored
      It should be possible to query a vtkm::cont::Timer without modifying it.
      As such, its query functions (such as Stopped and GetElapsedTime) should
      be const.
      85265a9c
    • Robert Maynard's avatar
      VTK-m now doesn't use reserved C++ identifiers · 8114e9e6
      Robert Maynard authored
      Fixes #340
      8114e9e6