MorphoGraphX  2.0-1-227
DistObjectProto.hpp
Go to the documentation of this file.
1 //
2 // This file is part of MorphoGraphX - http://www.MorphoGraphX.org
3 // Copyright (C) 2012-2016 Richard S. Smith and collaborators.
4 //
5 // If you use MorphoGraphX in your work, please cite:
6 // http://dx.doi.org/10.7554/eLife.05864
7 //
8 // MorphoGraphX is free software, and is licensed under under the terms of the
9 // GNU General (GPL) Public License version 2.0, http://www.gnu.org/licenses.
10 //
11 #ifndef DIST_OBJECT_PROTO_HPP
12 #define DIST_OBJECT_PROTO_HPP
13 
17 #include <ThrustTypes.hpp>
18 
19 namespace mgx
20 {
21  template<typename T1, typename T2>
22  int copyGPU(T1 *src, T2 *dst);
23 
24  template<typename T>
25  int allocGPU(T **vec, size_t n);
26 }
27 #endif
mgx::copyGPU
int mgx_EXPORT copyGPU(T1 *src, T2 *dst)
Definition: DistObjectCuda.hpp:21
n
#define n
Definition: Eigenvalues.hpp:36
ThrustTypes.hpp
mgx
Distributed matrix library.
Definition: Assert.hpp:26
mgx::allocGPU
int mgx_EXPORT allocGPU(T **vec, size_t n)
Definition: DistObjectCuda.hpp:31