You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the future, the below content may be migrated to the (to-be-written) DLPack docs.
86
+
:::
69
87
70
-
## Syntax for data interchange with DLPack
88
+
###Syntax for data interchange with DLPack
71
89
72
90
The array API will offer the following syntax for data interchange:
73
91
@@ -80,7 +98,7 @@ The array API will offer the following syntax for data interchange:
80
98
stream, e.g. in the case of multiple GPUs) and to access the data.
81
99
82
100
83
-
## Semantics
101
+
###Semantics
84
102
85
103
DLPack describe the memory layout of strided, n-dimensional arrays.
86
104
When a user calls `y = from_dlpack(x)`, the library implementing `x` (the
@@ -106,7 +124,7 @@ In the common case of the default stream being used, synchronization will be
106
124
unnecessary so asynchronous execution is enabled.
107
125
108
126
109
-
## Implementation
127
+
###Implementation
110
128
111
129
_Note that while this API standard largely tries to avoid discussing implementation details, some discussion and requirements are needed here because data interchange requires coordination between implementers on, e.g., memory management._
0 commit comments