Skip to content

Commit 2e27af8

Browse files
authored
doc imp for metal return (#186)
1 parent 84d107b commit 2e27af8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/dlpack/dlpack.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ typedef struct {
220220
typedef struct {
221221
/*!
222222
* \brief The data pointer points to the allocated data. This will be CUDA
223-
* device pointer or cl_mem handle in OpenCL. It may be opaque on some device
224-
* types. This pointer is always aligned to 256 bytes as in CUDA. The
223+
* device pointer, cl_mem handle in OpenCL, or id<MTLBuffer> for Metal. It
224+
* may be opaque on some device types. This pointer is always aligned to 256 bytes as in CUDA. The
225225
* `byte_offset` field should be used to point to the beginning of the data.
226226
*
227227
* Note that as of Nov 2021, multiple libraries (CuPy, PyTorch, TensorFlow,

0 commit comments

Comments
 (0)