mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
00f32752f7
* Unifying all loadLocalTile from lhs and rhs to an extract_block function. * Adding get_tensor operation which was missing in TensorContractionMapper. * Adding the -D method missing from cmake for Disable_Skinny Contraction operation. * Wrapping all the indices in TensorScanSycl into Scan parameter struct. * Fixing typo in Device SYCL * Unifying load to private register for tall/skinny no shared * Unifying load to vector tile for tensor-vector/vector-tensor operation * Removing all the LHS/RHS class for extracting data from global * Removing Outputfunction from TensorContractionSkinnyNoshared. * Combining the local memory version of tall/skinny and normal tensor contraction into one kernel. * Combining the no-local memory version of tall/skinny and normal tensor contraction into one kernel. * Combining General Tensor-Vector and VectorTensor contraction into one kernel. * Making double buffering optional for Tensor contraction when local memory is version is used. * Modifying benchmark to accept custom Reduction Sizes * Disabling AVX optimization for SYCL backend on the host to allow SSE optimization to the host * Adding Test for SYCL * Modifying SYCL CMake
25 lines
736 B
CMake
25 lines
736 B
CMake
file(GLOB examples_SRCS "*.cpp")
|
|
|
|
add_custom_target(unsupported_examples)
|
|
|
|
include_directories(../../../unsupported ../../../unsupported/test)
|
|
|
|
foreach(example_src ${examples_SRCS})
|
|
get_filename_component(example ${example_src} NAME_WE)
|
|
add_executable(example_${example} ${example_src})
|
|
if(EIGEN_STANDARD_LIBRARIES_TO_LINK_TO)
|
|
target_link_libraries(example_${example} ${EIGEN_STANDARD_LIBRARIES_TO_LINK_TO})
|
|
endif()
|
|
add_custom_command(
|
|
TARGET example_${example}
|
|
POST_BUILD
|
|
COMMAND example_${example}
|
|
ARGS >${CMAKE_CURRENT_BINARY_DIR}/${example}.out
|
|
)
|
|
add_dependencies(unsupported_examples example_${example})
|
|
endforeach(example_src)
|
|
|
|
if(EIGEN_TEST_SYCL)
|
|
add_subdirectory(SYCL)
|
|
endif(EIGEN_TEST_SYCL)
|