Skip to content

Commit 0269069

Browse files
committed
Add a note on data types possibly not being the same across devices
Closes data-apisgh-508
1 parent 0184f1c commit 0269069

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spec/API_specification/data_types.rst

+5
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@ The default integer data type should be the same across platforms, but the defau
130130

131131
The default array index data type may be ``int32`` on 32-bit platforms, but the default should be ``int64`` otherwise.
132132

133+
Note that it is possible that a library supports multiple devices, with not all
134+
those device types supporting the same data types. In this case, the default
135+
integer or floating-point data types may vary with device. If that is the case,
136+
the library should clearly warn about this in its documentation.
137+
133138
.. note::
134139
The default data types should be clearly defined in a conforming library's documentation.
135140

0 commit comments

Comments
 (0)