Developer Guide and Reference

  • 2022.1
  • 04/11/2022
  • Public Content
Contents

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.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.