1 #ifndef PARALUTION_MIC_ALLOCATE_FREE_HPP_
2 #define PARALUTION_MIC_ALLOCATE_FREE_HPP_
6 template <
typename DataType>
7 void allocate_mic(
const int mic_dev,
const int size, DataType **ptr);
9 template <
typename DataType>
10 void free_mic(
const int mic_dev, DataType **ptr);
12 template <
typename DataType>
15 template <
typename DataType>
16 void set_to_one_mic(
const int mic_dev,
const int size, DataType *ptr);
21 #endif // PARALUTION_MIC_ALLOCATE_FREE_HPP_
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