dpnp.ndarray.usm_type

property

property ndarray.usm_type

USM type of underlying memory. Possible values are:

  • "device"

    USM-device allocation in device memory, only accessible to kernels executed on the device

  • "shared"

    USM-shared allocation in device memory, accessible both from the device and from the host

  • "host"

    USM-host allocation in host memory, accessible both from the device and from the host