Dynamic Load Balance 3.6.1+32-59d1
backend_manager.h
Go to the documentation of this file.
1/*********************************************************************************/
2/* Copyright 2009-2025 Barcelona Supercomputing Center */
3/* */
4/* This file is part of the DLB library. */
5/* */
6/* DLB is free software: you can redistribute it and/or modify */
7/* it under the terms of the GNU Lesser General Public License as published by */
8/* the Free Software Foundation, either version 3 of the License, or */
9/* (at your option) any later version. */
10/* */
11/* DLB is distributed in the hope that it will be useful, */
12/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
13/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
14/* GNU Lesser General Public License for more details. */
15/* */
16/* You should have received a copy of the GNU Lesser General Public License */
17/* along with DLB. If not, see <https://www.gnu.org/licenses/>. */
18/*********************************************************************************/
19
20#ifndef PLUGIN_MANAGER_H
21#define PLUGIN_MANAGER_H
22
23#include "backend.h"
24#include <stdbool.h>
25#include <stddef.h>
26
27extern const core_api_t core_api;
28
29const backend_api_t*
32
33const backend_api_t*
36
37void* talp_backend_manager_get_symbol_from_plugin(const char *symbol, const char *plugin_name);
38int talp_backend_manager_get_gpu_affinity(char *buffer, size_t buffer_size, bool full_uuid);
39
40
41#endif /* PLUGIN_MANAGER_H */
const backend_api_t * talp_backend_manager_load_gpu_backend(const char *name)
Definition: backend_manager.c:211
void talp_backend_manager_unload_gpu_backend(void)
Definition: backend_manager.c:231
void * talp_backend_manager_get_symbol_from_plugin(const char *symbol, const char *plugin_name)
Definition: backend_manager.c:267
const backend_api_t * talp_backend_manager_load_hwc_backend(const char *name)
Definition: backend_manager.c:239
void talp_backend_manager_unload_hwc_backend(void)
Definition: backend_manager.c:259
int talp_backend_manager_get_gpu_affinity(char *buffer, size_t buffer_size, bool full_uuid)
Definition: backend_manager.c:282
const core_api_t core_api
Definition: backend_manager.c:37
Definition: backend.h:70
Definition: backend.h:52