struct dnnl_memory_extra_desc_t

Overview

Description of extra information stored in memory. More…

#include <dnnl_types.h>

struct dnnl_memory_extra_desc_t
{
    // fields

    uint64_t flags;
    int compensation_mask;
    float scale_adjust;
    int asymm_compensation_mask;
    char reserved[60];
};

Detailed Documentation

Description of extra information stored in memory.

Fields

uint64_t flags

The flags contain arbitrary extra information, such as compensation.

See also:

dnnl_memory_extra_flags_t

int compensation_mask

Compensation mask.

float scale_adjust

Scale applied to the data.

int asymm_compensation_mask

Compensation mask for asymmetric quantization.

char reserved[60]

For future backwards compatibility.