Expand description
Structs§
- Fill
- A fill that a call chooses: the item that a read gives at each position that reaches no item, as one native item, checked at the dtype that reads it. A read with no chosen fill gives its dtype’s
Element::FILL. A frontend’s own storage, such as basedpl’s nested arrays, keeps its fills in the frontend. - Output
- Scratch
- Conversion buffers retained for one execution, by computing dtype and operand position.
Enums§
- Buffer
- Items of one element type.
- Complex
Buf - Complex
Width - Complexes
- DType
- The element type of a compact buffer. Numbers widen from Boolean through the integer widths to the float widths to the complex widths.
- Float
Buf - Float
Width - Floats
- IntBuf
- Ints
- Items
- Compact items at one dtype, borrowed or prepared by gathering and conversion.
- MapOutput
- Where a map appends: an owned buffer or the next slots of a caller’s result.
- View
- A buffer’s items, borrowed in their element type.
- Width
Traits§
- Cast
- Convert stored items using the destination dtype’s checked conversion.
- Element
- An element type of compact buffers:
bool, the integer widthsu8,i16,i32andi64, the float widthshalf::f16,f32andf64,Complex32andComplex64, andchar. - Output
Item - Source
- An item that reads as type
A: a Boolean as a number, an integer as a wider integer, a float or a complex number, a float as a float of another width or a complex number, and a complex number as one of the other width.
Functions§
- read_
all - Every item of
items, read as typeA, through the same scheduler as native elementwise calls.