提交 56f5d44a authored 作者: Frederic Bastien's avatar Frederic Bastien

made the gpu optimize phase earlier to have better performance in some case.

上级 6b2b5132
......@@ -25,7 +25,7 @@ gpu_cut_copies = EquilibriumDB()
gpu_seqopt = SequenceDB()
gpu_seqopt.register('gpu_local_optimizations', gpu_optimizer, 1, 'fast_run', 'inplace')
gpu_seqopt.register('gpu_cut_transfers', gpu_cut_copies, 2, 'fast_run', 'inplace')
optdb.register('gpu', gpu_seqopt, optdb.__position__.get('inplace_opt', 75) + 5)
optdb.register('gpu', gpu_seqopt, optdb.__position__.get('add_destroy_handler', 49.5) - 1)
def register_opt(*tags, **kwargs):
def f(local_opt):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论