unity_build_rule.cmake 1.3 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
# This file records the Unity Build compilation rules.
# The source files in a `register_unity_group` called are compiled in a unity
# file.
# Generally, the combination rules in this file do not need to be modified.
# If there are some redefined error in compiling with the source file which
# in combination rule, you can remove the source file from the following rules.
register_unity_group(cc
    sequence_concat_op.cc
    sequence_conv_op.cc
    sequence_enumerate_op.cc
    sequence_erase_op.cc
    sequence_expand_op.cc
    sequence_mask_op.cc
    sequence_pad_op.cc
    sequence_pool_op.cc)
register_unity_group(cc
    sequence_expand_as_op.cc
    sequence_reshape_op.cc
    sequence_reverse_op.cc
    sequence_scatter_op.cc
    sequence_slice_op.cc
    sequence_softmax_op.cc
    sequence_topk_avg_pooling_op.cc
    sequence_unpad_op.cc)
register_unity_group(cc
    sequence_concat_op.cu.cc
    sequence_conv_op.cu.cc)
register_unity_group(cu
    sequence_enumerate_op.cu
    sequence_erase_op.cu
    sequence_expand_op.cu
    sequence_mask_op.cu
    sequence_pad_op.cu
    sequence_pool_op.cu)
register_unity_group(cu
    sequence_expand_as_op.cu
    sequence_reshape_op.cu
    sequence_reverse_op.cu
    sequence_slice_op.cu
    sequence_softmax_cudnn_op.cu.cc
    sequence_softmax_op.cu
    sequence_unpad_op.cu)