OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RuntimeLibManager.cpp File Reference
#include "Logger/Logger.h"
#include "OSDependent/heavyai_path.h"
#include "RuntimeLibManager.h"
#include <boost/dll/shared_library.hpp>
#include <map>
#include <memory>
#include <unordered_map>
+ Include dependency graph for RuntimeLibManager.cpp:

Go to the source code of this file.

Functions

boost::filesystem::path get_torch_table_functions_path ()
 
boost::filesystem::path get_runtime_test_lib_tfs_path ()
 
boost::filesystem::path get_runtime_test_lib_path ()
 

Variables

boost::dll::shared_library libtorch
 
boost::dll::shared_library libTorchTFs
 
boost::dll::shared_library testLib
 
boost::dll::shared_library testLibTFs
 

Function Documentation

boost::filesystem::path get_runtime_test_lib_path ( )

Definition at line 42 of file RuntimeLibManager.cpp.

References heavyai::get_root_abs_path().

Referenced by RuntimeLibManager::loadTestRuntimeLibs().

42  {
43  boost::filesystem::path runtime_test_lib_path{heavyai::get_root_abs_path()};
44  runtime_test_lib_path /= "QueryEngine";
45  runtime_test_lib_path /= "TableFunctions";
46  runtime_test_lib_path /= "RuntimeLibTestFunctions";
47  runtime_test_lib_path /= "TestRuntimeLib";
48 
49  return runtime_test_lib_path;
50 }
std::string get_root_abs_path()

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

boost::filesystem::path get_runtime_test_lib_tfs_path ( )

Definition at line 32 of file RuntimeLibManager.cpp.

References heavyai::get_root_abs_path().

Referenced by RuntimeLibManager::loadTestRuntimeLibs().

32  {
33  boost::filesystem::path runtime_test_lib_tfs_path{heavyai::get_root_abs_path()};
34  runtime_test_lib_tfs_path /= "QueryEngine";
35  runtime_test_lib_tfs_path /= "TableFunctions";
36  runtime_test_lib_tfs_path /= "RuntimeLibTestFunctions";
37  runtime_test_lib_tfs_path /= "RuntimeLibTestTableFunctions";
38 
39  return runtime_test_lib_tfs_path;
40 }
std::string get_root_abs_path()

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

boost::filesystem::path get_torch_table_functions_path ( )

Definition at line 20 of file RuntimeLibManager.cpp.

References heavyai::get_root_abs_path().

Referenced by RuntimeLibManager::loadRuntimeLibs().

20  {
21  boost::filesystem::path torch_table_functions_path{heavyai::get_root_abs_path()};
22  torch_table_functions_path /= "QueryEngine";
23  torch_table_functions_path /= "TableFunctions";
24  torch_table_functions_path /= "SystemFunctions";
25  torch_table_functions_path /= "os";
26  torch_table_functions_path /= "Torch";
27  torch_table_functions_path /= "TorchTableFunctions";
28 
29  return torch_table_functions_path;
30 }
std::string get_root_abs_path()

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

boost::dll::shared_library libtorch

Definition at line 15 of file RuntimeLibManager.cpp.

Referenced by RuntimeLibManager::loadRuntimeLibs().

boost::dll::shared_library libTorchTFs

Definition at line 16 of file RuntimeLibManager.cpp.

Referenced by RuntimeLibManager::loadRuntimeLibs().

boost::dll::shared_library testLib

Definition at line 115 of file RuntimeLibManager.cpp.

Referenced by RuntimeLibManager::loadTestRuntimeLibs().

boost::dll::shared_library testLibTFs

Definition at line 116 of file RuntimeLibManager.cpp.

Referenced by RuntimeLibManager::loadTestRuntimeLibs().