Commit 0eb5488d84abf5e7151e91959edc2a36cbf0fe47

Authored by Arnaud Blanchard
1 parent effd4e2f

Rename f_conv to f_convolute

... ... @@ -6,10 +6,11 @@ subdirs(i_gaussian)
subdirs(i_read)
subdirs(i_oscillator)
subdirs(i_keyboard)
subdirs(f_conv)
#subdirs(f_convert) //not yet working
subdirs(f_convolute)
subdirs(f_norm)
subdirs(f_max)
subdirs(f_point_of_interest)
subdirs(f_filter)
subdirs(f_tee)
subdirs(f_arg_max)
... ...
... ... @@ -2,15 +2,15 @@
cmake_minimum_required(VERSION 2.6)
# Set the name of the project as the directory basename
project(f_conv)
project(f_convolute)
find_package(blc_channel)
find_package(blc_program)
add_definitions(${BL_DEFINITIONS})
include_directories(${BL_INCLUDE_DIRS})
add_executable(f_conv f_conv.cpp)
target_link_libraries(f_conv ${BL_LIBRARIES})
add_executable(f_convolute f_convolute.cpp)
target_link_libraries(f_convolute ${BL_LIBRARIES})
... ...
... ... @@ -45,7 +45,7 @@ int main(int argc, char **argv){
if (input.dims_nb!=2) EXIT_ON_ARRAY_ERROR(&input, "It works only in 2D for now");
iwidth=input.dims[0].length;
iheight=input.dims[1].length;
blc_loop_try_add_waiting_semaphore(input.sem_new_data);
blc_loop_try_add_waiting_semaphore(input.sem_new_data);
blc_loop_try_add_posting_semaphore(input.sem_ack_data);
kernel.open(kernel_name, BLC_CHANNEL_READ);
... ...