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
59332239
Commit
59332239
authored
Mar 08, 2022
by
Palani Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
formatting
parent
b84194c1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
23 deletions
+25
-23
test_tp.cu
src/test_tp.cu
+25
-23
No files found.
src/test_tp.cu
View file @
59332239
...
@@ -620,7 +620,8 @@ int main(int argc, char **argv) {
...
@@ -620,7 +620,8 @@ int main(int argc, char **argv) {
//#ifndef DBG_TILE
//#ifndef DBG_TILE
#ifdef SAVE_CLT
#ifdef SAVE_CLT
const char *ports_clt_file[] = {// never referenced
// never referenced
const char *ports_clt_file[] = {
CLT_BASE_PATH "aux_chn0.clt",
CLT_BASE_PATH "aux_chn0.clt",
CLT_BASE_PATH "aux_chn1.clt",
CLT_BASE_PATH "aux_chn1.clt",
CLT_BASE_PATH "aux_chn2.clt",
CLT_BASE_PATH "aux_chn2.clt",
...
@@ -777,7 +778,8 @@ int main(int argc, char **argv) {
...
@@ -777,7 +778,8 @@ int main(int argc, char **argv) {
int task_size = get_task_size(num_cams); // sizeof(struct tp_task)/sizeof(float) - 6 * (NUM_CAMS - num_cams);
int task_size = get_task_size(num_cams); // sizeof(struct tp_task)/sizeof(float) - 6 * (NUM_CAMS - num_cams);
// FIXME: update to use new correlations and num_cams
// FIXME: update to use new correlations and num_cams
float port_offsets4[4][2] = {// used only in textures to scale differences
float port_offsets4[4][2] = {
// used only in textures to scale differences
{-0.5, -0.5},
{-0.5, -0.5},
{0.5, -0.5},
{0.5, -0.5},
{-0.5, 0.5},
{-0.5, 0.5},
...
@@ -1598,7 +1600,7 @@ int main(int argc, char **argv) {
...
@@ -1598,7 +1600,7 @@ int main(int argc, char **argv) {
#else
#else
checkCudaErrors(cudaDeviceSynchronize());
checkCudaErrors(cudaDeviceSynchronize());
// accumulate_coreleations
fo
here-ish
// accumulate_coreleations here-ish
corr2D_normalize<<<1, 1>>>(
corr2D_normalize<<<1, 1>>>(
num_corrs, // tp_task_size, // int num_corr_tiles, // number of correlation tiles to process
num_corrs, // tp_task_size, // int num_corr_tiles, // number of correlation tiles to process
...
...
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