Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
d49aff19
"...text-generation-inference.git" did not exist on "2788d41a76c193d4de7055dc5ef38a97f25c38b5"
Commit
d49aff19
authored
Dec 21, 2020
by
LDOUBLEV
Browse files
fix mkl warning
parent
885378fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
deploy/cpp_infer/src/main.cpp
deploy/cpp_infer/src/main.cpp
+0
-13
No files found.
deploy/cpp_infer/src/main.cpp
View file @
d49aff19
...
...
@@ -67,19 +67,6 @@ int main(int argc, char **argv) {
config
.
gpu_mem
,
config
.
cpu_math_library_num_threads
,
config
.
use_mkldnn
,
config
.
char_list_file
);
#ifdef USE_MKL
#pragma omp parallel
for
(
auto
i
=
0
;
i
<
10
;
i
++
)
{
LOG_IF
(
WARNING
,
config
.
cpu_math_library_num_threads
!=
omp_get_num_threads
())
<<
"WARNING! MKL is running on "
<<
omp_get_num_threads
()
<<
" threads while cpu_math_library_num_threads is set to "
<<
config
.
cpu_math_library_num_threads
<<
". Possible reason could be 1. You have set omp_set_num_threads() "
"somewhere; 2. MKL is not linked properly"
;
}
#endif
auto
start
=
std
::
chrono
::
system_clock
::
now
();
std
::
vector
<
std
::
vector
<
std
::
vector
<
int
>>>
boxes
;
det
.
Run
(
srcimg
,
boxes
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment