Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
14e9c7f5
Commit
14e9c7f5
authored
Dec 11, 2021
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missed from the previous commit
parent
46612695
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
TileProcessor.h
src/main/resources/kernels/TileProcessor.h
+8
-4
No files found.
src/main/resources/kernels/TileProcessor.h
View file @
14e9c7f5
...
@@ -49,7 +49,7 @@ extern "C" __global__ void convert_direct( // called with a single block, single
...
@@ -49,7 +49,7 @@ extern "C" __global__ void convert_direct( // called with a single block, single
float
**
gpu_kernel_offsets
,
// [NUM_CAMS],
float
**
gpu_kernel_offsets
,
// [NUM_CAMS],
float
**
gpu_kernels
,
// [NUM_CAMS],
float
**
gpu_kernels
,
// [NUM_CAMS],
float
**
gpu_images
,
// [NUM_CAMS],
float
**
gpu_images
,
// [NUM_CAMS],
float
*
gpu_ftasks
,
// flattened tasks, 2
7 floats for quad EO, 99
floats for LWIR16
float
*
gpu_ftasks
,
// flattened tasks, 2
9 floats for quad EO, 101
floats for LWIR16
// struct tp_task * gpu_tasks,
// struct tp_task * gpu_tasks,
float
**
gpu_clt
,
// [NUM_CAMS][TILES-Y][TILES-X][NUM_COLORS][DTT_SIZE*DTT_SIZE]
float
**
gpu_clt
,
// [NUM_CAMS][TILES-Y][TILES-X][NUM_COLORS][DTT_SIZE*DTT_SIZE]
size_t
dstride
,
// in floats (pixels)
size_t
dstride
,
// in floats (pixels)
...
@@ -76,7 +76,7 @@ extern "C" __global__ void correlate2D(
...
@@ -76,7 +76,7 @@ extern "C" __global__ void correlate2D(
float
scale1
,
// scale for B
float
scale1
,
// scale for B
float
scale2
,
// scale for G
float
scale2
,
// scale for G
float
fat_zero
,
// here - absolute
float
fat_zero
,
// here - absolute
float
*
gpu_ftasks
,
// flattened tasks, 2
7 floats for quad EO, 99
floats for LWIR16
float
*
gpu_ftasks
,
// flattened tasks, 2
9 floats for quad EO, 101
floats for LWIR16
// struct tp_task * gpu_tasks, // array of per-tile tasks (now bits 4..9 - correlation pairs)
// struct tp_task * gpu_tasks, // array of per-tile tasks (now bits 4..9 - correlation pairs)
int
num_tiles
,
// number of tiles in task
int
num_tiles
,
// number of tiles in task
int
tilesx
,
// number of tile rows
int
tilesx
,
// number of tile rows
...
@@ -109,7 +109,7 @@ extern "C" __global__ void corr2D_combine(
...
@@ -109,7 +109,7 @@ extern "C" __global__ void corr2D_combine(
extern
"C"
__global__
void
textures_nonoverlap
(
extern
"C"
__global__
void
textures_nonoverlap
(
int
num_cams
,
// number of cameras
int
num_cams
,
// number of cameras
float
*
gpu_ftasks
,
// flattened tasks, 2
7 floats for quad EO, 99
floats
float
*
gpu_ftasks
,
// flattened tasks, 2
9 floats for quad EO, 101
floats
// struct tp_task * gpu_tasks,
// struct tp_task * gpu_tasks,
int
num_tiles
,
// number of tiles in task list
int
num_tiles
,
// number of tiles in task list
// int num_tilesx, // number of tiles in a row
// int num_tilesx, // number of tiles in a row
...
@@ -141,6 +141,10 @@ __global__ void imclt_rbg_all(
...
@@ -141,6 +141,10 @@ __global__ void imclt_rbg_all(
int
woi_theight
,
int
woi_theight
,
const
size_t
dstride
);
// in floats (pixels)
const
size_t
dstride
);
// in floats (pixels)
extern
"C"
__global__
void
erase8x8
(
float
*
gpu_top_left
,
const
size_t
dstride
);
extern
"C"
__global__
void
imclt_rbg
(
extern
"C"
__global__
void
imclt_rbg
(
float
*
gpu_clt
,
// [TILES-Y][TILES-X][NUM_COLORS][DTT_SIZE*DTT_SIZE]
float
*
gpu_clt
,
// [TILES-Y][TILES-X][NUM_COLORS][DTT_SIZE*DTT_SIZE]
float
*
gpu_rbg
,
// WIDTH, 3 * HEIGHT
float
*
gpu_rbg
,
// WIDTH, 3 * HEIGHT
...
@@ -156,7 +160,7 @@ extern "C" __global__ void imclt_rbg(
...
@@ -156,7 +160,7 @@ extern "C" __global__ void imclt_rbg(
extern
"C"
__global__
void
generate_RBGA
(
extern
"C"
__global__
void
generate_RBGA
(
int
num_cams
,
// number of cameras used
int
num_cams
,
// number of cameras used
// Parameters to generate texture tasks
// Parameters to generate texture tasks
float
*
gpu_ftasks
,
// flattened tasks, 2
7 floats for quad EO, 99
floats for LWIR16
float
*
gpu_ftasks
,
// flattened tasks, 2
9 floats for quad EO, 101
floats for LWIR16
// struct tp_task * gpu_tasks,
// struct tp_task * gpu_tasks,
int
num_tiles
,
// number of tiles in task list
int
num_tiles
,
// number of tiles in task list
// declare arrays in device code?
// declare arrays in device code?
...
...
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