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
9c5da2ea
Commit
9c5da2ea
authored
Aug 23, 2013
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
used new device layer for cv::gpu::add
parent
32d578f5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
3 deletions
+3
-3
CMakeLists.txt
modules/cudaarithm/CMakeLists.txt
+1
-1
add_mat.cu
modules/cudaarithm/src/cuda/add_mat.cu
+0
-0
add_scalar.cu
modules/cudaarithm/src/cuda/add_scalar.cu
+0
-0
element_operations.cpp
modules/cudaarithm/src/element_operations.cpp
+0
-0
integral.hpp
modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp
+2
-2
No files found.
modules/cudaarithm/CMakeLists.txt
View file @
9c5da2ea
...
...
@@ -6,7 +6,7 @@ set(the_description "CUDA-accelerated Operations on Matrices")
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations
)
ocv_add_module
(
cudaarithm opencv_core OPTIONAL opencv_cudalegacy
)
ocv_add_module
(
cudaarithm opencv_core OPTIONAL opencv_cud
ev opencv_cud
alegacy
)
ocv_module_include_directories
()
ocv_glob_module_sources
()
...
...
modules/cudaarithm/src/cuda/add_mat.cu
View file @
9c5da2ea
This diff is collapsed.
Click to expand it.
modules/cudaarithm/src/cuda/add_scalar.cu
View file @
9c5da2ea
This diff is collapsed.
Click to expand it.
modules/cudaarithm/src/element_operations.cpp
View file @
9c5da2ea
This diff is collapsed.
Click to expand it.
modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp
View file @
9c5da2ea
...
...
@@ -594,7 +594,7 @@ namespace integral_detail
CV_CUDEV_SAFE_CALL
(
cudaDeviceSynchronize
()
);
}
__host__
static
void
integral
(
const
GlobPtr
<
uchar
>
src
,
GlobPtr
<
uint
>
dst
,
int
rows
,
int
cols
,
cudaStream_t
stream
)
__host__
static
void
integral
(
const
GlobPtr
<
uchar
>
&
src
,
const
GlobPtr
<
uint
>&
dst
,
int
rows
,
int
cols
,
cudaStream_t
stream
)
{
if
(
deviceSupports
(
FEATURE_SET_COMPUTE_30
)
&&
(
cols
%
16
==
0
)
...
...
@@ -614,7 +614,7 @@ namespace integral_detail
CV_CUDEV_SAFE_CALL
(
cudaDeviceSynchronize
()
);
}
__host__
static
void
integral
(
const
GlobPtr
<
uchar
>
src
,
GlobPtr
<
int
>
dst
,
int
rows
,
int
cols
,
cudaStream_t
stream
)
__host__
__forceinline__
void
integral
(
const
GlobPtr
<
uchar
>&
src
,
const
GlobPtr
<
int
>&
dst
,
int
rows
,
int
cols
,
cudaStream_t
stream
)
{
GlobPtr
<
uint
>
dstui
=
globPtr
((
uint
*
)
dst
.
data
,
dst
.
step
);
integral
(
src
,
dstui
,
rows
,
cols
,
stream
);
...
...
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