From 80b46c6611b546dcf37b0e2b0995e740ef56f270 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 10 Jan 2020 22:16:40 +0100 Subject: [PATCH] os.path --> osp to match the import --- rust/frontend/tests/basics/src/tvm_add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/frontend/tests/basics/src/tvm_add.py b/rust/frontend/tests/basics/src/tvm_add.py index 32a605b5e227..287084bcf9aa 100755 --- a/rust/frontend/tests/basics/src/tvm_add.py +++ b/rust/frontend/tests/basics/src/tvm_add.py @@ -39,7 +39,7 @@ def main(target, out_dir): fadd.save(osp.join(out_dir, 'test_add.o')) if target == 'cuda': - fadd.imported_modules[0].save(os.path.join(out_dir, 'test_add.ptx')) + fadd.imported_modules[0].save(osp.join(out_dir, 'test_add.ptx')) cc.create_shared( osp.join(out_dir, 'test_add.so'), [osp.join(out_dir, 'test_add.o')])