Skip to content

Commit

Permalink
[TEST] Fix duplicate definition error for gpu export mod testcase (ap…
Browse files Browse the repository at this point in the history
  • Loading branch information
wrongtest-intellif authored Nov 19, 2021
1 parent 53cb5ea commit 454e956
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python/unittest/test_runtime_module_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ def verify_gpu_mod_export(obj_format):
synthetic_llvm_mod, synthetic_llvm_params = relay.testing.synthetic.get_workload()
with tvm.transform.PassContext(opt_level=3):
_, synthetic_gpu_lib, _ = relay.build_module.build(
synthetic_mod, "cuda", params=synthetic_params
synthetic_mod, "cuda", params=synthetic_params, mod_name="cudalib"
)
_, synthetic_llvm_cpu_lib, _ = relay.build_module.build(
synthetic_llvm_mod, "llvm", params=synthetic_llvm_params
synthetic_llvm_mod, "llvm", params=synthetic_llvm_params, mod_name="llvmlib"
)

from tvm.contrib import utils
Expand Down

0 comments on commit 454e956

Please sign in to comment.