Debug capabilities. More...
Go to the source code of this file.
Functions | |
int MKLDNN_API | mkldnn_md2fmt_str (char *fmt_str, size_t fmt_str_len, const mkldnn_memory_desc_t *md) |
Forms a format string for a given memory descriptor. More... | |
int MKLDNN_API | mkldnn_md2dim_str (char *dim_str, size_t dim_str_len, const mkldnn_memory_desc_t *md) |
Forms a dimension string for a given memory descriptor. More... | |
Debug capabilities.
int MKLDNN_API mkldnn_md2fmt_str | ( | char * | fmt_str, |
size_t | fmt_str_len, | ||
const mkldnn_memory_desc_t * | md | ||
) |
Forms a format string for a given memory descriptor.
The format is defined as: 'dt:[p|o|0]:fmt_kind:fmt:extra'. Here:
int MKLDNN_API mkldnn_md2dim_str | ( | char * | dim_str, |
size_t | dim_str_len, | ||
const mkldnn_memory_desc_t * | md | ||
) |
Forms a dimension string for a given memory descriptor.
The format is defined as: 'dim0xdim1x...xdimN