Commit 6e77e745 authored by Palani Johnson's avatar Palani Johnson

added CLT_BASE_PATH

parent 1caad2b9
......@@ -30,6 +30,11 @@ foreach(SUBMOD IN LISTS "cuda-samples")
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)
# set(CMAKE_CUDA_FLAGS "-gencode arch=compute_75,code=sm_75")
......@@ -51,3 +56,5 @@ add_executable(${PROJECT_NAME} src/test_tp.cu)
include_directories(external/cuda-samples/Common)
set_property(TARGET ${PROJECT_NAME} PROPERTY CUDA_SEPARABLE_COMPILATION ON)
target_link_libraries(${PROJECT_NAME} PRIVATE src_files)
target_compile_definitions(${PROJECT_NAME} PRIVATE CLT_BASE_PATH="${PROJECT_SOURCE_DIR}/clt/")
......@@ -1060,7 +1060,7 @@ __device__ int get_textures_shared_size( // in bytes
* @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 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 tilesx number of tile rows
* @param gpu_corr_indices allocated array for per-tile correlation tasks (4 bytes per tile)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment