DDDConstMemKernels.cu
上传用户:chinafayin
上传日期:2022-04-05
资源大小:153k
文件大小:2k
源码类别:

并行计算

开发平台:

Visual C++

  1. /*
  2.     FastGrid (formerly AutoGrid)
  3.     Copyright (C) 2009 The Scripps Research Institute. All rights reserved.
  4.     Copyright (C) 2009 Masaryk University. All rights reserved.
  5.     AutoGrid is a Trade Mark of The Scripps Research Institute.
  6.     This program is free software; you can redistribute it and/or
  7.     modify it under the terms of the GNU General Public License
  8.     as published by the Free Software Foundation; either version 2
  9.     of the License, or (at your option) any later version.
  10.     This program is distributed in the hope that it will be useful,
  11.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.     GNU General Public License for more details.
  14.     You should have received a copy of the GNU General Public License
  15.     along with this program; if not, write to the Free Software
  16.     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  17. */
  18. using namespace std;
  19. #include "DDDConstMemKernels.h"
  20. #define USE_DDD_CONSTMEM
  21. #define STD_NUM_ATOMS_PER_KERNEL DDDCM_NUM_ATOMS_PER_KERNEL
  22. #define stdSetGridMap                   dddcmSetGridMap
  23. #define stdSetDistDepDielTexture        dddcmSetDistDepDielTexture
  24. #define stdSetDistDepDielLookUpTable    dddcmSetDistDepDielLookUpTable
  25. #define stdSetSlice                     dddcmSetSlice
  26. #define stdSetAtoms                     dddcmSetAtoms
  27. #define stdGetKernelProc                dddcmGetKernelProc
  28. #define stdCallKernel                   dddcmCallKernel
  29. #include "Kernels.inl"