Skip to content

File matrix_map_info.h

File List > ext > field > matrix_map_info.h

Go to the documentation of this file

#pragma once

namespace muda
{
template <typename T, int M, int N>
class MatrixMapInfo
{
  public:
    T*  begin;
    int outer_stride;
    int inner_stride;
};

template <typename T, int M, int N>
class CMatrixMapInfo
{
  public:
    const T*  begin;
    int outer_stride;
    int inner_stride;
};
}  // namespace muda