unity_build_rule.cmake 938 字节
Newer Older
1 2 3 4 5 6 7 8 9 10
# 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
    ftrl_op.cc
    lars_momentum_op.cc
    momentum_op.cc
11 12
    sgd_op.cc
    proximal_adagrad_op.cc
13 14 15 16
    adagrad_op.cc
    adam_op.cc
    adamax_op.cc
    dgc_momentum_op.cc
17
    proximal_gd_op.cc
18 19 20 21 22 23 24 25 26
    decayed_adagrad_op.cc
    adadelta_op.cc
    lamb_op.cc
    dpsgd_op.cc
    rmsprop_op.cc)
register_unity_group(cu
    ftrl_op.cu
    lars_momentum_op.cu
    momentum_op.cu
27 28
    sgd_op.cu
    proximal_adagrad_op.cu
29 30
    adagrad_op.cu
    adam_op.cu
31
    adamax_op.cu
32 33 34 35
    decayed_adagrad_op.cu
    adadelta_op.cu
    lamb_op.cu
    rmsprop_op.cu)