1. 04 Jan, 2018 2 commits
  2. 02 Jan, 2018 1 commit
  3. 20 Sep, 2017 1 commit
    • Kenneth Moreland's avatar
      Update copyright for Sandia · c3a3184d
      Kenneth Moreland authored
      Sandia National Laboratories recently changed management from the
      Sandia Corporation to the National Technology & Engineering Solutions
      of Sandia, LLC (NTESS). The copyright statements need to be updated
      accordingly.
      c3a3184d
  4. 07 Aug, 2017 1 commit
  5. 27 May, 2017 1 commit
  6. 26 May, 2017 1 commit
  7. 25 May, 2017 1 commit
  8. 18 May, 2017 1 commit
  9. 06 Feb, 2017 2 commits
  10. 26 Jan, 2017 1 commit
  11. 24 Jan, 2017 1 commit
    • Thomas Otahal's avatar
      Modified Math.h.in instead of Math.h · cd95cbe9
      Thomas Otahal authored
      Changed return types for all scalar and vector unary math operations
      to return vtkm::FloatDefault instead of input type. vtkm::Float64 will
      be returned when the input is vtkm::Float64.
      cd95cbe9
  12. 19 Jan, 2017 1 commit
    • Thomas Otahal's avatar
      Created a filter for the vector magnitude worklet. · 556b9227
      Thomas Otahal authored
      Modified the vector magnitude worklet to accept VecAll instead
      of Vec3 and return Scalar. Modified the Magnitude() and Sqrt() functions
      to return FloatDefault for all inputs except for Float64.
      
      Perhaps we should modify other functions in Math.h and VectorAnalysis.h to
      return float types for intergral arguments instead of integral types?
      556b9227
  13. 16 Dec, 2016 1 commit
    • Kenneth Moreland's avatar
      Make literals for bits unsigned · c9e146a2
      Kenneth Moreland authored
      Literals that are used to represent the bits of certain floating point
      numbers (e.g. VTKM_NAN_BITS_64) are placed into unsigned integers before
      converted to floating points. We ran into an example where the compiler
      complained that a literal (specifically VTKM_NEG_INF_BITS_64) was
      declared signed and was negative but then placed in an unsigned (64-bit)
      integer. This should fix the problem by making the literal itself
      unsigned.
      c9e146a2
  14. 15 Dec, 2016 1 commit
    • Kenneth Moreland's avatar
      Don't call std functions in math nonfinte functions for CUDA · fda3ec71
      Kenneth Moreland authored
      The math nonfinite check functions (like IsNan) were calling the std
      equivalent function. This is fine for most architectures, but is not
      available for devices under CUDA. Instead, call the CUDA version of
      these functions when compiling with CUDA.
      
      This fixes an issue that became apparent once we added CUDA error code
      checking.
      fda3ec71
  15. 30 Nov, 2016 1 commit
  16. 16 Nov, 2016 1 commit
    • Kenneth Moreland's avatar
      Remove exports for header-only functions/methods · fdaccc22
      Kenneth Moreland authored
      Change the VTKM_CONT_EXPORT to VTKM_CONT. (Likewise for EXEC and
      EXEC_CONT.) Remove the inline from these macros so that they can be
      applied to everything, including implementations in a library.
      
      Because inline is not declared in these modifies, you have to add the
      keyword to functions and methods where the implementation is not inlined
      in the class.
      fdaccc22
  17. 15 Nov, 2016 1 commit
  18. 02 Sep, 2016 1 commit
  19. 07 Dec, 2015 1 commit
    • Kenneth Moreland's avatar
      Use std::Min/Max over fmin/fmax · 5d829f21
      Kenneth Moreland authored
      We had a report that vtkm::Min/Max was significantly slower than other
      products. This was traced back to the fact that these functions were not
      completely inlining because they were calling fmin or fmax, and that
      resulted in an actual C library call. It turns out using the templated
      functions in the std namespace is faster.
      
      This change has the VTK-m min/max functions use the std version in
      almost all circumstances. The one exception (so far) is that fmin and
      fmax are used for CUDA devices since the std functions are not declared
      to run on the device and the nvcc compiler treats these functions
      special.
      5d829f21
  20. 02 Sep, 2015 1 commit
    • Kenneth Moreland's avatar
      Fix pyexpander errors · 9749e578
      Kenneth Moreland authored
      There was some inconsistencies between the input and output files for
      pyexpander checked into the repository. This just makes them consistent.
      9749e578
  21. 13 Aug, 2015 1 commit
  22. 30 Jul, 2015 1 commit
    • Kenneth Moreland's avatar
      Always disable conversion warnings when including boost header files · 21b3b318
      Kenneth Moreland authored
      On one of my compile platforms, GCC was giving conversion warnings from
      any boost include that was not wrapped in pragmas to disable conversion
      warnings. To make things easier and more robust, I created a pair of
      macros, VTKM_BOOST_PRE_INCLUDE and VTKM_BOOST_POST_INCLUDE, that should
      be wrapped around any #include of a boost header file.
      21b3b318
  23. 22 Jul, 2015 1 commit
  24. 17 Jul, 2015 1 commit
  25. 02 Jul, 2015 1 commit
    • Kenneth Moreland's avatar
      Add Matrix class. · abcc6da5
      Kenneth Moreland authored
      The matrix class is for thread-local matrix computations. It is intended
      to store things like tensors or geometric transforms.
      abcc6da5
  26. 30 Jun, 2015 1 commit
  27. 29 Jun, 2015 1 commit
    • Kenneth Moreland's avatar
      Fix use of VTKM_MSVC · 3ab8288d
      Kenneth Moreland authored
      The VTKM_MSVC is just defined if using MSVC. It is not set to any value.
      There was a reference in Math.h that assumed it was set to true, which
      it was not. This simple change should fix that.
      3ab8288d
  28. 25 Jun, 2015 1 commit
    • Kenneth Moreland's avatar
      Add CUDA math test · 4a8d69ca
      Kenneth Moreland authored
      Also fix some issues that caused the compile to fail when trying to
      run some of the math functions on a CUDA device. In particular, CUDA
      is picky about using a global const on a device when the const type is
      not one of the basic C types.
      4a8d69ca
  29. 24 Jun, 2015 2 commits
  30. 23 Jun, 2015 1 commit
  31. 22 Jun, 2015 3 commits