CudaPmePencilXYZ Class Reference

#include <CudaPmeSolver.h>

List of all members.

Public Member Functions

 CudaPmePencilXYZ ()
 CudaPmePencilXYZ (CkMigrateMessage *m)
void initialize (CudaPmeXYZInitMsg *msg)
void initializeDevice (InitDeviceMsg *msg)
void energyAndVirialDone ()


Detailed Description

Definition at line 56 of file CudaPmeSolver.h.


Constructor & Destructor Documentation

CudaPmePencilXYZ::CudaPmePencilXYZ (  )  [inline]

Definition at line 58 of file CudaPmeSolver.h.

00058 {}

CudaPmePencilXYZ::CudaPmePencilXYZ ( CkMigrateMessage *  m  )  [inline]

Definition at line 59 of file CudaPmeSolver.h.

00059 {}


Member Function Documentation

void CudaPmePencilXYZ::energyAndVirialDone (  ) 

Definition at line 47 of file CudaPmeSolver.C.

00047                                            {
00048   submitReductions();
00049   // deviceProxy[CkMyNode()].gatherForce();
00050 }

void CudaPmePencilXYZ::initialize ( CudaPmeXYZInitMsg msg  ) 

Definition at line 17 of file CudaPmeSolver.C.

References CudaPmeXYZInitMsg::pmeGrid.

00017                                                         {
00018   pmeGrid = msg->pmeGrid;
00019   delete msg;
00020 }

void CudaPmePencilXYZ::initializeDevice ( InitDeviceMsg msg  ) 

Definition at line 25 of file CudaPmeSolver.C.

References InitDeviceMsg::deviceProxy, ComputeNonbondedUtil::ewaldcof, Perm_cX_Y_Z, and stream.

00025                                                           {
00026   // Store device proxy
00027   deviceProxy = msg->deviceProxy;
00028   delete msg;
00029   int deviceID = deviceProxy.ckLocalBranch()->getDeviceID();
00030   cudaStream_t stream = deviceProxy.ckLocalBranch()->getStream();
00031   CProxy_ComputePmeCUDAMgr mgrProxy = deviceProxy.ckLocalBranch()->getMgrProxy();
00032   // Setup fftCompute and pmeKSpaceCompute
00033   fftCompute = new CudaFFTCompute(deviceID, stream);
00034   pmeKSpaceCompute = new CudaPmeKSpaceCompute(pmeGrid, Perm_cX_Y_Z, 0, 0, 
00035     ComputeNonbondedUtil::ewaldcof, deviceID, stream);
00036 }


The documentation for this class was generated from the following files:
Generated on Sat Sep 23 01:17:19 2017 for NAMD by  doxygen 1.4.7