QUDA  v0.5.0
A library for QCD on GPUs
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
misc_helpers.h
Go to the documentation of this file.
1 #ifndef __MISC_HELPERS_H__
2 #define __MISC_HELPERS_H__
3 
4 namespace quda {
5 
6  void link_format_cpu_to_gpu(void* dst, void* src,
7  int reconstruct, int Vh, int pad,
8  int ghostV,
10  cudaStream_t stream);
11  void link_format_gpu_to_cpu(void* dst, void* src,
12  int Vh, int stride, QudaPrecision prec,
13  cudaStream_t stream);
14 
15  void collectGhostStaple(int* X, void* even, void* odd, int volume,
16  QudaPrecision precision, void* ghost_staple_gpu,
17  int dir, int whichway, cudaStream_t* stream);
18 
19 } // namespace quda
20 
21 #endif