Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tile_processor_gpu
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Elphel
tile_processor_gpu
Commits
2e8abe15
Commit
2e8abe15
authored
Apr 13, 2020
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
handling margins
parent
abc2d76d
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
94 deletions
+61
-94
TileProcessor.cuh
src/TileProcessor.cuh
+59
-73
TileProcessor.h
src/TileProcessor.h
+1
-0
test_tp.cu
src/test_tp.cu
+0
-21
tp_defines.h
src/tp_defines.h
+1
-0
No files found.
src/TileProcessor.cuh
View file @
2e8abe15
This diff is collapsed.
Click to expand it.
src/TileProcessor.h
View file @
2e8abe15
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
#include "tp_defines.h"
#include "tp_defines.h"
#endif
#endif
#define FINE_MARGINS
extern
"C"
extern
"C"
__global__
void
convert_correct_tiles
(
__global__
void
convert_correct_tiles
(
...
...
src/test_tp.cu
View file @
2e8abe15
...
@@ -308,27 +308,6 @@ int main(int argc, char **argv)
...
@@ -308,27 +308,6 @@ int main(int argc, char **argv)
int keep_texture_weights = 1; // try with 0 also
int keep_texture_weights = 1; // try with 0 also
int texture_colors = 3; // result will be 3+1 RGBA (for mono - 2)
int texture_colors = 3; // result will be 3+1 RGBA (for mono - 2)
/*
struct tp_task {
long task;
short ty;
short tx;
float xy[NUM_CAMS][2];
} ;
struct tp_task {
int task;
union {
int txy;
unsigned short sxy[2];
};
float xy[NUM_CAMS][2];
float target_disparity;
float disp_dist[NUM_CAMS][4]; // calculated with getPortsCoordinates()
};
*/
int KERN_TILES = KERNELS_HOR * KERNELS_VERT * NUM_COLORS;
int KERN_TILES = KERNELS_HOR * KERNELS_VERT * NUM_COLORS;
int KERN_SIZE = KERN_TILES * 4 * 64;
int KERN_SIZE = KERN_TILES * 4 * 64;
...
...
src/tp_defines.h
View file @
2e8abe15
...
@@ -77,6 +77,7 @@
...
@@ -77,6 +77,7 @@
#define RBYRDIST_STEP 0.0004 // for doubles, 0.0002 - floats // to fit into GPU shared memory (was 0.001);
#define RBYRDIST_STEP 0.0004 // for doubles, 0.0002 - floats // to fit into GPU shared memory (was 0.001);
#define TILES_PER_BLOCK_GEOM (32/NUM_CAMS) // each tile has NUM_CAMS threads
#define TILES_PER_BLOCK_GEOM (32/NUM_CAMS) // each tile has NUM_CAMS threads
#define DEBUG_OOB1 1
// Use CORR_OUT_RAD for the correlation output
// Use CORR_OUT_RAD for the correlation output
...
...
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