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
2181a41a
Commit
2181a41a
authored
Feb 13, 2013
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added perf4au app
parent
aa73bf60
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
1 deletion
+33
-1
CMakeLists.txt
modules/gpu/CMakeLists.txt
+5
-1
CMakeLists.txt
modules/gpu/perf4au/CMakeLists.txt
+28
-0
im1_1280x800.jpg
modules/gpu/perf4au/im1_1280x800.jpg
+0
-0
im2_1280x800.jpg
modules/gpu/perf4au/im2_1280x800.jpg
+0
-0
main.cpp
modules/gpu/perf4au/main.cpp
+0
-0
No files found.
modules/gpu/CMakeLists.txt
View file @
2181a41a
...
...
@@ -21,7 +21,7 @@ source_group("Src\\Cuda" FILES ${lib_cuda} ${lib_cuda_hdrs})
source_group
(
"Device"
FILES
${
lib_device_hdrs
}
)
source_group
(
"Device
\\
Detail"
FILES
${
lib_device_hdrs_detail
}
)
if
(
HAVE_CUDA
)
if
(
HAVE_CUDA
)
file
(
GLOB_RECURSE ncv_srcs
"src/nvidia/*.cpp"
"src/nvidia/*.h*"
)
file
(
GLOB_RECURSE ncv_cuda
"src/nvidia/*.cu"
)
set
(
ncv_files
${
ncv_srcs
}
${
ncv_cuda
}
)
...
...
@@ -104,3 +104,7 @@ ocv_add_accuracy_tests(FILES "Include" ${test_hdrs}
FILES
"Src"
${
test_srcs
}
${
nvidia
}
)
ocv_add_perf_tests
()
if
(
HAVE_CUDA
)
add_subdirectory
(
perf4au
)
endif
()
modules/gpu/perf4au/CMakeLists.txt
0 → 100644
View file @
2181a41a
set
(
PERF4AU_REQUIRED_DEPS opencv_core opencv_imgproc opencv_highgui opencv_video opencv_legacy opencv_gpu opencv_ts
)
ocv_check_dependencies
(
${
PERF4AU_REQUIRED_DEPS
}
)
set
(
the_target gpu_perf4au
)
project
(
${
the_target
}
)
ocv_include_modules
(
${
PERF4AU_REQUIRED_DEPS
}
)
if
(
CMAKE_COMPILER_IS_GNUCXX AND NOT ENABLE_NOISY_WARNINGS
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-Wno-unused-function"
)
endif
()
file
(
GLOB srcs RELATIVE
${
CMAKE_CURRENT_SOURCE_DIR
}
*.cpp *.h *.hpp
)
add_executable
(
${
the_target
}
${
srcs
}
)
target_link_libraries
(
${
the_target
}
${
OPENCV_LINKER_LIBS
}
${
PERF4AU_REQUIRED_DEPS
}
)
if
(
ENABLE_SOLUTION_FOLDERS
)
set_target_properties
(
${
the_target
}
PROPERTIES FOLDER
"tests performance"
)
endif
()
if
(
WIN32
)
if
(
MSVC AND NOT BUILD_SHARED_LIBS
)
set_target_properties
(
${
the_target
}
PROPERTIES LINK_FLAGS
"/NODEFAULTLIB:atlthunk.lib /NODEFAULTLIB:atlsd.lib /DEBUG"
)
endif
()
endif
()
modules/gpu/perf4au/im1_1280x800.jpg
0 → 100644
View file @
2181a41a
140 KB
modules/gpu/perf4au/im2_1280x800.jpg
0 → 100644
View file @
2181a41a
140 KB
modules/gpu/perf4au/main.cpp
0 → 100644
View file @
2181a41a
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