Unverified Commit 2712d6f6 authored by Sandeep's avatar Sandeep Committed by GitHub

enable additional argon backend tests (#465)

parent 50377f86
......@@ -111,6 +111,7 @@ if (NGRAPH_ARGON_ENABLE)
endif()
ExternalProject_Get_Property(ext_argon_transformer source_dir)
set(ARGON_TRANSFORMER_SOURCE_DIR ${source_dir} PARENT_SCOPE)
set(ARGON_TRANSFORMER_INCLUDE_DIR ${ARGON_TRANSFORMER_CMAKE_PREFIX}/include PARENT_SCOPE)
set(ARGON_TRANSFORMER_LIB_DIR ${ARGON_TRANSFORMER_CMAKE_PREFIX}/lib PARENT_SCOPE)
set(ARGON_API_INCLUDE_DIR ${NGRAPH_PREBUILD_ARGON_API_PATH}/include PARENT_SCOPE)
......
......@@ -91,6 +91,16 @@ if(NGRAPH_ARGON_ENABLE)
include_directories(SYSTEM ${ARGON_TRANSFORMER_INCLUDE_DIR})
set(BACKEND_NAMES ${BACKEND_NAMES} "ARGON")
set(SRC ${SRC} argon_fusion.cpp)
# enable additional Argon backend test
set(ARGON_ADDITIONAL_BACKEND_TESTS ${ARGON_TRANSFORMER_SOURCE_DIR}/test/test_argon_backend)
message(STATUS "ARGON_ADDITIONAL_BACKEND_TESTS path: ${ARGON_ADDITIONAL_BACKEND_TESTS}")
set(SRC ${SRC}
${ARGON_ADDITIONAL_BACKEND_TESTS}/test_reduce_sum.cpp
${ARGON_ADDITIONAL_BACKEND_TESTS}/test_dot.cpp
${ARGON_ADDITIONAL_BACKEND_TESTS}/test_broadcast.cpp
${ARGON_ADDITIONAL_BACKEND_TESTS}/test_conv.cpp
${ARGON_ADDITIONAL_BACKEND_TESTS}/test_binary_ew.cpp)
endif()
foreach(BACKEND_NAME ${BACKEND_NAMES})
......
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