Skip to content

[Enhancement] Adjust csrc structure#594

Merged
lvhan028 merged 6 commits intoopen-mmlab:masterfrom
lzhangzz:adjust-csrc-includes
Jun 14, 2022
Merged

[Enhancement] Adjust csrc structure#594
lvhan028 merged 6 commits intoopen-mmlab:masterfrom
lzhangzz:adjust-csrc-includes

Conversation

@lzhangzz
Copy link
Copy Markdown
Collaborator

No description provided.

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

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
Copy Markdown
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"


install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/common.h
DESTINATION include/c)
#install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/common.h
Copy link
Copy Markdown
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
Copy Markdown
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 ?

@lvhan028 lvhan028 merged commit 28beb9a into open-mmlab:master Jun 14, 2022
ewernn pushed a commit to ewernn/mmdeploy that referenced this pull request Nov 17, 2025
* adjust csrc structure

* adjust csrc includes

* fix lint

* fix lint

* fix MSVC build

* remove useless code
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