mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-15 18:23:41 +00:00
parent
fb2e30a76c
commit
9da930afe1
1 changed files with 8 additions and 1 deletions
|
|
@ -199,7 +199,14 @@ To build for Intel GPU, replace dnnl_opencl_root with the path of the Intel SDK
|
|||
`.\build.bat --use_dnnl --dnnl_gpu_runtime ocl --dnnl_opencl_root "c:\program files (x86)\intelswtools\sw_dev_tools\opencl\sdk"`
|
||||
#### Linux
|
||||
|
||||
`./build.sh --use_dnnl --dnnl_gpu_runtime ocl --dnnl_opencl_root "/opt/intel/sw_dev_tools/opencl-sdk"`s
|
||||
`./build.sh --use_dnnl --dnnl_gpu_runtime ocl --dnnl_opencl_root "/opt/intel/sw_dev_tools/opencl-sdk"`
|
||||
|
||||
#### Build Phython Wheel
|
||||
|
||||
|
||||
OneDNN EP build supports building Python wheel for both Windows and linux using flag --build_wheel
|
||||
|
||||
`.\build.bat --config RelWithDebInfo --parallel --build_shared_lib --cmake_generator "Visual Studio 16 2019" --build_wheel --use_dnnl --dnnl_gpu_runtime ocl --dnnl_opencl_root "C:\Program Files (x86)\IntelSWTools\system_studio_2020\OpenCL\sdk"`
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue