Difference for src/ComputeCUDAMgr.h from version 1.1 to 1.2

version 1.1version 1.2
Line 3
Line 3
 #include <vector> #include <vector>
 #include "CudaUtils.h" #include "CudaUtils.h"
 #include "ComputeCUDAMgr.decl.h" #include "ComputeCUDAMgr.decl.h"
  #include "CudaNonbondedTables.h"
 #include "CudaComputeNonbonded.h" #include "CudaComputeNonbonded.h"
  #ifdef BONDED_CUDA
  #include "ComputeBondedCUDA.h"
  #endif
 #ifdef NAMD_CUDA #ifdef NAMD_CUDA
  
 class ComputeCUDAMgr : public CBase_ComputeCUDAMgr { class ComputeCUDAMgr : public CBase_ComputeCUDAMgr {
Line 17
Line 21
   static ComputeCUDAMgr* getComputeCUDAMgr();   static ComputeCUDAMgr* getComputeCUDAMgr();
   CudaComputeNonbonded* createCudaComputeNonbonded(ComputeID c);   CudaComputeNonbonded* createCudaComputeNonbonded(ComputeID c);
   CudaComputeNonbonded* getCudaComputeNonbonded();   CudaComputeNonbonded* getCudaComputeNonbonded();
  #ifdef BONDED_CUDA
    ComputeBondedCUDA* createComputeBondedCUDA(ComputeID c, ComputeMgr* computeMgr);
    ComputeBondedCUDA* getComputeBondedCUDA();
  #endif
 private: private:
  
   // Number of CUDA devices on this node that are used in computation   // Number of CUDA devices on this node that are used in computation
   int numDevices;   int numDevices;
    std::vector<CudaNonbondedTables*> cudaNonbondedTablesList;
   std::vector<CudaComputeNonbonded*> cudaComputeNonbondedList;   std::vector<CudaComputeNonbonded*> cudaComputeNonbondedList;
  #ifdef BONDED_CUDA
    std::vector<ComputeBondedCUDA*> computeBondedCUDAList;
  #endif
 }; };
  
 #else // NAMD_CUDA #else // NAMD_CUDA


Legend:
Removed in v.1.1 
changed lines
 Added in v.1.2



Made by using version 1.53 of cvs2html