Skip to content

Feasibility of Adding a New Backend Library to oneDNN #4446

@avinashcpandey

Description

@avinashcpandey

I’m exploring the possibility of integrating an additional backend library into oneDNN to leverage specialized kernels for certain workloads. Currently, oneDNN uses a single backend model with JIT-generated kernels.

My questions are:

  1. Is there any existing mechanism or roadmap for supporting multiple backends or runtime backend selection in oneDNN?
  2. If not, what would be the recommended approach for adding a new backend library (e.g., via plugin architecture or extending the current design)?
  3. Are there any constraints or guidelines for maintaining compatibility with oneDNN’s API and memory format system?

Any insights or references to prior discussions would be greatly appreciated.
Thank you!

cc @vpirogov

Metadata

Metadata

Assignees

Labels

platform:cpu-x64Intel64/AMD64 processors. Codeowner: @oneapi-src/onednn-cpu-x64question

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions