提交 804f9114 authored 作者: abergeron's avatar abergeron

Merge pull request #2899 from carriepl/scan_tests_new_backend

Fix tests in new backend
...@@ -723,7 +723,7 @@ def local_scan_to_gpua(node): ...@@ -723,7 +723,7 @@ def local_scan_to_gpua(node):
# __init__ does not know about the gpu and can not # __init__ does not know about the gpu and can not
# handle graphs with inputs being on the gpu # handle graphs with inputs being on the gpu
tmp_in, tmp_out = gpu_reconstruct_graph(scan_ins, scan_outs) tmp_in, tmp_out = gpu_reconstruct_graph(scan_ins, scan_outs)
local_fgraph = gof.FunctionGraph(tmp_in, tmp_out, clone=False) local_fgraph = gof.FunctionGraph(tmp_in, tmp_out, clone=True)
_cmodule_key = gof.CLinker().cmodule_key_(local_fgraph, []) _cmodule_key = gof.CLinker().cmodule_key_(local_fgraph, [])
info['gpu_hash'] = hash(_cmodule_key) info['gpu_hash'] = hash(_cmodule_key)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论