Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/python_spec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ the requesting (consumer) library does not support, it is recommended to raise a
:obj:`BufferError`, unless an explicit copy is requested (see below) and the producer
can support the request.

Stream handling through the ``stream`` keyword applies to CUDA and ROCm (perhaps
Stream handling through the ``stream`` keyword applies to CUDA, ROCm, and MUSA (perhaps
to other devices that have a stream concept as well, however those haven't been
considered in detail). The consumer must pass the stream it will use to the
producer; the producer must synchronize or wait on the stream when necessary.
Expand Down
6 changes: 6 additions & 0 deletions include/dlpack/dlpack.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ typedef enum {
kDLTPUHost = 20,
/*! \brief Huawei Ascend NPU device */
kDLAscend = 21,
/*! \brief Moore Threads MUSA GPU device memory */
kDLMUSA = 22,
/*! \brief Pinned MUSA host memory allocated by musaMallocHost or musaHostAlloc */
kDLMUSAHost = 23,
/*! \brief MUSA managed/unified memory allocated by musaMallocManaged */
kDLMUSAManaged = 24,
} DLDeviceType;

/*!
Expand Down