00001 /*************************************************************************** 00002 *cr 00003 *cr (C) Copyright 1995-2019 The Board of Trustees of the 00004 *cr University of Illinois 00005 *cr All Rights Reserved 00006 *cr 00007 ***************************************************************************/ 00008 /*************************************************************************** 00009 * RCS INFORMATION: 00010 * 00011 * $RCSfile: CUDASpatialSearch.h,v $ 00012 * $Author: johns $ $Locker: $ $State: Exp $ 00013 * $Revision: 1.3 $ $Date: 2020年02月26日 19:26:47 $ 00014 * 00015 ***************************************************************************/ 00022 #define GRID_CELL_EMPTY 0xffffffff 00023 00024 int vmd_cuda_build_density_atom_grid(int natoms, 00025 const float4 * xyzr_d, 00026 const float4 * color_d, 00027 float4 * sorted_xyzr_d, 00028 float4 * sorted_color_d, 00029 unsigned int *atomIndex_d, 00030 unsigned int *atomHash_d, 00031 uint2 * cellStartEnd_d, 00032 int3 volsz, 00033 float invgridspacing); 00034 00035 00036 int vmd_cuda_build_density_atom_grid(int natoms, 00037 const float4 * xyzr_d, 00038 float4 *& sorted_xyzr_d, 00039 uint2 *& cellStartEnd_d, 00040 int3 volsz, 00041 float invgridspacing); 00042 00043