![]() |
PARALUTION
1.0.0
PARALUTION
|
#include <iostream>
#include <fstream>
Go to the source code of this file.
Data Structures | |
class | paralution::AcceleratorVector< ValueType > |
class | paralution::AcceleratorMatrix< ValueType > |
class | paralution::HostMatrix< ValueType > |
struct | paralution::Paralution_Backend_Descriptor |
Backend descriptor - keeps information about the hardware - OpenMP (threads); CUDA (blocksizes, handles, etc); OpenCL (workgroupsizes, handles, etc);. More... | |
Namespaces | |
paralution | |
Enumerations | |
enum | paralution::_paralution_backend_id { paralution::None =0, paralution::GPU =1, paralution::OCL =2, paralution::MIC =3 } |
Backend IDs. More... | |
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_omp_affinity (bool affinity) |
Set host affinity (true-on/false-off) 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::set_omp_threshold (const int threshold) |
Set OpenMP threshold 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... | |
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... | |
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... | |
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 > | |
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... | |
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... | |
void | paralution::_paralution_sync (void) |
Sync the active async transfers. 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) |