MLIR  20.0.0git
Static Public Member Functions | List of all members
impl::MemRefDataPrinter< T > Struct Template Reference

#include "mlir/ExecutionEngine/RunnerUtils.h"

Static Public Member Functions

static void print (std::ostream &os, T *base, int64_t dim, int64_t rank, int64_t offset, const int64_t *sizes, const int64_t *strides)
 
static void printFirst (std::ostream &os, T *base, int64_t dim, int64_t rank, int64_t offset, const int64_t *sizes, const int64_t *strides)
 
static void printLast (std::ostream &os, T *base, int64_t dim, int64_t rank, int64_t offset, const int64_t *sizes, const int64_t *strides)
 

Detailed Description

template<typename T>
struct impl::MemRefDataPrinter< T >

Definition at line 143 of file RunnerUtils.h.

Member Function Documentation

◆ print()

template<typename T >
void impl::MemRefDataPrinter< T >::print ( std::ostream &  os,
T *  base,
int64_t  dim,
int64_t  rank,
int64_t  offset,
const int64_t *  sizes,
const int64_t *  strides 
)
static

Definition at line 173 of file RunnerUtils.h.

References print(), and impl::printSpace().

◆ printFirst()

template<typename T >
void impl::MemRefDataPrinter< T >::printFirst ( std::ostream &  os,
T *  base,
int64_t  dim,
int64_t  rank,
int64_t  offset,
const int64_t *  sizes,
const int64_t *  strides 
)
static

Definition at line 156 of file RunnerUtils.h.

References print().

◆ printLast()

template<typename T >
void impl::MemRefDataPrinter< T >::printLast ( std::ostream &  os,
T *  base,
int64_t  dim,
int64_t  rank,
int64_t  offset,
const int64_t *  sizes,
const int64_t *  strides 
)
static

Definition at line 195 of file RunnerUtils.h.

References print(), and impl::printSpace().


The documentation for this struct was generated from the following file: