#include <alpaqa/config/config.hpp>
#include <alpaqa/dl/dl-problem.h>
#include <alpaqa/dl/dl-problem.hpp>
#include <alpaqa/problem/sparsity.hpp>
#include <dlfcn.h>
#include <algorithm>
#include <cassert>
#include <charconv>
#include <list>
#include <memory>
#include <mutex>
#include <stdexcept>
Go to the source code of this file.
Namespaces | |
namespace | alpaqa |
namespace | alpaqa::dl |
namespace | alpaqa::dl::anonymous_namespace{dl-problem.cpp} |
Functions | |
std::string | format_abi_version (uint64_t version) |
void | check_abi_version (uint64_t abi_version) |
std::shared_ptr< void > | load_lib (const std::string &so_filename) |
template<class F > | |
F * | load_func (void *handle, const std::string &name) |
void | leak_lib (std::shared_ptr< void > handle) |
template<Config Conf> | |
Sparsity< Conf > | convert_sparsity (alpaqa_sparsity_t sp) |
Variables | |
std::mutex | leaked_modules_mutex |
std::list< std::shared_ptr< void > > | leaked_modules |