mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-13 09:45:56 +00:00
adding ConstantMergedTensorDescriptor, refactering ConstantTensorDescriptor, Sequence
This commit is contained in:
@@ -21,7 +21,7 @@ struct ConstantMatrixDescriptor
|
||||
|
||||
__host__ __device__ constexpr index_t GetElementSpace() const { return NRow_ * RowStride_; }
|
||||
|
||||
__host__ __device__ index_t Get1dIndex(index_t irow, index_t icol) const
|
||||
__host__ __device__ index_t GetOffsetFromMultiIndex(index_t irow, index_t icol) const
|
||||
{
|
||||
return irow * RowStride_ + icol;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user