Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MatrixMacros.hpp File Reference

Go to the source code of this file.

Macros

#define ACTS_CUDA_MATRIX2D_ELEMENT(ARRAYPTR, SIZEX, SIZEY, INDEXX, INDEXY)   ARRAYPTR[INDEXX + INDEXY * SIZEX]
 Get one element of a 2 dimensional matrix.
 
#define ACTS_CUDA_MATRIX3D_ELEMENT(ARRAYPTR, SIZEX, SIZEY, SIZEZ, INDEXX, INDEXY, INDEXZ)   ARRAYPTR[INDEXX + INDEXY * SIZEX + INDEXZ * SIZEX * SIZEY]
 Get one element of a 3 dimensional matrix.
 

Macro Definition Documentation

#define ACTS_CUDA_MATRIX2D_ELEMENT (   ARRAYPTR,
  SIZEX,
  SIZEY,
  INDEXX,
  INDEXY 
)    ARRAYPTR[INDEXX + INDEXY * SIZEX]

Get one element of a 2 dimensional matrix.

Definition at line 12 of file MatrixMacros.hpp.

View newest version in sPHENIX GitHub at line 12 of file MatrixMacros.hpp

#define ACTS_CUDA_MATRIX3D_ELEMENT (   ARRAYPTR,
  SIZEX,
  SIZEY,
  SIZEZ,
  INDEXX,
  INDEXY,
  INDEXZ 
)    ARRAYPTR[INDEXX + INDEXY * SIZEX + INDEXZ * SIZEX * SIZEY]

Get one element of a 3 dimensional matrix.

Definition at line 16 of file MatrixMacros.hpp.

View newest version in sPHENIX GitHub at line 16 of file MatrixMacros.hpp