Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91929498
comm_cuda_cu.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 15, 20:13
Size
2 KB
Mime Type
text/x-c
Expires
Sun, Nov 17, 20:13 (2 d)
Engine
blob
Format
Raw Data
Handle
21840667
Attached To
rLAMMPS lammps
comm_cuda_cu.h
View Options
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
Original Version:
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
See the README file in the top-level LAMMPS directory.
-----------------------------------------------------------------------
USER-CUDA Package and associated modifications:
https://sourceforge.net/projects/lammpscuda/
Christian Trott, christian.trott@tu-ilmenau.de
Lars Winterfeld, lars.winterfeld@tu-ilmenau.de
Theoretical Physics II, University of Technology Ilmenau, Germany
See the README file in the USER-CUDA directory.
This software is distributed under the GNU General Public License.
------------------------------------------------------------------------- */
#include "cuda_shared.h"
extern
"C"
int
Cuda_CommCuda_PackComm
(
cuda_shared_data
*
sdata
,
int
n
,
int
iswap
,
void
*
buf_send
,
int
*
pbc
,
int
pbcflag
);
extern
"C"
int
Cuda_CommCuda_PackCommVel
(
cuda_shared_data
*
sdata
,
int
n
,
int
iswap
,
void
*
buf_send
,
int
*
pbc
,
int
pbcflag
);
extern
"C"
int
Cuda_CommCuda_PackComm_Self
(
cuda_shared_data
*
sdata
,
int
n
,
int
iswap
,
int
first
,
int
*
pbc
,
int
pbcflag
);
extern
"C"
int
Cuda_CommCuda_PackCommVel_Self
(
cuda_shared_data
*
sdata
,
int
n
,
int
iswap
,
int
first
,
int
*
pbc
,
int
pbcflag
);
extern
"C"
void
Cuda_CommCuda_UnpackComm
(
cuda_shared_data
*
sdata
,
int
n
,
int
first
,
void
*
buf_recv
,
int
iswap
=
-
1
);
extern
"C"
void
Cuda_CommCuda_UnpackCommVel
(
cuda_shared_data
*
sdata
,
int
n
,
int
first
,
void
*
buf_recv
,
int
iswap
=
-
1
);
extern
"C"
int
Cuda_CommCuda_PackReverse
(
cuda_shared_data
*
sdata
,
int
n
,
int
first
,
void
*
buf_send
);
extern
"C"
void
Cuda_CommCuda_UnpackReverse
(
cuda_shared_data
*
sdata
,
int
n
,
int
iswap
,
void
*
buf_recv
);
extern
"C"
void
Cuda_CommCuda_UnpackReverse_Self
(
cuda_shared_data
*
sdata
,
int
n
,
int
iswap
,
int
first
);
extern
"C"
int
Cuda_CommCuda_BuildSendlist
(
cuda_shared_data
*
sdata
,
int
bordergroup
,
int
ineed
,
int
style
,
int
atom_nfirst
,
int
nfirst
,
int
nlast
,
int
dim
,
int
iswap
);
Event Timeline
Log In to Comment