tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] junrushao1994 commented on a change in pull request #4467: [BUGFIX] Fix search path for libtvm_topi.so
Date Wed, 04 Dec 2019 21:18:00 GMT
junrushao1994 commented on a change in pull request #4467: [BUGFIX] Fix search path for libtvm_topi.so
URL: https://github.com/apache/incubator-tvm/pull/4467#discussion_r353987637
 
 

 ##########
 File path: topi/python/topi/cpp/impl.py
 ##########
 @@ -32,7 +32,7 @@ def _get_lib_names():
 def _load_lib():
     """Load libary by searching possible path."""
     curr_path = os.path.dirname(os.path.realpath(os.path.expanduser(__file__)))
-    lib_search = curr_path
+    lib_search = [curr_path, os.path.join(curr_path, "..")]
 
 Review comment:
   Sure. Thanks for the pointer :-)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message