PARALUTION  1.0.0
PARALUTION
mic_utils.cpp File Reference
#include "../../utils/def.hpp"
#include "mic_utils.hpp"
#include "../backend_manager.hpp"
#include "../../utils/log.hpp"
#include "backend_mic.hpp"
#include "mic_allocate_free.hpp"
#include <stdlib.h>

Namespaces

 paralution
 

Functions

template<typename ValueType >
void paralution::copy_to_mic (const int mic_dev, const ValueType *src, ValueType *dst, const int size)
 
template<typename ValueType >
void paralution::copy_to_host (const int mic_dev, const ValueType *src, ValueType *dst, const int size)
 
template<typename ValueType >
void paralution::copy_mic_mic (const int mic_dev, const ValueType *src, ValueType *dst, const int size)
 
template void paralution::copy_to_mic< float > (const int mic_dev, const float *src, float *dst, const int size)
 
template void paralution::copy_to_mic< double > (const int mic_dev, const double *src, double *dst, const int size)
 
template void paralution::copy_to_mic< int > (const int mic_dev, const int *src, int *dst, const int size)
 
template void paralution::copy_to_mic< unsigned int > (const int mic_dev, const unsigned int *src, unsigned int *dst, const int size)
 
template void paralution::copy_to_host< double > (const int mic_dev, const double *src, double *dst, const int size)
 
template void paralution::copy_to_host< float > (const int mic_dev, const float *src, float *dst, const int size)
 
template void paralution::copy_to_host< int > (const int mic_dev, const int *src, int *dst, const int size)
 
template void paralution::copy_to_host< unsigned int > (const int mic_dev, const unsigned int *src, unsigned int *dst, const int size)
 
template void paralution::copy_mic_mic< float > (const int mic_dev, const float *src, float *dst, const int size)
 
template void paralution::copy_mic_mic< double > (const int mic_dev, const double *src, double *dst, const int size)
 
template void paralution::copy_mic_mic< int > (const int mic_dev, const int *src, int *dst, const int size)
 
template void paralution::copy_mic_mic< unsigned int > (const int mic_dev, const unsigned int *src, unsigned int *dst, const int size)