Skip to content
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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Conversation

chekalexey
Copy link
Collaborator

No description provided.

@@ -0,0 +1,9 @@
set(ARM_DIR "/3rdparty/ComputeLibrary")
Copy link
Member

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

Comment on lines 1 to 2
#include "../ComputeLibrary/arm_compute/runtime/NEON/NEFunctions.h"
#include "../ComputeLibrary/utils/Utils.h"
Copy link
Member

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

@allnes allnes requested a review from aobolensk March 4, 2025 15:28
add_executable(ElementwiseLayer ElementwiseLayer.cpp)

include_directories(${ARM_DIR})
include_directories(${ARM_DIR/include})
Copy link
Member

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:

Suggested change
include_directories(${ARM_DIR/include})
include_directories(${ARM_DIR}/include)

Please fix in here and in other PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants