CMakeLists.txt 442 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
if (NOT INFRT_WITH_PHI)
    return()
endif()

#mlir_tablegen_on(infrt_phi_base DIALECT phi)
add_mlir_dialect(infrt_phi_base phi)
add_mlir_dialect(infrt_phi_tensor phi_dt)
add_mlir_dialect(infrt_phi_kernel phi_kernel)
#mlir_tablegen_on(infrt_phi_tensor)

gather_srcs(infrt_src SRCS
    phi_base.cc infrt_phi_tensor.cc
    infrt_phi_tensor.cc)

add_subdirectory(pass)

add_executable(phi-exec phi_exec.cc)
target_link_libraries(phi-exec infrt)