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
579781e3
Commit
579781e3
authored
Feb 12, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10822 from alalek:ocl_fix_imgproc_amd
parents
66f3c1ae
fad3a6bf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
deriv.cpp
modules/imgproc/src/deriv.cpp
+1
-0
filter.cpp
modules/imgproc/src/filter.cpp
+1
-1
No files found.
modules/imgproc/src/deriv.cpp
View file @
579781e3
...
...
@@ -558,6 +558,7 @@ static bool ocl_Laplacian5(InputArray _src, OutputArray _dst,
)
&&
(
tileSizeX
*
tileSizeYmin
<=
wgs
)
&&
(
LAPLACIAN_LOCAL_MEM
(
tileSizeX
,
tileSizeYmin
,
kernelX
.
cols
,
loc_mem_cn
*
4
)
<=
lmsz
)
&&
OCL_PERFORMANCE_CHECK
(
!
dev
.
isAMD
())
// TODO FIXIT 2018: Problem with AMDGPU on Linux (2482.3)
)
{
Size
size
=
_src
.
size
(),
wholeSize
;
...
...
modules/imgproc/src/filter.cpp
View file @
579781e3
...
...
@@ -4391,7 +4391,7 @@ bool ocl_sepFilter2D( InputArray _src, OutputArray _dst, int ddepth,
imgSize
.
height
>
optimizedSepFilterLocalHeight
+
anchor
.
y
&&
(
!
(
borderType
&
BORDER_ISOLATED
)
||
_src
.
offset
()
==
0
)
&&
anchor
==
Point
(
kernelX
.
cols
>>
1
,
kernelY
.
cols
>>
1
)
&&
(
d
.
isIntel
()
||
(
d
.
isAMD
()
&&
!
d
.
hostUnifiedMemory
())),
OCL_PERFORMANCE_CHECK
(
d
.
isIntel
()),
// TODO FIXIT
ocl_sepFilter2D_SinglePass
(
_src
,
_dst
,
kernelX
,
kernelY
,
delta
,
borderType
&
~
BORDER_ISOLATED
,
ddepth
,
bdepth
,
int_arithm
),
true
)
...
...
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