You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have create a custom build using oneDNN. I have used two options for the build.
I have included the whole "onnxruntime/include" in my bazel build and also the libonnxruntime.so.1.15.0 and libonnxruntime.so. create by the build.
Now as per the documentation (https://onnxruntime.ai/docs/execution-providers/oneDNN-ExecutionProvider.html ) I have to include the following code to enable the inter specific optimization.
Ort::Env env = Ort::Env{ORT_LOGGING_LEVEL_ERROR, "Default"};
Ort::SessionOptions sf;
bool enable_cpu_mem_arena = true;
Ort::ThrowOnError(OrtSessionOptionsAppendExecutionProvider_Dnnl(sf, enable_cpu_mem_arena));
This code works only when building with RelWithDebInfo opt n , which is not the best binary to use per the documentation.
However when I am using the build option "Release" , I am observing the following error :
ld.lld: error: undefined symbol: OrtSessionOptionsAppendExecutionProvider_Dnnl
Can you please help me to understand what can be the problem here?
Beta Was this translation helpful? Give feedback.
All reactions