Giter Site home page Giter Site logo

simd-math's People

Contributors

alanw0 avatar crtrott avatar ibaned avatar jvo1012 avatar tasmith4 avatar

Stargazers

 avatar

Watchers

 avatar

simd-math's Issues

Suite of unit tests for the Kokkos SIMD class implementation

  • organize files to have an include and test subdirs
  • add gtest dependency and ensure it works : just clone the gtest library inside and build within the code

Unit tests need to work on:

  • cover all public functionality of the SIMD classes and its child classes.
  • X86 CPUs
  • ARM CPUs
  • IBM Power CPUs
  • NVIDIA GPUs

templated simd constructor

One of the simd constructor is templated but the template doesn't seem to be used:

template <class Flags>
  SIMD_ALWAYS_INLINE inline simd(double const* ptr, Flags /*flags*/)
    :m_value(_mm_loadu_pd(ptr))
  {}

What is the meaning for "Flags" here ?
Can we simply remove it ?

Possible missing implementations

Some methods seem to be missing in the API:

sqrt, max and min are missing in simd_common.
cbrt is missing for vsx and neon
exp is missing for vsx and neon
log is implemented only for avx, avx512 and sse and only in case of intel_compiler detected
copysign and multiplysign are missing for vsx and neon and also in hip_wavefront, cuda, pack, scalar and vector_size

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.