Giter Club home page Giter Club logo

shaman's People

Contributors

cedricchevalier19 avatar nestordemeure avatar ravenwater avatar

Stargazers

 avatar

shaman's Issues

Shaman support for exotic floating point types

Shaman requires std::is_arithmeticwhich is only fulfilled by std::bfloat16_t since C++23 and more annoyingly cannot be changed on the user side.

https://en.cppreference.com/w/cpp/types/is_floating_point

Checks whether T is a floating-point type. Provides the member constant value which is equal to true, if T is the type float, double, long double, or any extended floating-point types (std::float16_t, std::float32_t, std::float64_t, std::float128_t, or std::bfloat16_t)(since C++23), including any cv-qualified variants. Otherwise, value is equal to false.

The behavior of a program that adds specializations for std::is_floating_point or std::is_floating_point_v is undefined.

Data type aliasing

Instead of replacing standard floating point type by Shamman version, make the Shamman version a type alias that refers to either standard floating point or Shamman floating point. The actual nature of the alias should be selected through a single macro.

The idea is to let client code switch between standard and shamman type by changing its code at a single point.

Update Kokkos support

Old Kokkos helpers do not work with current versions of Kokkos.

'Kokkos_ArithTraits.hpp' file not found

Related to #2

Kokkosify Shaman types and functions

Add Kokkos macros to make Shaman type portable accross Kokkos backends

  • Shaman types have to use Kokkos:: namespace for mathematical functions

Mandatory Checks:

  • Compilation on CPU / gcc
  • Compilation on CPU / clang
  • Compilation on GPU / Nvidia
  • Compilation on GPU / AMD
  • Compatibility with Kokkos Views

Should be tested with at least examples from #1

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.