From 98d66f738ad0ac423ad5fb290cf26df2982ccac7 Mon Sep 17 00:00:00 2001 From: Andre Martins Date: Fri, 16 Sep 2016 12:40:34 +0100 Subject: [PATCH] Added encoder-decoder validator. --- src/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6dc37391..a0b82725 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -34,11 +34,16 @@ cuda_add_executable( validate_mnist_batch validate_mnist_batch.cu ) +cuda_add_executable( + validate_encoder_decoder + validate_encoder_decoder.cu +) target_link_libraries(validate_mnist marian_lib) target_link_libraries(validate_mnist_batch marian_lib) +target_link_libraries(validate_encoder_decoder marian_lib) -foreach(exec marian train_mnist validate_mnist validate_mnist_batch ) +foreach(exec marian train_mnist validate_mnist validate_mnist_batch validate_encoder_decoder) target_link_libraries(${exec} ${EXT_LIBS} cuda cudnn) cuda_add_cublas_to_target(${exec}) set_target_properties(${exec} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")