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
1d82aecf
Commit
1d82aecf
authored
Dec 18, 2014
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor reorganization for CUDA doxygen groups:
move main CUDA group to modules/core/cuda.hpp
parent
b5ab82fd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
17 deletions
+22
-17
cuda.hpp
modules/core/include/opencv2/core/cuda.hpp
+15
-4
cuda_stream_accessor.hpp
modules/core/include/opencv2/core/cuda_stream_accessor.hpp
+6
-8
cuda.hpp
modules/cuda/include/opencv2/cuda.hpp
+1
-5
No files found.
modules/core/include/opencv2/core/cuda.hpp
View file @
1d82aecf
...
...
@@ -51,9 +51,20 @@
#include "opencv2/core.hpp"
#include "opencv2/core/cuda_types.hpp"
/**
@defgroup cuda CUDA-accelerated Computer Vision
@{
@defgroup cudacore Core part
@{
@defgroup cudacore_init Initalization and Information
@defgroup cudacore_struct Data Structures
@}
@}
*/
namespace
cv
{
namespace
cuda
{
//! @addtogroup cuda_struct
//! @addtogroup cuda
core
_struct
//! @{
//////////////////////////////// GpuMat ///////////////////////////////
...
...
@@ -514,11 +525,11 @@ private:
friend
struct
EventAccessor
;
};
//! @} cuda_struct
//! @} cuda
core
_struct
//////////////////////////////// Initialization & Info ////////////////////////
//! @addtogroup cuda_init
//! @addtogroup cuda
core
_init
//! @{
/** @brief Returns the number of installed CUDA-enabled devices.
...
...
@@ -813,7 +824,7 @@ private:
CV_EXPORTS
void
printCudaDeviceInfo
(
int
device
);
CV_EXPORTS
void
printShortCudaDeviceInfo
(
int
device
);
//! @} cuda_init
//! @} cuda
core
_init
}}
// namespace cv { namespace cuda {
...
...
modules/core/include/opencv2/core/cuda_stream_accessor.hpp
View file @
1d82aecf
...
...
@@ -47,10 +47,9 @@
# error cuda_stream_accessor.hpp header must be compiled as C++
#endif
// This is only header file that depends on Cuda. All other headers are independent.
// So if you use OpenCV binaries you do noot need to install Cuda Toolkit.
// But of you wanna use CUDA by yourself, may get cuda stream instance using the class below.
// In this case you have to install Cuda Toolkit.
/** @file cuda_stream_accessor.hpp
* This is only header file that depends on CUDA Runtime API. All other headers are independent.
*/
#include <cuda_runtime.h>
#include "opencv2/core/cvdef.h"
...
...
@@ -60,22 +59,21 @@ namespace cv
namespace
cuda
{
//! @addtogroup cuda_struct
//! @addtogroup cuda
core
_struct
//! @{
class
Stream
;
class
Event
;
/** @brief Class that enables getting cudaStream_t from cuda::Stream
because it is the only public header that depends on the CUDA Runtime API. Including it
brings a dependency to your code.
*/
struct
StreamAccessor
{
CV_EXPORTS
static
cudaStream_t
getStream
(
const
Stream
&
stream
);
};
/** @brief Class that enables getting cudaEvent_t from cuda::Event
*/
struct
EventAccessor
{
CV_EXPORTS
static
cudaEvent_t
getEvent
(
const
Event
&
event
);
...
...
modules/cuda/include/opencv2/cuda.hpp
View file @
1d82aecf
...
...
@@ -50,15 +50,11 @@
#include "opencv2/core/cuda.hpp"
/**
@defgroup cuda CUDA-accelerated Computer Vision
@ref cuda_intro "Introduction page"
@addtogroup cuda
@{
@defgroup cuda_init Initalization and Information
@defgroup cuda_struct Data Structures
@defgroup cuda_calib3d Camera Calibration and 3D Reconstruction
@defgroup cuda_objdetect Object Detection
@}
*/
namespace
cv
{
namespace
cuda
{
...
...
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