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
c3ae08a1
Commit
c3ae08a1
authored
Aug 10, 2012
by
marina.kolpakova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed typo in enum
parent
8f6a2438
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ccomponetns.cu
modules/gpu/src/cuda/ccomponetns.cu
+3
-3
No files found.
modules/gpu/src/cuda/ccomponetns.cu
View file @
c3ae08a1
...
...
@@ -58,8 +58,8 @@ namespace cv { namespace gpu { namespace device
CTA_SIZE_X = 32,
CTA_SIZE_Y = 8,
STA_SIZE_M
A
RGE_Y = 4,
STA_SIZE_M
A
RGE_X = 32,
STA_SIZE_M
E
RGE_Y = 4,
STA_SIZE_M
E
RGE_X = 32,
TPB_X = 1,
TPB_Y = 4,
...
...
@@ -500,7 +500,7 @@ namespace cv { namespace gpu { namespace device
while (grid.x > 1 || grid.y > 1)
{
dim3 mergeGrid(ceilf(grid.x / 2.0), ceilf(grid.y / 2.0));
dim3 mergeBlock(STA_SIZE_M
ARGE_X, STA_SIZE_MA
RGE_Y);
dim3 mergeBlock(STA_SIZE_M
ERGE_X, STA_SIZE_ME
RGE_Y);
// debug log
// std::cout << "merging: " << grid.y << " x " << grid.x << " ---> " << mergeGrid.y << " x " << mergeGrid.x << " for tiles: " << tileSizeY << " x " << tileSizeX << std::endl;
crossMerge<<<mergeGrid, mergeBlock, 0, stream>>>(2, 2, tileSizeY, tileSizeX, edges, comps, ceilf(grid.y / 2.0) - grid.y / 2, ceilf(grid.x / 2.0) - grid.x / 2);
...
...
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