Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
3df41b32
Commit
3df41b32
authored
Sep 03, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9426 from borisfom:dispatch
parents
7b4f323b
b18983a0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
5 deletions
+25
-5
OpenCVModule.cmake
cmake/OpenCVModule.cmake
+4
-0
OpenCVUtils.cmake
cmake/OpenCVUtils.cmake
+1
-1
CMakeLists.txt
modules/core/CMakeLists.txt
+4
-4
test_intrin.cpp
modules/core/test/test_intrin.cpp
+0
-0
test_intrin.fp16.cpp
modules/core/test/test_intrin.fp16.cpp
+16
-0
test_intrin_utils.hpp
modules/core/test/test_intrin_utils.hpp
+0
-0
No files found.
cmake/OpenCVModule.cmake
View file @
3df41b32
...
@@ -1047,6 +1047,8 @@ function(ocv_add_perf_tests)
...
@@ -1047,6 +1047,8 @@ function(ocv_add_perf_tests)
set
(
OPENCV_PERF_
${
the_module
}
_SOURCES
${
perf_srcs
}
${
perf_hdrs
}
)
set
(
OPENCV_PERF_
${
the_module
}
_SOURCES
${
perf_srcs
}
${
perf_hdrs
}
)
endif
()
endif
()
ocv_compiler_optimization_process_sources
(
OPENCV_PERF_
${
the_module
}
_SOURCES OPENCV_PERF_
${
the_module
}
_DEPS
${
the_target
}
)
if
(
NOT BUILD_opencv_world
)
if
(
NOT BUILD_opencv_world
)
get_native_precompiled_header
(
${
the_target
}
perf_precomp.hpp
)
get_native_precompiled_header
(
${
the_target
}
perf_precomp.hpp
)
endif
()
endif
()
...
@@ -1124,6 +1126,8 @@ function(ocv_add_accuracy_tests)
...
@@ -1124,6 +1126,8 @@ function(ocv_add_accuracy_tests)
set
(
OPENCV_TEST_
${
the_module
}
_SOURCES
${
test_srcs
}
${
test_hdrs
}
)
set
(
OPENCV_TEST_
${
the_module
}
_SOURCES
${
test_srcs
}
${
test_hdrs
}
)
endif
()
endif
()
ocv_compiler_optimization_process_sources
(
OPENCV_TEST_
${
the_module
}
_SOURCES OPENCV_TEST_
${
the_module
}
_DEPS
${
the_target
}
)
if
(
NOT BUILD_opencv_world
)
if
(
NOT BUILD_opencv_world
)
get_native_precompiled_header
(
${
the_target
}
test_precomp.hpp
)
get_native_precompiled_header
(
${
the_target
}
test_precomp.hpp
)
endif
()
endif
()
...
...
cmake/OpenCVUtils.cmake
View file @
3df41b32
...
@@ -387,7 +387,7 @@ macro(ocv_warnings_disable)
...
@@ -387,7 +387,7 @@ macro(ocv_warnings_disable)
endif
(
NOT ENABLE_NOISY_WARNINGS
)
endif
(
NOT ENABLE_NOISY_WARNINGS
)
endmacro
()
endmacro
()
macro
(
ocv_append_sour
g
e_file_compile_definitions source
)
macro
(
ocv_append_sour
c
e_file_compile_definitions source
)
get_source_file_property
(
_value
"
${
source
}
"
COMPILE_DEFINITIONS
)
get_source_file_property
(
_value
"
${
source
}
"
COMPILE_DEFINITIONS
)
if
(
_value
)
if
(
_value
)
set
(
_value
${
_value
}
${
ARGN
}
)
set
(
_value
${
_value
}
${
ARGN
}
)
...
...
modules/core/CMakeLists.txt
View file @
3df41b32
...
@@ -38,20 +38,20 @@ ocv_glob_module_sources(SOURCES "${OPENCV_MODULE_opencv_core_BINARY_DIR}/version
...
@@ -38,20 +38,20 @@ ocv_glob_module_sources(SOURCES "${OPENCV_MODULE_opencv_core_BINARY_DIR}/version
ocv_module_include_directories
(
${
the_module
}
${
ZLIB_INCLUDE_DIRS
}
${
OPENCL_INCLUDE_DIRS
}
)
ocv_module_include_directories
(
${
the_module
}
${
ZLIB_INCLUDE_DIRS
}
${
OPENCL_INCLUDE_DIRS
}
)
if
(
ANDROID AND HAVE_CPUFEATURES
)
if
(
ANDROID AND HAVE_CPUFEATURES
)
ocv_append_sour
g
e_file_compile_definitions
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/system.cpp
"HAVE_CPUFEATURES=1"
)
ocv_append_sour
c
e_file_compile_definitions
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/system.cpp
"HAVE_CPUFEATURES=1"
)
ocv_module_include_directories
(
${
CPUFEATURES_INCLUDE_DIRS
}
)
ocv_module_include_directories
(
${
CPUFEATURES_INCLUDE_DIRS
}
)
endif
()
endif
()
if
(
ITT_INCLUDE_DIRS
)
if
(
ITT_INCLUDE_DIRS
)
ocv_module_include_directories
(
${
ITT_INCLUDE_DIRS
}
)
ocv_module_include_directories
(
${
ITT_INCLUDE_DIRS
}
)
endif
()
endif
()
if
(
HAVE_POSIX_MEMALIGN
)
if
(
HAVE_POSIX_MEMALIGN
)
ocv_append_sour
g
e_file_compile_definitions
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/alloc.cpp
"HAVE_POSIX_MEMALIGN=1"
)
ocv_append_sour
c
e_file_compile_definitions
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/alloc.cpp
"HAVE_POSIX_MEMALIGN=1"
)
endif
()
endif
()
if
(
HAVE_MALLOC_H
)
if
(
HAVE_MALLOC_H
)
ocv_append_sour
g
e_file_compile_definitions
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/alloc.cpp
"HAVE_MALLOC_H=1"
)
ocv_append_sour
c
e_file_compile_definitions
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/alloc.cpp
"HAVE_MALLOC_H=1"
)
endif
()
endif
()
if
(
HAVE_MEMALIGN
)
if
(
HAVE_MEMALIGN
)
ocv_append_sour
g
e_file_compile_definitions
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/alloc.cpp
"HAVE_MEMALIGN=1"
)
ocv_append_sour
c
e_file_compile_definitions
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/alloc.cpp
"HAVE_MEMALIGN=1"
)
endif
()
endif
()
ocv_create_module
(
${
extra_libs
}
)
ocv_create_module
(
${
extra_libs
}
)
...
...
modules/core/test/test_intrin.cpp
View file @
3df41b32
This diff is collapsed.
Click to expand it.
modules/core/test/test_intrin.fp16.cpp
0 → 100644
View file @
3df41b32
#include "test_precomp.hpp"
#include "test_intrin_utils.hpp"
namespace
cvtest
{
namespace
hal
{
CV_CPU_OPTIMIZATION_NAMESPACE_BEGIN
void
test_hal_intrin_float16x4
()
{
TheTest
<
v_float16x4
>
()
.
test_loadstore_fp16
()
.
test_float_cvt_fp16
()
;
}
CV_CPU_OPTIMIZATION_NAMESPACE_END
}}
// namespace
modules/core/test/test_intrin_utils.hpp
View file @
3df41b32
This diff is collapsed.
Click to expand it.
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