-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add layer examples #20
base: main
Are you sure you want to change the base?
Conversation
app/layer_example/CMakeLists.txt
Outdated
@@ -0,0 +1,9 @@ | |||
set(ARM_DIR "/3rdparty/ComputeLibrary") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an absolute path. You need to use CMAKE_SOURCE_DIR or other variable to reach what you want
#include "../ComputeLibrary/arm_compute/runtime/NEON/NEFunctions.h" | ||
#include "../ComputeLibrary/utils/Utils.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding "include directories" to avoid "../" in your include paths
add_executable(ElementwiseLayer ElementwiseLayer.cpp) | ||
|
||
include_directories(${ARM_DIR}) | ||
include_directories(${ARM_DIR/include}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The root cause of "half" inclusion issue is this line. It should be like this:
include_directories(${ARM_DIR/include}) | |
include_directories(${ARM_DIR}/include) |
Please fix in here and in other PRs
No description provided.