unity_build_rule.cmake 712 字节
Newer Older
1 2 3 4 5 6
# 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.
7 8
register_unity_group(cc reduce_all_op.cc reduce_any_op.cc)
register_unity_group(cu reduce_all_op.cu reduce_any_op.cu)
9 10 11 12
# The following groups are to make better use of `/MP` which MSVC's parallel
# compilation instruction when compiling in Unity Build.
register_unity_group(cu frobenius_norm_op.cu)
register_unity_group(cu logsumexp_op.cu)