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
6e77e745
Commit
6e77e745
authored
Mar 02, 2022
by
Palani Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added CLT_BASE_PATH
parent
1caad2b9
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
166 additions
and
153 deletions
+166
-153
CMakeLists.txt
CMakeLists.txt
+7
-0
TileProcessor.cuh
src/TileProcessor.cuh
+1
-1
test_tp.cu
src/test_tp.cu
+158
-152
No files found.
CMakeLists.txt
View file @
6e77e745
...
@@ -30,6 +30,11 @@ foreach(SUBMOD IN LISTS "cuda-samples")
...
@@ -30,6 +30,11 @@ foreach(SUBMOD IN LISTS "cuda-samples")
endforeach
()
endforeach
()
# Check for clt
if
(
NOT EXISTS
"
${
PROJECT_SOURCE_DIR
}
/clt"
)
message
(
FATAL_ERROR
"clt folder not found, see the README.md"
)
endif
()
include
(
CTest
)
include
(
CTest
)
# set(CMAKE_CUDA_FLAGS "-gencode arch=compute_75,code=sm_75")
# set(CMAKE_CUDA_FLAGS "-gencode arch=compute_75,code=sm_75")
...
@@ -51,3 +56,5 @@ add_executable(${PROJECT_NAME} src/test_tp.cu)
...
@@ -51,3 +56,5 @@ add_executable(${PROJECT_NAME} src/test_tp.cu)
include_directories
(
external/cuda-samples/Common
)
include_directories
(
external/cuda-samples/Common
)
set_property
(
TARGET
${
PROJECT_NAME
}
PROPERTY CUDA_SEPARABLE_COMPILATION ON
)
set_property
(
TARGET
${
PROJECT_NAME
}
PROPERTY CUDA_SEPARABLE_COMPILATION ON
)
target_link_libraries
(
${
PROJECT_NAME
}
PRIVATE src_files
)
target_link_libraries
(
${
PROJECT_NAME
}
PRIVATE src_files
)
target_compile_definitions
(
${
PROJECT_NAME
}
PRIVATE CLT_BASE_PATH=
"
${
PROJECT_SOURCE_DIR
}
/clt/"
)
src/TileProcessor.cuh
View file @
6e77e745
...
@@ -1060,7 +1060,7 @@ __device__ int get_textures_shared_size( // in bytes
...
@@ -1060,7 +1060,7 @@ __device__ int get_textures_shared_size( // in bytes
* @param scale2 scale green (if colors = 3) component before mixing
* @param scale2 scale green (if colors = 3) component before mixing
* @param fat_zero2 add this value squared to the sum of squared components before normalization (squared)
* @param fat_zero2 add this value squared to the sum of squared components before normalization (squared)
* @param gpu_ftasks flattened tasks, 29 floats for quad EO, 101 floats for LWIR16
* @param gpu_ftasks flattened tasks, 29 floats for quad EO, 101 floats for LWIR16
//
* @param gpu_tasks array of per-tile tasks (now bits 4..9 - correlation pairs)
* @param gpu_tasks array of per-tile tasks (now bits 4..9 - correlation pairs)
* @param num_tiles number of tiles int gpu_tasks array prepared for processing
* @param num_tiles number of tiles int gpu_tasks array prepared for processing
* @param tilesx number of tile rows
* @param tilesx number of tile rows
* @param gpu_corr_indices allocated array for per-tile correlation tasks (4 bytes per tile)
* @param gpu_corr_indices allocated array for per-tile correlation tasks (4 bytes per tile)
...
...
src/test_tp.cu
View file @
6e77e745
This diff is collapsed.
Click to expand it.
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