dpctl.tensor.usm_ndarray.usm_type

usm_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 host

  • "host"

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

See: https://docs.oneapi.com/versions/latest/dpcpp/iface/usm.html