Skip to content

Commit 2247620

Browse files
committed
resolve comments - add info about folder structure in README.md
1 parent db67207 commit 2247620

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

include/onnxruntime/ep/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
This folder contains a set of C++ header files. They are used specifically for allowing ONNX Runtime internal kernel-based EPs to use the plugin-style EP API while keep minimal changes to existing code.
44

5+
### Folder Structure
6+
7+
There are 2 types of header files:
8+
9+
- General header files for plugin EP. This may include utilities, macros and shared routines that depending on ONNX Runtime public API only. There are multiple places for header files of this category (which we are going to unify them to one place. There is an ongoing discussion about unifying shared headers for plugin EPs):
10+
- `include/onnxruntime/ep/` (#26919)
11+
- `onnxruntime/test/autoep/library/plugin_ep_utils.h`
12+
- `include/onnxruntime/core/providers/utils/` (#25753)
13+
14+
- Header files specifically used for supporting WebGPU EP and CUDA EP to use EP APIs. These header files do not only depend on ONNX Runtime public API, but also depend on ONNX Runtime internal headers.
15+
- `include/onnxruntime/ep/adapter/`
16+
517
### Usage
618

719
Make sure to include "ep/_pch.h" for all source code in the implementation. Using PCH compiler flag is recommended.

0 commit comments

Comments
 (0)