tests/cuda2.2/sdk/bank_checker.cpp
unsigned int BankChecker::
getLtid( unsigned int tidx, unsigned int tidy, unsigned int tidz,
         unsigned int bdimx, unsigned int bdimy, unsigned int /*bdimz*/ ) 
{
    return tidx + (tidy * bdimx) + tidz * (bdimx * bdimy);
}
////////////////////////////////////////////////////////////////////////////////
//! Get the linearized thread id for a thread
//! @return linear thread id
//! @param tidx  thread id in x dimension of block
//! @param tidy  thread id in y dimension of block
//! @param tidz  thread id in z dimension of block
//! @param bdimx block size in x dimension
//! @param bdimy block size in y dimension
//! @param bdimz block size in z dimension
////////////////////////////////////////////////////////////////////////////////
Get the linearized thread id for a thread
Get the linearized thread id for a thread
unsigned int BankChecker::
getLtid( unsigned int tidx, unsigned int tidy, unsigned int tidz,
         unsigned int bdimx, unsigned int bdimy, unsigned int  ) 
{
    return tidx + (tidy * bdimx) + tidz * (bdimx * bdimy);
}
unsigned int BankChecker :: getLtid ( unsigned int tidx , unsigned int tidy , unsigned int tidz , unsigned int bdimx , unsigned int bdimy , unsigned int ) { return tidx + ( tidy * bdimx ) + tidz * ( bdimx * bdimy ) ; }
Get the linearized thread id for a thread
Get the linearized thread id for a thread
/*bdimz*/