PARALUTION  1.0.0
PARALUTION
mic_allocate_free.hpp
Go to the documentation of this file.
1 #ifndef PARALUTION_MIC_ALLOCATE_FREE_HPP_
2 #define PARALUTION_MIC_ALLOCATE_FREE_HPP_
3 
4 namespace paralution {
5 
6 template <typename DataType>
7 void allocate_mic(const int mic_dev, const int size, DataType **ptr);
8 
9 template <typename DataType>
10 void free_mic(const int mic_dev, DataType **ptr);
11 
12 template <typename DataType>
13 void set_to_zero_mic(const int mic_dev, const int size, DataType *ptr);
14 
15 template <typename DataType>
16 void set_to_one_mic(const int mic_dev, const int size, DataType *ptr);
17 
18 
19 };
20 
21 #endif // PARALUTION_MIC_ALLOCATE_FREE_HPP_
22 
23 
24 
void free_mic(const int mic_dev, DataType **ptr)
Definition: mic_allocate_free.cpp:34
Definition: backend_manager.cpp:43
void allocate_mic(const int mic_dev, const int size, DataType **ptr)
Definition: mic_allocate_free.cpp:9
void set_to_one_mic(const int mic_dev, const int size, DataType *ptr)
Definition: mic_allocate_free.cpp:75
void set_to_zero_mic(const int mic_dev, const int size, DataType *ptr)
Definition: mic_allocate_free.cpp:54