MuladdMacro.jl

This package contains a macro for converting expressions to use muladd calls and fused-multiply-add (FMA) operations for high-performance in the SciML scientific machine learning ecosystem (by SciML)

MuladdMacro.jl Alternatives

Similar projects and alternatives to MuladdMacro.jl

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better MuladdMacro.jl alternative or higher similarity.

MuladdMacro.jl reviews and mentions

Posts with mentions or reviews of MuladdMacro.jl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-16.
  • Std: Clamp generates less efficient assembly than std:min(max,std:max(min,v))
    4 projects | news.ycombinator.com | 16 Jan 2024
    Totally agreed. In Julia we use https://github.com/SciML/MuladdMacro.jl all over the place so that way it's contextual and does not bleed into other functions. fast-math changing everything is just... dangerous.
  • Someone’s Been Messing with My Subnormals
    3 projects | news.ycombinator.com | 6 Sep 2022
    But if what you want is automatic FMA, then why carry along every other possible behavior with it? Just because you want FMA, suddenly NaNs are turned into Infs, subnormal numbers go to zero, handling of sin(x) at small values is inaccurate, etc? To me that's painting numerical handling in way too broad of strokes. FMA also only increases numerical accuracy, it doesn't decrease numerical accuracy, so bundling it with unsafe transformations makes one uncertain now whether it has improved or decreased accuracy.

    For reference, to handle this well we use MuladdMacro.jl which is a semantic transformation that turns x*y+z into muladd expressions, and it does not recurse into functions so it does not change the definitions of the callers inside of the macro scope.

    https://github.com/SciML/MuladdMacro.jl

    This is something that will always increase performance and accuracy (performance because muladd in Julia is an FMA that is only applied if hardware FMA exists, effectively never resorting to a software FMA emulation) because it's targeted to do only a transformation that has that property.

  • Julia macros
    5 projects | /r/Julia | 19 Dec 2021
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 25 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic MuladdMacro.jl repo stats
3
45
6.3
18 days ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com