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

[Enhancement] Adjust csrc structure #594

Merged
merged 6 commits into from
Jun 14, 2022

Conversation

lzhangzz
Copy link
Collaborator

No description provided.

@lzhangzz lzhangzz requested review from lvhan028 and irexyc June 13, 2022 07:50
@codecov
Copy link

codecov bot commented Jun 13, 2022

Codecov Report

Merging #594 (7062eb7) into master (86a50e3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #594   +/-   ##
=======================================
  Coverage   57.42%   57.42%           
=======================================
  Files         258      258           
  Lines        8561     8561           
  Branches     1279     1279           
=======================================
  Hits         4916     4916           
  Misses       3292     3292           
  Partials      353      353           
Flag Coverage Δ
unittests 57.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 86a50e3...7062eb7. Read the comment docs.

@irexyc
Copy link
Collaborator

irexyc commented Jun 13, 2022

  1. can't compile demo on windows.
  2. doesn't modify the demo include header like
#include "pose_detector.h" // include "mmdeploy/c/pose_detector.h"

endforeach ()

install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/common.h
DESTINATION include/c)
#install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/common.h
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May remove the useless code

Comment on lines 5 to +8
#include "common.h"
#include "common_internal.h"
#include "execution/when_all_value.h"
#include "executor_internal.h"
#include "mmdeploy/execution/when_all_value.h"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we include the header file in the same pattern, e.g., the relative path to ${MMDEPLOY_ROOT_DIR}/csrc ?

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