Skip to content
Snippets Groups Projects
Unverified Commit e5e0d084 authored by Ahmat's avatar Ahmat Committed by GitHub
Browse files

Merge pull request #12 from axmat/target-architecture

Fix illegal hardware instruction
parents cfc5647d 7ebf332e
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,8 @@ set(BUDDY_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(BUDDY_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/bin)
set(BUDDY_EXAMPLES_DIR ${BUDDY_SOURCE_DIR}/examples)
set(BUDDY_INCLUDE_DIR ${BUDDY_SOURCE_DIR}/include)
set(BUDDY_OPT_ATTR avx512f CACHE STRING "Target Architecture.")
message(STATUS "Configuring Target Architecture: ${BUDDY_OPT_ATTR}")
set(BUILD_TESTS OFF CACHE BOOL "Build tests")
......
set(BUDDY_OPT_ATTR avx512f)
set(LLVM_MLIR_BINARY_DIR ${BUDDY_OPT_BUILD_DIR}/../llvm/build/bin)
add_custom_command(OUTPUT mobilenet-default.o
......
set(BUDDY_OPT_ATTR avx512f)
set(LLVM_MLIR_BINARY_DIR ${BUDDY_OPT_BUILD_DIR}/../llvm/build/bin)
add_custom_command(OUTPUT conv-2d-nchw-fchw.o
......
set(BUDDY_OPT_ATTR avx512f)
set(LLVM_MLIR_BINARY_DIR ${BUDDY_OPT_BUILD_DIR}/../llvm/build/bin)
add_custom_command(OUTPUT conv-2d-nhwc-hwcf.o
......
set(BUDDY_OPT_ATTR avx512f)
set(LLVM_MLIR_BINARY_DIR ${BUDDY_OPT_BUILD_DIR}/../llvm/build/bin)
add_custom_command(OUTPUT depthwise-conv-2d-nhwc-hwc.o
......
set(BUDDY_OPT_STRIP_MINING 256 CACHE STRING "Stride Size")
set(BUDDY_OPT_ATTR avx512f CACHE STRING "Taget Architecture")
set(LLVM_MLIR_BINARY_DIR ${BUDDY_OPT_BUILD_DIR}/../llvm/build/bin)
message(STATUS "Configuring Stride Size: ${BUDDY_OPT_STRIP_MINING}")
message(STATUS "Configuring Taget Architecture: ${BUDDY_OPT_ATTR}")
#-------------------------------------------------------------------------------
# MLIR Linalg Dialect Conv2D Operation + CB Algorithm
......
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