oneDNN VS cedro

Compare oneDNN vs cedro and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
oneDNN cedro
5 6
3,456 44
2.5% -
10.0 3.4
3 days ago about 1 year ago
C++ C
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

oneDNN

Posts with mentions or reviews of oneDNN. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-17.
  • Blaze: A High Performance C++ Math library
    7 projects | news.ycombinator.com | 17 Apr 2024
    If you are talking about non-small matrix multiplication in MKL, is now in opensource as a part of oneDNN. It literally has exactly the same code, as in MKL (you can see this by inspecting constants or doing high-precision benchmarks).

    For small matmul there is libxsmm. It may take tremendous efforts make something faster than oneDNN and libxsmm, as jit-based approach of https://github.com/oneapi-src/oneDNN/blob/main/src/gpu/jit/g... is too flexible: if someone finds a better sequence, oneDNN can reuse it without major change of design.

    But MKL is not limited to matmul, I understand it...

  • Arc & Deep Learning Frameworks
    1 project | /r/intel | 6 Oct 2022
    For completeness, it looks like this question was posted to the oneDNN GitHub repo and the response was to stay tune for updates.
  • Keeping POWER relevant in the open source world
    9 projects | news.ycombinator.com | 22 Jan 2022
  • Intel oneDNN 2.5 released with experimental RISC-V support
    2 projects | /r/RISCV | 9 Dec 2021
    From the release note of oneDNN v2.5:
  • Is gpu hardware tied to cpu ISA ?
    1 project | /r/hardware | 11 Jan 2021
    Intel are trying to support their oneAPI compute framework on Arm and IBM POWER and z/Architecture (s390x) but since they ever released only a single discrete GPU with the Xe architecture it's unclear whether they'll support Xe GPU compute on e.g. ARM https://github.com/oneapi-src/oneDNN

cedro

Posts with mentions or reviews of cedro. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-08.
  • OOP in C
    7 projects | news.ycombinator.com | 8 Jan 2023
    I’ve built it for now in a separate branch called “self”:

        git clone -b self https://github.com/Sentido-Labs/cedro.git
  • What do you think about a C transpiler?
    6 projects | /r/C_Programming | 12 Sep 2022
    Currently, it does not make any difference whether this is one token or more because it is sent to the compiler exactly the same as it came in, but you could write a macro/plugin (src/macros/] that recognized this pattern and inserted a space right before the minus “-” sign.
  • Show HN: Loop macros, label break, slices in C with the Cedro preprocessor
    2 projects | news.ycombinator.com | 28 Apr 2022
    Hi, when I presented the first release here 8 months ago (https://news.ycombinator.com/item?id=28166125) it got interesting comments and today I’ve made a new release with additional features:

    - Break out of nested loops: break label; (https://sentido-labs.com/en/library/cedro/202106171400/#labe...)

    - Notation for array slices: array[start..end] (https://sentido-labs.com/en/library/cedro/202106171400/#slic...)

    - Loop macros: #foreach { ... #foreach } (https://sentido-labs.com/en/library/cedro/202106171400/#loop...)

    The possibility of loop macros was discussed in this thread: https://news.ycombinator.com/item?id=28166698

    At the time I hadn’t figured out how to make it useful without type information, but now it works. The same for the array slice notation: it took me a while to figure out how to make it do something useful without reflection, with a purely syntantical transformation.

    Loop macros are useful for the kind of things for which you would use x-macros (https://en.wikipedia.org/wiki/X_Macro), with the advantage that it does not pollute the global namespace with macro names and the body of the macro stays more similar to the final result, which makes big macros easier to read.

    Since it runs before the standard C preprocessor it can do things like building up `_Generic` macros as shown in the loop macro vec example: https://sentido-labs.com/en/library/cedro/202106171400/#loop...

    Source code (Apache 2.0 license): https://sentido-labs.com/en/library/ or https://github.com/Sentido-Labs/cedro

  • is there a c function exit hook?
    1 project | /r/C_Programming | 21 Feb 2022
    If pre-processing your code is an acceptable compromise, my Cedro pre-processor has that feature: passing a file through it produces standard C code for your compiler, and it includes a wrapper cedrocc that can be used in Unix/POSIX-style systems like Linux as a drop-in replacement for GCC: https://github.com/Sentido-Labs/cedro/
  • Keeping POWER relevant in the open source world
    9 projects | news.ycombinator.com | 22 Jan 2022
    What I’d like to do is a quick proof-of-concept to see whether whatever instructions are available in my CPU can be leveraged for UTF-8 en-/decoding.

    For instance, does it work any better than my C implementation? https://github.com/Sentido-Labs/cedro/blob/master/src/cedro....

    Maybe the compiler already compiles that to an optimal SIMD version, I don’t know.

What are some alternatives?

When comparing oneDNN and cedro you can also consider the following projects:

oneMKL - oneAPI Math Kernel Library (oneMKL) Interfaces

cyclone - Cyclone is a type- and memory-safe dialect of C

CTranslate2 - Fast inference engine for Transformer models

cake - Cake a C23 front end and transpiler written in C

oneDPL - oneAPI DPC++ Library (oneDPL) https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/dpc-library.html

a2i

highway - Highway - A Modern Javascript Transitions Manager

ooduck - Duck-Typing C library based on ooc.pdf

asmjit - Low-latency machine code generation

a2o

librealsense - Intel® RealSense™ SDK