|
PARALUTION
1.0.0
PARALUTION
|
#include "../utils/def.hpp"#include "version.hpp"#include "backend_manager.hpp"#include "base_paralution.hpp"#include "base_vector.hpp"#include "base_matrix.hpp"#include "host/host_affinity.hpp"#include "host/host_vector.hpp"#include "host/host_matrix_csr.hpp"#include "host/host_matrix_coo.hpp"#include "host/host_matrix_dia.hpp"#include "host/host_matrix_ell.hpp"#include "host/host_matrix_hyb.hpp"#include "host/host_matrix_dense.hpp"#include "host/host_matrix_mcsr.hpp"#include "host/host_matrix_bcsr.hpp"#include "../utils/log.hpp"#include <stdlib.h>#include <string.h>Namespaces | |
| paralution | |
Functions | |
| int | paralution::init_paralution (void) |
| Initialization of the paralution platform. More... | |
| int | paralution::stop_paralution (void) |
| Shutdown the paralution platform. More... | |
| int | paralution::set_device_paralution (int dev) |
| Select a device. More... | |
| void | paralution::set_omp_threads_paralution (int nthreads) |
| Set the number of threads in the platform. More... | |
| void | paralution::set_gpu_cuda_paralution (int ngpu) |
| Set a specific GPU device. More... | |
| void | paralution::set_ocl_paralution (int nplatform, int ndevice) |
| Set a specific OpenCL platform and device. More... | |
| void | paralution::set_ocl_platform_paralution (int platform) |
| Set a specific OpenCL platform. More... | |
| void | paralution::set_ocl_work_group_size_paralution (size_t size) |
| Set OpenCL work group size. More... | |
| void | paralution::set_ocl_compute_units_paralution (size_t cu) |
| Set OpenCL compute units. More... | |
| void | paralution::set_ocl_warp_size_paralution (int size) |
| Set OpenCL warp size. More... | |
| void | paralution::info_paralution (void) |
| Print information about the platform. More... | |
| void | paralution::info_paralution (const struct Paralution_Backend_Descriptor backend_descriptor) |
| Print information about the platform via specific backend descriptor. More... | |
| void | paralution::set_omp_affinity (bool affinity) |
| Set host affinity (true-on/false-off) More... | |
| void | paralution::set_omp_threshold (const int threshold) |
| Set OpenMP threshold size. More... | |
| bool | paralution::_paralution_available_accelerator (void) |
| Return true if any accelerator is available. More... | |
| void | paralution::disable_accelerator_paralution (const bool onoff=true) |
| Disable/Enable the accelerator. More... | |
| struct Paralution_Backend_Descriptor * | paralution::_get_backend_descriptor (void) |
| Return backend descriptor. More... | |
| void | paralution::_set_backend_descriptor (const struct Paralution_Backend_Descriptor backend_descriptor) |
| Set backend descriptor. More... | |
| template<typename ValueType > | |
| AcceleratorVector< ValueType > * | paralution::_paralution_init_base_backend_vector (const struct Paralution_Backend_Descriptor backend_descriptor) |
| Build (and return) a vector on the selected in the descriptor accelerator. More... | |
| template<typename ValueType > | |
| AcceleratorMatrix< ValueType > * | paralution::_paralution_init_base_backend_matrix (const struct Paralution_Backend_Descriptor backend_descriptor, const unsigned int matrix_format) |
| Build (and return) a matrix on the selected in the descriptor accelerator. More... | |
| template<typename ValueType > | |
| HostMatrix< ValueType > * | paralution::_paralution_init_base_host_matrix (const struct Paralution_Backend_Descriptor backend_descriptor, const unsigned int matrix_format) |
| Build (and return) a matrix on the host. More... | |
| void | paralution::_paralution_sync (void) |
| Sync the active async transfers. More... | |
| void | paralution::_set_omp_backend_threads (const struct Paralution_Backend_Descriptor backend_descriptor, const int size) |
| Set the OMP threads based on the size threshold. More... | |
| size_t | paralution::_paralution_add_obj (class ParalutionObj *ptr) |
| bool | paralution::_paralution_del_obj (class ParalutionObj *ptr, size_t id) |
| void | paralution::_paralution_delete_all_obj (void) |
| bool | paralution::_paralution_check_if_any_obj (void) |
Variables | |
| Paralution_Backend_Descriptor | paralution::_Backend_Descriptor |
| Global backend descriptor. More... | |
| const std::string | paralution::_paralution_host_name [1] |
| Host name. More... | |
| const std::string | paralution::_paralution_backend_name [4] |
| Backend names. More... | |