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
I want to have a build with memory profiling enabled, but the build fails at some point because it looks for the attribute name in the structure OrtDevice which doesn't exist.
.../onnxruntime/onnxruntime/core/framework/execution_frame.cc:424:73: error: ‘const struct OrtDevice’ has no member named ‘name’
424 | static_activation_memory_sizes_in_byte_.find(location.name) ==
| ^~~~
.../onnxruntime/include/onnxruntime/core/common/common.h:174:11: note: in definition of macro ‘ORT_ENFORCE’
174 | if (!(condition)) { \
| ^~~~~~~~~
.../onnxruntime/onnxruntime/core/framework/execution_frame.cc:427:28: error: ‘const struct OrtDevice’ has no member named ‘name’
427 | location.name,
| ^~~~
.../onnxruntime/include/onnxruntime/core/common/common.h:176:75: note: in definition of macro ‘ORT_ENFORCE’
176 | ::onnxruntime::MakeString(__VA_ARGS__)); \
| ^~~~~~~~~~~
.../onnxruntime/onnxruntime/core/framework/execution_frame.cc:431:64: error: ‘const struct OrtDevice’ has no member named ‘name’
431 | static_activation_memory_sizes_in_byte_[location.name] = peak_size;
Visual Studio Version
No response
GCC / Compiler Version
9.4.0
The text was updated successfully, but these errors were encountered:
Describe the issue
I want to have a build with memory profiling enabled, but the build fails at some point because it looks for the attribute
name
in the structureOrtDevice
which doesn't exist.Urgency
Not very urgent.
Target platform
x86
Build script
./build.sh --config Release --build_shared_lib --use_cache --parallel 8 --skip_tests --enable_memory_profile --compile_no_warning_as_error
Error / output
Visual Studio Version
No response
GCC / Compiler Version
9.4.0
The text was updated successfully, but these errors were encountered: