Gromacs  2026.0-dev-20241204-d69d709
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
anonymous_namespace{nbnxm_gpu_buffer_ops_internal_hip.cpp} Namespace Reference

Functions

static __global__ void nbnxmKernelTransformXToXq (int numColumns, float4 *__restrict__ gm_xq, const float3 *__restrict__ gm_x, const int *__restrict__ gm_atomIndex, const int *__restrict__ gm_numAtoms, const int *__restrict__ gm_cellIndex, int cellOffset, int numAtomsPerCell)
 HIP kernel for transforming position coordinates from rvec to nbnxm layout. More...
 

Variables

static constexpr int c_bufOpsThreadsPerBlock = 64
 Number of HIP threads in a block.
 

Function Documentation

static __global__ void anonymous_namespace{nbnxm_gpu_buffer_ops_internal_hip.cpp}::nbnxmKernelTransformXToXq ( int  numColumns,
float4 *__restrict__  gm_xq,
const float3 *__restrict__  gm_x,
const int *__restrict__  gm_atomIndex,
const int *__restrict__  gm_numAtoms,
const int *__restrict__  gm_cellIndex,
int  cellOffset,
int  numAtomsPerCell 
)
static

HIP kernel for transforming position coordinates from rvec to nbnxm layout.

Parameters
[in]numColumnsExtent of cell-level parallelism.
[out]gm_xqCoordinates buffer in nbnxm layout.
[in]gm_xCoordinates buffer.
[in]gm_atomIndexAtom index mapping.
[in]gm_numAtomsArray of number of atoms.
[in]gm_cellIndexArray of cell indices.
[in]cellOffsetFirst cell.
[in]numAtomsPerCellNumber of atoms per cell.