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
b3cfe6b4
Commit
b3cfe6b4
authored
Feb 18, 2014
by
Andrey Pavlenko
Committed by
OpenCV Buildbot
Feb 18, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2341 from alalek:ocl_fix_error_processing
parents
ff9a0815
915fb632
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
opencl_clamdblas.cpp
modules/core/src/opencl/runtime/opencl_clamdblas.cpp
+3
-1
opencl_clamdfft.cpp
modules/core/src/opencl/runtime/opencl_clamdfft.cpp
+3
-1
opencl_core.cpp
modules/core/src/opencl/runtime/opencl_core.cpp
+3
-1
No files found.
modules/core/src/opencl/runtime/opencl_clamdblas.cpp
View file @
b3cfe6b4
...
...
@@ -118,7 +118,9 @@ static void* openclamdblas_check_fn(int ID)
void
*
func
=
CV_CL_GET_PROC_ADDRESS
(
e
->
fnName
);
if
(
!
func
)
{
CV_Error
(
cv
::
Error
::
OpenCLApiCallError
,
cv
::
format
(
"OpenCL AMD BLAS function is not available: [%s]"
,
e
->
fnName
));
throw
cv
::
Exception
(
cv
::
Error
::
OpenCLApiCallError
,
cv
::
format
(
"OpenCL AMD BLAS function is not available: [%s]"
,
e
->
fnName
),
CV_Func
,
__FILE__
,
__LINE__
);
}
*
(
e
->
ppFn
)
=
func
;
return
func
;
...
...
modules/core/src/opencl/runtime/opencl_clamdfft.cpp
View file @
b3cfe6b4
...
...
@@ -118,7 +118,9 @@ static void* openclamdfft_check_fn(int ID)
void
*
func
=
CV_CL_GET_PROC_ADDRESS
(
e
->
fnName
);
if
(
!
func
)
{
CV_Error
(
cv
::
Error
::
OpenCLApiCallError
,
cv
::
format
(
"OpenCL AMD FFT function is not available: [%s]"
,
e
->
fnName
));
throw
cv
::
Exception
(
cv
::
Error
::
OpenCLApiCallError
,
cv
::
format
(
"OpenCL AMD FFT function is not available: [%s]"
,
e
->
fnName
),
CV_Func
,
__FILE__
,
__LINE__
);
}
*
(
e
->
ppFn
)
=
func
;
return
func
;
...
...
modules/core/src/opencl/runtime/opencl_core.cpp
View file @
b3cfe6b4
...
...
@@ -201,7 +201,9 @@ static void* opencl_check_fn(int ID)
void
*
func
=
CV_CL_GET_PROC_ADDRESS
(
e
->
fnName
);
if
(
!
func
)
{
CV_Error
(
cv
::
Error
::
OpenCLApiCallError
,
cv
::
format
(
"OpenCL function is not available: [%s]"
,
e
->
fnName
));
throw
cv
::
Exception
(
cv
::
Error
::
OpenCLApiCallError
,
cv
::
format
(
"OpenCL function is not available: [%s]"
,
e
->
fnName
),
CV_Func
,
__FILE__
,
__LINE__
);
}
*
(
e
->
ppFn
)
=
func
;
return
func
;
...
...
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