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
4b8425db
Commit
4b8425db
authored
Jan 19, 2011
by
Alexey Spizhevoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed minor bugs
parent
134ae8e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
initialization.cpp
modules/gpu/src/initialization.cpp
+2
-1
No files found.
modules/gpu/src/initialization.cpp
View file @
4b8425db
...
...
@@ -60,6 +60,7 @@ CV_EXPORTS bool cv::gpu::hasAtomicsSupport(int /*device*/) { throw_nogpu(); retu
CV_EXPORTS
bool
cv
::
gpu
::
ptxVersionIs
(
int
major
,
int
minor
)
{
throw_nogpu
();
return
false
;
}
CV_EXPORTS
bool
cv
::
gpu
::
ptxVersionIsLessOrEqual
(
int
major
,
int
minor
)
{
throw_nogpu
();
return
false
;
}
CV_EXPORTS
bool
cv
::
gpu
::
ptxVersionIsGreaterOrEqual
(
int
major
,
int
minor
)
{
throw_nogpu
();
return
false
;
}
CV_EXPORTS
bool
cv
::
gpu
::
isCompatibleWith
(
int
device
)
{
throw_nogpu
();
return
false
;
}
#else
/* !defined (HAVE_CUDA) */
...
...
@@ -207,7 +208,7 @@ CV_EXPORTS bool cv::gpu::ptxVersionIsGreaterOrEqual(int major, int minor)
}
CV_EXPORTS
bool
isCompatibleWith
(
int
device
)
CV_EXPORTS
bool
cv
::
gpu
::
isCompatibleWith
(
int
device
)
{
// According to the CUDA C Programming Guide Version 3.2: "PTX code
// produced for some specific compute capability can always be compiled to
...
...
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