1 #ifndef PARALUTION_BACKEND_GPU_HPP_
2 #define PARALUTION_BACKEND_GPU_HPP_
4 #include "../backend_manager.hpp"
10 template <
typename ValueType>
11 class AcceleratorVector;
12 template <
typename ValueType>
13 class AcceleratorMatrix;
14 template <
typename ValueType>
29 template <
typename ValueType>
33 template <
typename ValueType>
35 const unsigned int matrix_format);
40 #endif // PARALUTION_BACKEND_GPU_HPP_
void paralution_stop_gpu()
Release the GPU resources (CUDA, CUBLAS, CUSPARSE)
AcceleratorVector< ValueType > * _paralution_init_base_gpu_vector(const struct Paralution_Backend_Descriptor backend_descriptor)
Build (and return) a vector on GPU.
void paralution_gpu_sync(void)
Sync the device (for async transfers)
void paralution_info_gpu(const struct Paralution_Backend_Descriptor)
Print information about the GPUs in the systems.
Definition: backend_manager.cpp:43
bool paralution_init_gpu()
Initialize a GPU (CUDA, CUBLAS, CUSPARSE)
AcceleratorMatrix< ValueType > * _paralution_init_base_gpu_matrix(const struct Paralution_Backend_Descriptor backend_descriptor, const unsigned int matrix_format)
Build (and return) a matrix on GPU.