include(cc_library)

cc_library(
  NAME
    mlu_layers
  HDRS
    attention.h
    deepseek_v2_attention.h
    deepseek_v2_decoder_layer_impl.h
    deepseek_v2_sparse_moe_block.h
    indexer.h
    deepseek_v32_sp_context.h
    deepseek_v32_sp_plan.h
    moe_gate.h
    fused_moe.h
    qwen3_5_fused_moe.h
    qwen3_5_attention.h
    qwen3_5_decoder_layer.h
  SRCS
    attention.cpp
    deepseek_v2_attention.cpp
    deepseek_v2_attention_sp.cpp
    deepseek_v2_decoder_layer_impl.cpp
    deepseek_v2_sparse_moe_block.cpp
    indexer.cpp
    moe_gate.cpp
    fused_moe.cpp
    fused_moe_base.cpp
    fused_moe_all2all.cpp
    qwen3_5_fused_moe.cpp
    qwen3_5_attention.cpp
    qwen3_5_decoder_layer.cpp
  DEPS
    :common_layers
)
