mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-21 21:39:15 +00:00
refactored
This commit is contained in:
@@ -23,11 +23,7 @@ struct ConstantMatrixDescriptor
|
||||
|
||||
__host__ __device__ index_t Get1dIndex(index_t irow, index_t icol) const
|
||||
{
|
||||
#if DEVICE_BACKEND_HIP
|
||||
return __mul24(irow, RowStride_) + icol;
|
||||
#else
|
||||
return irow * RowStride_ + icol;
|
||||
#endif
|
||||
}
|
||||
|
||||
template <index_t SubNRow, index_t SubNCol>
|
||||
|
||||
Reference in New Issue
Block a user