1 #ifndef PARALUTION_GPU_ALLOCATE_FREE_HPP_
2 #define PARALUTION_GPU_ALLOCATE_FREE_HPP_
8 template <
typename DataType>
11 template <
typename DataType>
14 template <
typename DataType>
16 const int max_threads,
17 const int size, DataType *ptr);
19 template <
typename DataType>
21 const int max_threads,
22 const int size, DataType *ptr);
27 #endif // PARALUTION_GPU_ALLOCATE_FREE_HPP_
void set_to_one_gpu(const int blocksize, const int max_threads, const int size, DataType *ptr)
void set_to_zero_gpu(const int blocksize, const int max_threads, const int size, DataType *ptr)
void free_gpu(DataType **ptr)
Definition: backend_manager.cpp:43
void allocate_gpu(const int size, DataType **ptr)