Gromacs
2018.7
|
#include "nbnxn_cuda_types.h"
Declares nbnxn cuda cache and texture helper functions.
Functions | |
void | nbnxn_cuda_set_cacheconfig (const gmx_device_info_t *devinfo) |
Set up the cache configuration for the non-bonded kernels. | |
struct texture< float, 1, cudaReadModeElementType > & | nbnxn_cuda_get_nbfp_texref () |
Return the reference to the nbfp texture. More... | |
struct texture< float, 1, cudaReadModeElementType > & | nbnxn_cuda_get_nbfp_comb_texref () |
Return the reference to the nbfp_comb texture. More... | |
struct texture< float, 1, cudaReadModeElementType > & | nbnxn_cuda_get_coulomb_tab_texref () |
Return the reference to the coulomb_tab texture. More... | |
struct texture< float, 1, cudaReadModeElementType >& nbnxn_cuda_get_coulomb_tab_texref | ( | ) |
Return the reference to the coulomb_tab texture.
Note: it can return junk when c_disableCudaTextures==false, but we don't assert on that condition because the data_mgmt module ends up calling this function even if texture references are not used.
struct texture< float, 1, cudaReadModeElementType >& nbnxn_cuda_get_nbfp_comb_texref | ( | ) |
Return the reference to the nbfp_comb texture.
Note: it can return junk when c_disableCudaTextures==false, but we don't assert on that condition because the data_mgmt module ends up calling this function even if texture references are not used.
struct texture< float, 1, cudaReadModeElementType >& nbnxn_cuda_get_nbfp_texref | ( | ) |
Return the reference to the nbfp texture.
Note: it can return junk when c_disableCudaTextures==false, but we don't assert on that condition because the data_mgmt module ends up calling this function even if texture references are not used.