enum dnnl::ocl_interop::memory_kind

Overview

Memory allocation kind. More…

#include <dnnl_ocl.hpp>

enum memory_kind
{
    usm    = dnnl_ocl_interop_usm,
    buffer = dnnl_ocl_interop_buffer,
};

Detailed Documentation

Memory allocation kind.

Enum Values

usm

USM (device, shared, host, or unknown) memory allocation kind.

buffer

Buffer memory allocation kind - default.