awkward::kernel Namespace Reference

Classes

class  array_deleter
 Used as a std::shared_ptr deleter (second argument) to overload delete ptr with delete[] ptr. More...
 
class  cuda_array_deleter
 Used as a std::shared_ptr deleter (second argument) to overload delete ptr with cudaFree. More...
 
class  LibraryCallback
 
class  LibraryPathCallback
 
class  no_deleter
 Used as a std::shared_ptr deleter (second argument) to overload delete ptr with nothing (no dereferencing). More...
 

Enumerations

enum  lib { cpu, cuda, size }
 

Functions

void * acquire_handle (kernel::lib ptr_lib)
 Internal utility function to return an opaque ptr if an handle is acquired for the specified ptr_lib. If not, then it raises an appropriate exception. More...
 
void * acquire_symbol (void *handle, const std::string &symbol_name)
 Internal utility function to return an opaque ptr if an symbol is found for the corresponding handle. If not, then it raises an appropriate exception. More...
 
const int64_t lib_device_num (kernel::lib ptr_lib, void *ptr)
 Returns the number of the device associated with the pointer. More...
 
const std::string lib_tostring (kernel::lib ptr_lib, void *ptr, const std::string &indent, const std::string &pre, const std::string &post)
 Produces a <Lib> element for 'tostring' to indicate the kernel library. More...
 
ERROR copy_to (kernel::lib to_lib, kernel::lib from_lib, void *to_ptr, void *from_ptr, int64_t bytelength)
 Internal Function an array buffer from library FROM to library TO, usually between main memory and a GPU. More...
 
const std::string fully_qualified_cache_key (kernel::lib ptr_lib, const std::string &cache_key)
 FIXME. More...
 
template<typename T >
std::shared_ptr< T > malloc (kernel::lib ptr_lib, int64_t bytelength)
 Internal Function to allocate an empty array of a given length with a given type. The bytelength parameter is the number of bytes, so be sure to multiply by sizeof(...) when using this function. More...
 
template<typename T >
NumpyArray_getitem_at0 (kernel::lib ptr_lib, T *ptr)
 Internal utility kernel to avoid raw pointer access. More...
 
void regularize_rangeslice (int64_t *start, int64_t *stop, bool posstep, bool hasstart, bool hasstop, int64_t length)
 
ERROR regularize_arrayslice_64 (kernel::lib ptr_lib, int64_t *flatheadptr, int64_t lenflathead, int64_t length)
 
template<typename T >
ERROR Index_iscontiguous (kernel::lib ptr_lib, bool *result, const T *fromindex, int64_t length)
 
template<typename T >
ERROR Index_to_Index64 (kernel::lib ptr_lib, int64_t *toptr, const T *fromptr, int64_t length)
 
template<typename T >
ERROR Index_carry_64 (kernel::lib ptr_lib, T *toindex, const T *fromindex, const int64_t *carry, int64_t lenfromindex, int64_t length)
 
template<typename T >
ERROR Index_carry_nocheck_64 (kernel::lib ptr_lib, T *toindex, const T *fromindex, const int64_t *carry, int64_t length)
 
ERROR slicearray_ravel_64 (kernel::lib ptr_lib, int64_t *toptr, const int64_t *fromptr, int64_t ndim, const int64_t *shape, const int64_t *strides)
 
ERROR slicemissing_check_same (kernel::lib ptr_lib, bool *same, const int8_t *bytemask, const int64_t *missingindex, int64_t length)
 
template<typename T >
ERROR carry_arange (kernel::lib ptr_lib, T *toptr, int64_t length)
 
template<typename ID >
ERROR Identities_getitem_carry_64 (kernel::lib ptr_lib, ID *newidentitiesptr, const ID *identitiesptr, const int64_t *carryptr, int64_t lencarry, int64_t width, int64_t length)
 
ERROR NumpyArray_contiguous_init_64 (kernel::lib ptr_lib, int64_t *toptr, int64_t skip, int64_t stride)
 
ERROR NumpyArray_copy (kernel::lib ptr_lib, uint8_t *toptr, const uint8_t *fromptr, int64_t len)
 
ERROR NumpyArray_contiguous_copy_64 (kernel::lib ptr_lib, uint8_t *toptr, const uint8_t *fromptr, int64_t len, int64_t stride, const int64_t *pos)
 
ERROR NumpyArray_contiguous_copy_from_many_64 (kernel::lib ptr_lib, uint8_t *toptr, const uint8_t **fromptrs, int64_t *fromlens, int64_t len, int64_t stride, const int64_t *pos)
 
ERROR NumpyArray_contiguous_next_64 (kernel::lib ptr_lib, int64_t *topos, const int64_t *frompos, int64_t len, int64_t skip, int64_t stride)
 
ERROR NumpyArray_getitem_next_null_64 (kernel::lib ptr_lib, uint8_t *toptr, const uint8_t *fromptr, int64_t len, int64_t stride, const int64_t *pos)
 
ERROR NumpyArray_getitem_next_at_64 (kernel::lib ptr_lib, int64_t *nextcarryptr, const int64_t *carryptr, int64_t lencarry, int64_t skip, int64_t at)
 
ERROR NumpyArray_getitem_next_range_64 (kernel::lib ptr_lib, int64_t *nextcarryptr, const int64_t *carryptr, int64_t lencarry, int64_t lenhead, int64_t skip, int64_t start, int64_t step)
 
ERROR NumpyArray_getitem_next_range_advanced_64 (kernel::lib ptr_lib, int64_t *nextcarryptr, int64_t *nextadvancedptr, const int64_t *carryptr, const int64_t *advancedptr, int64_t lencarry, int64_t lenhead, int64_t skip, int64_t start, int64_t step)
 
ERROR NumpyArray_getitem_next_array_64 (kernel::lib ptr_lib, int64_t *nextcarryptr, int64_t *nextadvancedptr, const int64_t *carryptr, const int64_t *flatheadptr, int64_t lencarry, int64_t lenflathead, int64_t skip)
 
ERROR NumpyArray_getitem_next_array_advanced_64 (kernel::lib ptr_lib, int64_t *nextcarryptr, const int64_t *carryptr, const int64_t *advancedptr, const int64_t *flatheadptr, int64_t lencarry, int64_t skip)
 
ERROR NumpyArray_getitem_boolean_numtrue (kernel::lib ptr_lib, int64_t *numtrue, const int8_t *fromptr, int64_t length, int64_t stride)
 
ERROR NumpyArray_getitem_boolean_nonzero_64 (kernel::lib ptr_lib, int64_t *toptr, const int8_t *fromptr, int64_t length, int64_t stride)
 
template<typename T >
ERROR ListArray_getitem_next_at_64 (kernel::lib ptr_lib, int64_t *tocarry, const T *fromstarts, const T *fromstops, int64_t lenstarts, int64_t at)
 
template<typename T >
ERROR ListArray_getitem_next_range_carrylength (kernel::lib ptr_lib, int64_t *carrylength, const T *fromstarts, const T *fromstops, int64_t lenstarts, int64_t start, int64_t stop, int64_t step)
 
template<typename T >
ERROR ListArray_getitem_next_range_64 (kernel::lib ptr_lib, T *tooffsets, int64_t *tocarry, const T *fromstarts, const T *fromstops, int64_t lenstarts, int64_t start, int64_t stop, int64_t step)
 
template<typename T >
ERROR ListArray_getitem_next_range_counts_64 (kernel::lib ptr_lib, int64_t *total, const T *fromoffsets, int64_t lenstarts)
 
template<typename T >
ERROR ListArray_getitem_next_range_spreadadvanced_64 (kernel::lib ptr_lib, int64_t *toadvanced, const int64_t *fromadvanced, const T *fromoffsets, int64_t lenstarts)
 
template<typename T >
ERROR ListArray_getitem_next_array_64 (kernel::lib ptr_lib, int64_t *tocarry, int64_t *toadvanced, const T *fromstarts, const T *fromstops, const int64_t *fromarray, int64_t lenstarts, int64_t lenarray, int64_t lencontent)
 
template<typename T >
ERROR ListArray_getitem_next_array_advanced_64 (kernel::lib ptr_lib, int64_t *tocarry, int64_t *toadvanced, const T *fromstarts, const T *fromstops, const int64_t *fromarray, const int64_t *fromadvanced, int64_t lenstarts, int64_t lenarray, int64_t lencontent)
 
template<typename T >
ERROR ListArray_getitem_carry_64 (kernel::lib ptr_lib, T *tostarts, T *tostops, const T *fromstarts, const T *fromstops, const int64_t *fromcarry, int64_t lenstarts, int64_t lencarry)
 
ERROR RegularArray_getitem_next_at_64 (kernel::lib ptr_lib, int64_t *tocarry, int64_t at, int64_t len, int64_t size)
 
ERROR RegularArray_getitem_next_range_64 (kernel::lib ptr_lib, int64_t *tocarry, int64_t regular_start, int64_t step, int64_t len, int64_t size, int64_t nextsize)
 
ERROR RegularArray_getitem_next_range_spreadadvanced_64 (kernel::lib ptr_lib, int64_t *toadvanced, const int64_t *fromadvanced, int64_t len, int64_t nextsize)
 
ERROR RegularArray_getitem_next_array_regularize_64 (kernel::lib ptr_lib, int64_t *toarray, const int64_t *fromarray, int64_t lenarray, int64_t size)
 
ERROR RegularArray_getitem_next_array_64 (kernel::lib ptr_lib, int64_t *tocarry, int64_t *toadvanced, const int64_t *fromarray, int64_t len, int64_t lenarray, int64_t size)
 
ERROR RegularArray_getitem_next_array_advanced_64 (kernel::lib ptr_lib, int64_t *tocarry, int64_t *toadvanced, const int64_t *fromadvanced, const int64_t *fromarray, int64_t len, int64_t lenarray, int64_t size)
 
ERROR RegularArray_getitem_carry_64 (kernel::lib ptr_lib, int64_t *tocarry, const int64_t *fromcarry, int64_t lencarry, int64_t size)
 
template<typename T >
ERROR IndexedArray_numnull (kernel::lib ptr_lib, int64_t *numnull, const T *fromindex, int64_t lenindex)
 
template<typename T >
ERROR IndexedArray_index_of_nulls (kernel::lib ptr_lib, int64_t *toindex, const T *fromindex, int64_t lenindex, const int64_t *parents, const int64_t *starts)
 
template<typename T >
ERROR IndexedArray_getitem_nextcarry_outindex_64 (kernel::lib ptr_lib, int64_t *tocarry, T *toindex, const T *fromindex, int64_t lenindex, int64_t lencontent)
 
template<typename T >
ERROR IndexedArray_getitem_nextcarry_outindex_mask_64 (kernel::lib ptr_lib, int64_t *tocarry, int64_t *toindex, const T *fromindex, int64_t lenindex, int64_t lencontent)
 
ERROR ListOffsetArray_getitem_adjust_offsets_64 (kernel::lib ptr_lib, int64_t *tooffsets, int64_t *tononzero, const int64_t *fromoffsets, int64_t length, const int64_t *nonzero, int64_t nonzerolength)
 
ERROR ListOffsetArray_getitem_adjust_offsets_index_64 (kernel::lib ptr_lib, int64_t *tooffsets, int64_t *tononzero, const int64_t *fromoffsets, int64_t length, const int64_t *index, int64_t indexlength, const int64_t *nonzero, int64_t nonzerolength, const int8_t *originalmask, int64_t masklength)
 
ERROR IndexedArray_getitem_adjust_outindex_64 (kernel::lib ptr_lib, int8_t *tomask, int64_t *toindex, int64_t *tononzero, const int64_t *fromindex, int64_t fromindexlength, const int64_t *nonzero, int64_t nonzerolength)
 
template<typename T >
ERROR IndexedArray_getitem_nextcarry_64 (kernel::lib ptr_lib, int64_t *tocarry, const T *fromindex, int64_t lenindex, int64_t lencontent)
 
template<typename T >
ERROR IndexedArray_getitem_carry_64 (kernel::lib ptr_lib, T *toindex, const T *fromindex, const int64_t *fromcarry, int64_t lenindex, int64_t lencarry)
 
template<typename T >
ERROR UnionArray_regular_index_getsize (kernel::lib ptr_lib, int64_t *size, const T *fromtags, int64_t length)
 
template<typename T , typename I >
ERROR UnionArray_regular_index (kernel::lib ptr_lib, I *toindex, I *current, int64_t size, const T *fromtags, int64_t length)
 
template<typename T , typename I >
ERROR UnionArray_project_64 (kernel::lib ptr_lib, int64_t *lenout, int64_t *tocarry, const T *fromtags, const I *fromindex, int64_t length, int64_t which)
 
ERROR missing_repeat_64 (kernel::lib ptr_lib, int64_t *outindex, const int64_t *index, int64_t indexlength, int64_t repetitions, int64_t regularsize)
 
ERROR RegularArray_getitem_jagged_expand_64 (kernel::lib ptr_lib, int64_t *multistarts, int64_t *multistops, const int64_t *singleoffsets, int64_t regularsize, int64_t regularlength)
 
template<typename T >
ERROR ListArray_getitem_jagged_expand_64 (kernel::lib ptr_lib, int64_t *multistarts, int64_t *multistops, const int64_t *singleoffsets, int64_t *tocarry, const T *fromstarts, const T *fromstops, int64_t jaggedsize, int64_t length)
 
ERROR ListArray_getitem_jagged_carrylen_64 (kernel::lib ptr_lib, int64_t *carrylen, const int64_t *slicestarts, const int64_t *slicestops, int64_t sliceouterlen)
 
template<typename T >
ERROR ListArray_getitem_jagged_apply_64 (kernel::lib ptr_lib, int64_t *tooffsets, int64_t *tocarry, const int64_t *slicestarts, const int64_t *slicestops, int64_t sliceouterlen, const int64_t *sliceindex, int64_t sliceinnerlen, const T *fromstarts, const T *fromstops, int64_t contentlen)
 
ERROR ListArray_getitem_jagged_numvalid_64 (kernel::lib ptr_lib, int64_t *numvalid, const int64_t *slicestarts, const int64_t *slicestops, int64_t length, const int64_t *missing, int64_t missinglength)
 
ERROR ListArray_getitem_jagged_shrink_64 (kernel::lib ptr_lib, int64_t *tocarry, int64_t *tosmalloffsets, int64_t *tolargeoffsets, const int64_t *slicestarts, const int64_t *slicestops, int64_t length, const int64_t *missing)
 
template<typename T >
ERROR ListArray_getitem_jagged_descend_64 (kernel::lib ptr_lib, int64_t *tooffsets, const int64_t *slicestarts, const int64_t *slicestops, int64_t sliceouterlen, const T *fromstarts, const T *fromstops)
 
template<typename T >
index_getitem_at_nowrap (kernel::lib ptr_lib, T *ptr, int64_t at)
 
template<typename T >
void index_setitem_at_nowrap (kernel::lib ptr_lib, T *ptr, int64_t at, T value)
 
ERROR ByteMaskedArray_getitem_carry_64 (kernel::lib ptr_lib, int8_t *tomask, const int8_t *frommask, int64_t lenmask, const int64_t *fromcarry, int64_t lencarry)
 
ERROR ByteMaskedArray_numnull (kernel::lib ptr_lib, int64_t *numnull, const int8_t *mask, int64_t length, bool validwhen)
 
ERROR ByteMaskedArray_getitem_nextcarry_64 (kernel::lib ptr_lib, int64_t *tocarry, const int8_t *mask, int64_t length, bool validwhen)
 
ERROR ByteMaskedArray_getitem_nextcarry_outindex_64 (kernel::lib ptr_lib, int64_t *tocarry, int64_t *toindex, const int8_t *mask, int64_t length, bool validwhen)
 
ERROR ByteMaskedArray_toIndexedOptionArray64 (kernel::lib ptr_lib, int64_t *toindex, const int8_t *mask, int64_t length, bool validwhen)
 
ERROR Content_getitem_next_missing_jagged_getmaskstartstop (kernel::lib ptr_lib, int64_t *index_in, int64_t *offsets_in, int64_t *mask_out, int64_t *starts_out, int64_t *stops_out, int64_t length)
 
template<typename T >
ERROR MaskedArray_getitem_next_jagged_project (kernel::lib ptr_lib, T *index, int64_t *starts_in, int64_t *stops_in, int64_t *starts_out, int64_t *stops_out, int64_t length)
 
template<typename T >
ERROR new_Identities (kernel::lib ptr_lib, T *toptr, int64_t length)
 
template<typename T >
ERROR Identities_to_Identities64 (kernel::lib ptr_lib, int64_t *toptr, const T *fromptr, int64_t length, int64_t width)
 
template<typename C , typename T >
ERROR Identities_from_ListOffsetArray (kernel::lib ptr_lib, C *toptr, const C *fromptr, const T *fromoffsets, int64_t tolength, int64_t fromlength, int64_t fromwidth)
 
template<typename C , typename T >
ERROR Identities_from_ListArray (kernel::lib ptr_lib, bool *uniquecontents, C *toptr, const C *fromptr, const T *fromstarts, const T *fromstops, int64_t tolength, int64_t fromlength, int64_t fromwidth)
 
template<typename ID >
ERROR Identities_from_RegularArray (kernel::lib ptr_lib, ID *toptr, const ID *fromptr, int64_t size, int64_t tolength, int64_t fromlength, int64_t fromwidth)
 
template<typename C , typename T >
ERROR Identities_from_IndexedArray (kernel::lib ptr_lib, bool *uniquecontents, C *toptr, const C *fromptr, const T *fromindex, int64_t tolength, int64_t fromlength, int64_t fromwidth)
 
template<typename C , typename T , typename I >
ERROR Identities_from_UnionArray (kernel::lib ptr_lib, bool *uniquecontents, C *toptr, const C *fromptr, const T *fromtags, const I *fromindex, int64_t tolength, int64_t fromlength, int64_t fromwidth, int64_t which)
 
template<typename ID >
ERROR Identities_extend (kernel::lib ptr_lib, ID *toptr, const ID *fromptr, int64_t fromlength, int64_t tolength)
 
template<typename T >
ERROR ListArray_num_64 (kernel::lib ptr_lib, int64_t *tonum, const T *fromstarts, const T *fromstops, int64_t length)
 
ERROR RegularArray_num_64 (kernel::lib ptr_lib, int64_t *tonum, int64_t size, int64_t length)
 
template<typename T >
ERROR ListOffsetArray_flatten_offsets_64 (kernel::lib ptr_lib, int64_t *tooffsets, const T *outeroffsets, int64_t outeroffsetslen, const int64_t *inneroffsets, int64_t inneroffsetslen)
 
template<typename T >
ERROR IndexedArray_flatten_none2empty_64 (kernel::lib ptr_lib, int64_t *outoffsets, const T *outindex, int64_t outindexlength, const int64_t *offsets, int64_t offsetslength)
 
template<typename T , typename I >
ERROR UnionArray_flatten_length_64 (kernel::lib ptr_lib, int64_t *total_length, const T *fromtags, const I *fromindex, int64_t length, int64_t **offsetsraws)
 
template<typename T , typename I >
ERROR UnionArray_nestedfill_tags_index_64 (kernel::lib ptr_lib, T *totags, I *toindex, int64_t *tmpstarts, T tag, const int64_t *fromcounts, int64_t length)
 
template<typename T , typename I >
ERROR UnionArray_flatten_combine_64 (kernel::lib ptr_lib, int8_t *totags, int64_t *toindex, int64_t *tooffsets, const T *fromtags, const I *fromindex, int64_t length, int64_t **offsetsraws)
 
template<typename T >
ERROR IndexedArray_flatten_nextcarry_64 (kernel::lib ptr_lib, int64_t *tocarry, const T *fromindex, int64_t lenindex, int64_t lencontent)
 
template<typename T >
ERROR IndexedArray_overlay_mask8_to64 (kernel::lib ptr_lib, int64_t *toindex, const int8_t *mask, const T *fromindex, int64_t length)
 
template<typename T >
ERROR IndexedArray_mask8 (kernel::lib ptr_lib, int8_t *tomask, const T *fromindex, int64_t length)
 
ERROR ByteMaskedArray_mask8 (kernel::lib ptr_lib, int8_t *tomask, const int8_t *frommask, int64_t length, bool validwhen)
 
ERROR zero_mask8 (kernel::lib ptr_lib, int8_t *tomask, int64_t length)
 
ERROR one_mask8 (kernel::lib ptr_lib, int8_t *tomask, int64_t length)
 
template<typename T >
ERROR IndexedArray_simplify32_to64 (kernel::lib ptr_lib, int64_t *toindex, const T *outerindex, int64_t outerlength, const int32_t *innerindex, int64_t innerlength)
 
template<typename T >
ERROR IndexedArray_simplifyU32_to64 (kernel::lib ptr_lib, int64_t *toindex, const T *outerindex, int64_t outerlength, const uint32_t *innerindex, int64_t innerlength)
 
template<typename T >
ERROR IndexedArray_simplify64_to64 (kernel::lib ptr_lib, int64_t *toindex, const T *outerindex, int64_t outerlength, const int64_t *innerindex, int64_t innerlength)
 
template<typename T >
ERROR ListArray_compact_offsets_64 (kernel::lib ptr_lib, int64_t *tooffsets, const T *fromstarts, const T *fromstops, int64_t length)
 
ERROR RegularArray_compact_offsets_64 (kernel::lib ptr_lib, int64_t *tooffsets, int64_t length, int64_t size)
 
template<typename T >
ERROR ListOffsetArray_compact_offsets_64 (kernel::lib ptr_lib, int64_t *tooffsets, const T *fromoffsets, int64_t length)
 
template<typename T >
ERROR ListArray_broadcast_tooffsets_64 (kernel::lib ptr_lib, int64_t *tocarry, const int64_t *fromoffsets, int64_t offsetslength, const T *fromstarts, const T *fromstops, int64_t lencontent)
 
ERROR RegularArray_broadcast_tooffsets_64 (kernel::lib ptr_lib, const int64_t *fromoffsets, int64_t offsetslength, int64_t size)
 
ERROR RegularArray_broadcast_tooffsets_size1_64 (kernel::lib ptr_lib, int64_t *tocarry, const int64_t *fromoffsets, int64_t offsetslength)
 
template<typename T >
ERROR ListOffsetArray_toRegularArray (kernel::lib ptr_lib, int64_t *size, const T *fromoffsets, int64_t offsetslength)
 
template<typename FROM , typename TO >
ERROR NumpyArray_fill (kernel::lib ptr_lib, TO *toptr, int64_t tooffset, const FROM *fromptr, int64_t length)
 
template<typename TO >
ERROR NumpyArray_fill_frombool (kernel::lib ptr_lib, TO *toptr, int64_t tooffset, const bool *fromptr, int64_t length)
 
template<typename FROM , typename TO >
ERROR NumpyArray_fill_tocomplex (kernel::lib ptr_lib, TO *toptr, int64_t tooffset, const FROM *fromptr, int64_t length)
 
template<typename FROM , typename TO >
ERROR NumpyArray_fill_fromcomplex (kernel::lib ptr_lib, TO *toptr, int64_t tooffset, const FROM *fromptr, int64_t length)
 
template<typename TO >
ERROR NumpyArray_fill_tocomplex_frombool (kernel::lib ptr_lib, TO *toptr, int64_t tooffset, const bool *fromptr, int64_t length)
 
template<typename FROM , typename TO >
ERROR NumpyArray_fill_scaled (kernel::lib ptr_lib, TO *toptr, int64_t tooffset, const FROM *fromptr, int64_t length, double scale)
 
template<typename FROM , typename TO >
ERROR NumpyArray_rearrange_shifted (kernel::lib ptr_lib, TO *toptr, const FROM *fromshifts, int64_t length, const FROM *fromoffsets, int64_t offsetslength, const FROM *fromparents, int64_t parentslength, const FROM *fromstarts, int64_t startslength)
 
template<typename FROM , typename TO >
ERROR ListArray_fill (kernel::lib ptr_lib, TO *tostarts, int64_t tostartsoffset, TO *tostops, int64_t tostopsoffset, const FROM *fromstarts, const FROM *fromstops, int64_t length, int64_t base)
 
template<typename FROM , typename TO >
ERROR IndexedArray_fill (kernel::lib ptr_lib, TO *toindex, int64_t toindexoffset, const FROM *fromindex, int64_t length, int64_t base)
 
ERROR IndexedArray_fill_to64_count (kernel::lib ptr_lib, int64_t *toindex, int64_t toindexoffset, int64_t length, int64_t base)
 
ERROR UnionArray_filltags_to8_from8 (kernel::lib ptr_lib, int8_t *totags, int64_t totagsoffset, const int8_t *fromtags, int64_t length, int64_t base)
 
template<typename FROM , typename TO >
ERROR UnionArray_fillindex (kernel::lib ptr_lib, TO *toindex, int64_t toindexoffset, const FROM *fromindex, int64_t length)
 
ERROR UnionArray_filltags_to8_const (kernel::lib ptr_lib, int8_t *totags, int64_t totagsoffset, int64_t length, int64_t base)
 
ERROR UnionArray_fillindex_count_64 (kernel::lib ptr_lib, int64_t *toindex, int64_t toindexoffset, int64_t length)
 
template<typename T , typename I >
ERROR UnionArray_simplify8_32_to8_64 (kernel::lib ptr_lib, int8_t *totags, int64_t *toindex, const T *outertags, const I *outerindex, const int8_t *innertags, const int32_t *innerindex, int64_t towhich, int64_t innerwhich, int64_t outerwhich, int64_t length, int64_t base)
 
template<typename T , typename I >
ERROR UnionArray_simplify8_U32_to8_64 (kernel::lib ptr_lib, int8_t *totags, int64_t *toindex, const T *outertags, const I *outerindex, const int8_t *innertags, const uint32_t *innerindex, int64_t towhich, int64_t innerwhich, int64_t outerwhich, int64_t length, int64_t base)
 
template<typename T , typename I >
ERROR UnionArray_simplify8_64_to8_64 (kernel::lib ptr_lib, int8_t *totags, int64_t *toindex, const T *outertags, const I *outerindex, const int8_t *innertags, const int64_t *innerindex, int64_t towhich, int64_t innerwhich, int64_t outerwhich, int64_t length, int64_t base)
 
template<typename T , typename I >
ERROR UnionArray_simplify_one_to8_64 (kernel::lib ptr_lib, int8_t *totags, int64_t *toindex, const T *fromtags, const I *fromindex, int64_t towhich, int64_t fromwhich, int64_t length, int64_t base)
 
template<typename T >
ERROR ListArray_validity (kernel::lib ptr_lib, const T *starts, const T *stops, int64_t length, int64_t lencontent)
 
template<typename T >
ERROR IndexedArray_validity (kernel::lib ptr_lib, const T *index, int64_t length, int64_t lencontent, bool isoption)
 
template<typename T , typename I >
ERROR UnionArray_validity (kernel::lib ptr_lib, const T *tags, const I *index, int64_t length, int64_t numcontents, const int64_t *lencontents)
 
template<typename T >
ERROR UnionArray_fillna_64 (kernel::lib ptr_lib, int64_t *toindex, const T *fromindex, int64_t length)
 
ERROR IndexedOptionArray_rpad_and_clip_mask_axis1_64 (kernel::lib ptr_lib, int64_t *toindex, const int8_t *frommask, int64_t length)
 
ERROR index_rpad_and_clip_axis0_64 (kernel::lib ptr_lib, int64_t *toindex, int64_t target, int64_t length)
 
ERROR index_rpad_and_clip_axis1_64 (kernel::lib ptr_lib, int64_t *tostarts, int64_t *tostops, int64_t target, int64_t length)
 
ERROR Index_nones_as_index_64 (kernel::lib ptr_lib, int64_t *toindex, int64_t length)
 
ERROR RegularArray_rpad_and_clip_axis1_64 (kernel::lib ptr_lib, int64_t *toindex, int64_t target, int64_t size, int64_t length)
 
template<typename T >
ERROR ListArray_min_range (kernel::lib ptr_lib, int64_t *tomin, const T *fromstarts, const T *fromstops, int64_t lenstarts)
 
template<typename T >
ERROR ListArray_rpad_and_clip_length_axis1 (kernel::lib ptr_lib, int64_t *tolength, const T *fromstarts, const T *fromstops, int64_t target, int64_t lenstarts)
 
template<typename T >
ERROR ListArray_rpad_axis1_64 (kernel::lib ptr_lib, int64_t *toindex, const T *fromstarts, const T *fromstops, T *tostarts, T *tostops, int64_t target, int64_t length)
 
template<typename T >
ERROR ListOffsetArray_rpad_and_clip_axis1_64 (kernel::lib ptr_lib, int64_t *toindex, const T *fromoffsets, int64_t length, int64_t target)
 
template<typename T >
ERROR ListOffsetArray_rpad_length_axis1 (kernel::lib ptr_lib, T *tooffsets, const T *fromoffsets, int64_t fromlength, int64_t target, int64_t *tolength)
 
template<typename T >
ERROR ListOffsetArray_rpad_axis1_64 (kernel::lib ptr_lib, int64_t *toindex, const T *fromoffsets, int64_t fromlength, int64_t target)
 
ERROR localindex_64 (kernel::lib ptr_lib, int64_t *toindex, int64_t length)
 
template<typename T >
ERROR ListArray_localindex_64 (kernel::lib ptr_lib, int64_t *toindex, const T *offsets, int64_t length)
 
ERROR RegularArray_localindex_64 (kernel::lib ptr_lib, int64_t *toindex, int64_t size, int64_t length)
 
template<typename T >
ERROR combinations (kernel::lib ptr_lib, T *toindex, int64_t n, bool replacement, int64_t singlelen)
 
template<typename T >
ERROR ListArray_combinations_length_64 (kernel::lib ptr_lib, int64_t *totallen, int64_t *tooffsets, int64_t n, bool replacement, const T *starts, const T *stops, int64_t length)
 
template<typename T >
ERROR ListArray_combinations_64 (kernel::lib ptr_lib, int64_t **tocarry, int64_t *toindex, int64_t *fromindex, int64_t n, bool replacement, const T *starts, const T *stops, int64_t length)
 
ERROR RegularArray_combinations_64 (kernel::lib ptr_lib, int64_t **tocarry, int64_t *toindex, int64_t *fromindex, int64_t n, bool replacement, int64_t size, int64_t length)
 
ERROR ByteMaskedArray_overlay_mask8 (kernel::lib ptr_lib, int8_t *tomask, const int8_t *theirmask, const int8_t *mymask, int64_t length, bool validwhen)
 
ERROR BitMaskedArray_to_ByteMaskedArray (kernel::lib ptr_lib, int8_t *tobytemask, const uint8_t *frombitmask, int64_t bitmasklength, bool validwhen, bool lsb_order)
 
ERROR BitMaskedArray_to_IndexedOptionArray64 (kernel::lib ptr_lib, int64_t *toindex, const uint8_t *frombitmask, int64_t bitmasklength, bool validwhen, bool lsb_order)
 
ERROR reduce_count_64 (kernel::lib ptr_lib, int64_t *toptr, const int64_t *parents, int64_t lenparents, int64_t outlength)
 
template<typename IN >
ERROR reduce_countnonzero_64 (kernel::lib ptr_lib, int64_t *toptr, const IN *fromptr, const int64_t *parents, int64_t lenparents, int64_t outlength)
 
template<typename OUT , typename IN >
ERROR reduce_sum_64 (kernel::lib ptr_lib, OUT *toptr, const IN *fromptr, const int64_t *parents, int64_t lenparents, int64_t outlength)
 
template<typename IN >
ERROR reduce_sum_bool_64 (kernel::lib ptr_lib, bool *toptr, const IN *fromptr, const int64_t *parents, int64_t lenparents, int64_t outlength)
 
template<typename OUT , typename IN >
ERROR reduce_prod_64 (kernel::lib ptr_lib, OUT *toptr, const IN *fromptr, const int64_t *parents, int64_t lenparents, int64_t outlength)
 
template<typename IN >
ERROR reduce_prod_bool_64 (kernel::lib ptr_lib, bool *toptr, const IN *fromptr, const int64_t *parents, int64_t lenparents, int64_t outlength)
 
template<typename OUT , typename IN >
ERROR reduce_min_64 (kernel::lib ptr_lib, OUT *toptr, const IN *fromptr, const int64_t *parents, int64_t lenparents, int64_t outlength, OUT identity)
 
template<typename OUT , typename IN >
ERROR reduce_max_64 (kernel::lib ptr_lib, OUT *toptr, const IN *fromptr, const int64_t *parents, int64_t lenparents, int64_t outlength, OUT identity)
 
template<typename OUT , typename IN >
ERROR reduce_argmin_64 (kernel::lib ptr_lib, OUT *toptr, const IN *fromptr, const int64_t *parents, int64_t lenparents, int64_t outlength)
 
template<typename OUT , typename IN >
ERROR reduce_argmax_64 (kernel::lib ptr_lib, OUT *toptr, const IN *fromptr, const int64_t *parents, int64_t lenparents, int64_t outlength)
 
ERROR content_reduce_zeroparents_64 (kernel::lib ptr_lib, int64_t *toparents, int64_t length)
 
ERROR ListOffsetArray_reduce_global_startstop_64 (kernel::lib ptr_lib, int64_t *globalstart, int64_t *globalstop, const int64_t *offsets, int64_t length)
 
ERROR ListOffsetArray_reduce_nonlocal_maxcount_offsetscopy_64 (kernel::lib ptr_lib, int64_t *maxcount, int64_t *offsetscopy, const int64_t *offsets, int64_t length)
 
ERROR ListOffsetArray_reduce_nonlocal_preparenext_64 (kernel::lib ptr_lib, int64_t *nextcarry, int64_t *nextparents, int64_t nextlen, int64_t *maxnextparents, int64_t *distincts, int64_t distinctslen, int64_t *offsetscopy, const int64_t *offsets, int64_t length, const int64_t *parents, int64_t maxcount)
 
ERROR ListOffsetArray_reduce_nonlocal_nextstarts_64 (kernel::lib ptr_lib, int64_t *nextstarts, const int64_t *nextparents, int64_t nextlen)
 
ERROR ListOffsetArray_reduce_nonlocal_findgaps_64 (kernel::lib ptr_lib, int64_t *gaps, const int64_t *parents, int64_t lenparents)
 
ERROR ListOffsetArray_reduce_nonlocal_outstartsstops_64 (kernel::lib ptr_lib, int64_t *outstarts, int64_t *outstops, const int64_t *distincts, int64_t lendistincts, const int64_t *gaps, int64_t outlength)
 
ERROR ListOffsetArray_reduce_nonlocal_nextshifts_64 (kernel::lib ptr_lib, int64_t *nummissing, int64_t *missing, int64_t *nextshifts, const int64_t *offsets, int64_t length, const int64_t *starts, const int64_t *parents, int64_t maxcount, int64_t nextlen, const int64_t *nextcarry)
 
ERROR ListOffsetArray_reduce_local_nextparents_64 (kernel::lib ptr_lib, int64_t *nextparents, const int64_t *offsets, int64_t length)
 
ERROR ListOffsetArray_reduce_local_outoffsets_64 (kernel::lib ptr_lib, int64_t *outoffsets, const int64_t *parents, int64_t lenparents, int64_t outlength)
 
template<typename T >
ERROR IndexedArray_reduce_next_64 (kernel::lib ptr_lib, int64_t *nextcarry, int64_t *nextparents, int64_t *outindex, const T *index, int64_t *parents, int64_t length)
 
template<typename T >
ERROR IndexedArray_reduce_next_nonlocal_nextshifts_64 (kernel::lib ptr_lib, int64_t *nextshifts, const T *index, int64_t length)
 
template<typename T >
ERROR IndexedArray_reduce_next_nonlocal_nextshifts_fromshifts_64 (kernel::lib ptr_lib, int64_t *nextshifts, const T *index, int64_t length, const int64_t *shifts)
 
ERROR IndexedArray_reduce_next_fix_offsets_64 (kernel::lib ptr_lib, int64_t *outoffsets, const int64_t *starts, int64_t startslength, int64_t outindexlength)
 
ERROR NumpyArray_reduce_adjust_starts_64 (kernel::lib ptr_lib, int64_t *toptr, int64_t outlength, const int64_t *parents, const int64_t *starts)
 
ERROR NumpyArray_reduce_adjust_starts_shifts_64 (kernel::lib ptr_lib, int64_t *toptr, int64_t outlength, const int64_t *parents, const int64_t *starts, const int64_t *shifts)
 
ERROR NumpyArray_reduce_mask_ByteMaskedArray_64 (kernel::lib ptr_lib, int8_t *toptr, const int64_t *parents, int64_t lenparents, int64_t outlength)
 
ERROR ByteMaskedArray_reduce_next_64 (kernel::lib ptr_lib, int64_t *nextcarry, int64_t *nextparents, int64_t *outindex, const int8_t *mask, const int64_t *parents, int64_t length, bool validwhen)
 
ERROR ByteMaskedArray_reduce_next_nonlocal_nextshifts_64 (kernel::lib ptr_lib, int64_t *nextshifts, const int8_t *mask, int64_t length, bool valid_when)
 
ERROR ByteMaskedArray_reduce_next_nonlocal_nextshifts_fromshifts_64 (kernel::lib ptr_lib, int64_t *nextshifts, const int8_t *mask, int64_t length, bool valid_when, const int64_t *shifts)
 
ERROR sorting_ranges (kernel::lib ptr_lib, int64_t *toindex, int64_t tolength, const int64_t *parents, int64_t parentslength)
 
ERROR sorting_ranges_length (kernel::lib ptr_lib, int64_t *tolength, const int64_t *parents, int64_t parentslength)
 
template<typename T >
ERROR unique (kernel::lib ptr_lib, T *toptr, int64_t length, int64_t *tolength)
 
template<typename T >
ERROR IndexedArray_ranges_next_64 (kernel::lib ptr_lib, const T *index, const int64_t *fromstarts, const int64_t *fromstops, int64_t length, int64_t *tostarts, int64_t *tostops, int64_t *tolength)
 
template<typename T >
ERROR IndexedArray_ranges_carry_next_64 (kernel::lib ptr_lib, const T *index, const int64_t *fromstarts, const int64_t *fromstops, int64_t length, int64_t *tocarry)
 
template<typename T >
ERROR NumpyArray_subrange_equal (kernel::lib ptr_lib, T *tmpptr, const int64_t *fromstarts, const int64_t *fromstops, int64_t length, bool *toequal)
 
template<typename T >
ERROR NumpyArray_quick_sort (kernel::lib ptr_lib, T *tmpptr, int64_t *tmpbeg, int64_t *tmpend, const int64_t *fromstarts, const int64_t *fromstops, bool ascending, int64_t length, int64_t maxlevels)
 
template<typename T >
ERROR NumpyArray_quick_argsort (kernel::lib ptr_lib, int64_t *toptr, const T *fromptr, int64_t length, int64_t *tmpbeg, int64_t *tmpend, const int64_t *offsets, int64_t offsetslength, bool ascending, bool stable, int64_t maxlevels)
 
template<typename T >
ERROR NumpyArray_argsort (kernel::lib ptr_lib, int64_t *toptr, const T *fromptr, int64_t length, const int64_t *offsets, int64_t offsetslength, bool ascending, bool stable)
 
template<typename T >
ERROR NumpyArray_sort (kernel::lib ptr_lib, T *toptr, const T *fromptr, int64_t length, const int64_t *offsets, int64_t offsetslength, int64_t parentslength, bool ascending, bool stable)
 
ERROR ListOffsetArray_argsort_strings (kernel::lib ptr_lib, int64_t *tocarry, const int64_t *fromparents, int64_t length, const uint8_t *stringdata, const int64_t *stringstarts, const int64_t *stringstops, bool is_stable, bool is_ascending, bool is_local)
 
template<typename T >
ERROR NumpyArray_sort_asstrings (kernel::lib ptr_lib, T *toptr, const T *fromptr, const int64_t *offsets, int64_t offsetslength, int64_t *outoffsets, bool ascending, bool stable)
 
template<typename T >
ERROR NumpyArray_unique_strings (kernel::lib ptr_lib, T *toptr, const int64_t *offsets, int64_t offsetslength, int64_t *outoffsets, int64_t *tolength)
 
ERROR ListOffsetArray_local_preparenext_64 (kernel::lib ptr_lib, int64_t *tocarry, const int64_t *fromindex, int64_t length)
 
ERROR IndexedArray_local_preparenext_64 (kernel::lib ptr_lib, int64_t *tocarry, const int64_t *starts, const int64_t *parents, const int64_t parentslength, const int64_t *nextparents, const int64_t nextlen)
 

Variables

std::shared_ptr< LibraryCallbacklib_callback
 

Enumeration Type Documentation

◆ lib

enum lib
strong
Enumerator
cpu 
cuda 
size 

Function Documentation

◆ acquire_handle()

void* awkward::kernel::acquire_handle ( kernel::lib  ptr_lib)

Internal utility function to return an opaque ptr if an handle is acquired for the specified ptr_lib. If not, then it raises an appropriate exception.

◆ acquire_symbol()

void* awkward::kernel::acquire_symbol ( void *  handle,
const std::string &  symbol_name 
)

Internal utility function to return an opaque ptr if an symbol is found for the corresponding handle. If not, then it raises an appropriate exception.

◆ BitMaskedArray_to_ByteMaskedArray()

ERROR awkward::kernel::BitMaskedArray_to_ByteMaskedArray ( kernel::lib  ptr_lib,
int8_t *  tobytemask,
const uint8_t *  frombitmask,
int64_t  bitmasklength,
bool  validwhen,
bool  lsb_order 
)

◆ BitMaskedArray_to_IndexedOptionArray64()

ERROR awkward::kernel::BitMaskedArray_to_IndexedOptionArray64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
const uint8_t *  frombitmask,
int64_t  bitmasklength,
bool  validwhen,
bool  lsb_order 
)

◆ ByteMaskedArray_getitem_carry_64()

ERROR awkward::kernel::ByteMaskedArray_getitem_carry_64 ( kernel::lib  ptr_lib,
int8_t *  tomask,
const int8_t *  frommask,
int64_t  lenmask,
const int64_t *  fromcarry,
int64_t  lencarry 
)

◆ ByteMaskedArray_getitem_nextcarry_64()

ERROR awkward::kernel::ByteMaskedArray_getitem_nextcarry_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
const int8_t *  mask,
int64_t  length,
bool  validwhen 
)

◆ ByteMaskedArray_getitem_nextcarry_outindex_64()

ERROR awkward::kernel::ByteMaskedArray_getitem_nextcarry_outindex_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
int64_t *  toindex,
const int8_t *  mask,
int64_t  length,
bool  validwhen 
)

◆ ByteMaskedArray_mask8()

ERROR awkward::kernel::ByteMaskedArray_mask8 ( kernel::lib  ptr_lib,
int8_t *  tomask,
const int8_t *  frommask,
int64_t  length,
bool  validwhen 
)

◆ ByteMaskedArray_numnull()

ERROR awkward::kernel::ByteMaskedArray_numnull ( kernel::lib  ptr_lib,
int64_t *  numnull,
const int8_t *  mask,
int64_t  length,
bool  validwhen 
)

◆ ByteMaskedArray_overlay_mask8()

ERROR awkward::kernel::ByteMaskedArray_overlay_mask8 ( kernel::lib  ptr_lib,
int8_t *  tomask,
const int8_t *  theirmask,
const int8_t *  mymask,
int64_t  length,
bool  validwhen 
)

◆ ByteMaskedArray_reduce_next_64()

ERROR awkward::kernel::ByteMaskedArray_reduce_next_64 ( kernel::lib  ptr_lib,
int64_t *  nextcarry,
int64_t *  nextparents,
int64_t *  outindex,
const int8_t *  mask,
const int64_t *  parents,
int64_t  length,
bool  validwhen 
)

◆ ByteMaskedArray_reduce_next_nonlocal_nextshifts_64()

ERROR awkward::kernel::ByteMaskedArray_reduce_next_nonlocal_nextshifts_64 ( kernel::lib  ptr_lib,
int64_t *  nextshifts,
const int8_t *  mask,
int64_t  length,
bool  valid_when 
)

◆ ByteMaskedArray_reduce_next_nonlocal_nextshifts_fromshifts_64()

ERROR awkward::kernel::ByteMaskedArray_reduce_next_nonlocal_nextshifts_fromshifts_64 ( kernel::lib  ptr_lib,
int64_t *  nextshifts,
const int8_t *  mask,
int64_t  length,
bool  valid_when,
const int64_t *  shifts 
)

◆ ByteMaskedArray_toIndexedOptionArray64()

ERROR awkward::kernel::ByteMaskedArray_toIndexedOptionArray64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
const int8_t *  mask,
int64_t  length,
bool  validwhen 
)

◆ carry_arange()

ERROR awkward::kernel::carry_arange ( kernel::lib  ptr_lib,
T *  toptr,
int64_t  length 
)

◆ combinations()

ERROR awkward::kernel::combinations ( kernel::lib  ptr_lib,
T *  toindex,
int64_t  n,
bool  replacement,
int64_t  singlelen 
)

◆ Content_getitem_next_missing_jagged_getmaskstartstop()

ERROR awkward::kernel::Content_getitem_next_missing_jagged_getmaskstartstop ( kernel::lib  ptr_lib,
int64_t *  index_in,
int64_t *  offsets_in,
int64_t *  mask_out,
int64_t *  starts_out,
int64_t *  stops_out,
int64_t  length 
)

◆ content_reduce_zeroparents_64()

ERROR awkward::kernel::content_reduce_zeroparents_64 ( kernel::lib  ptr_lib,
int64_t *  toparents,
int64_t  length 
)

◆ copy_to()

ERROR awkward::kernel::copy_to ( kernel::lib  to_lib,
kernel::lib  from_lib,
void *  to_ptr,
void *  from_ptr,
int64_t  bytelength 
)

Internal Function an array buffer from library FROM to library TO, usually between main memory and a GPU.

Note
This function has not been implemented to handle Multi-GPU setups.

◆ fully_qualified_cache_key()

const std::string awkward::kernel::fully_qualified_cache_key ( kernel::lib  ptr_lib,
const std::string &  cache_key 
)

FIXME.

◆ Identities_extend()

ERROR awkward::kernel::Identities_extend ( kernel::lib  ptr_lib,
ID *  toptr,
const ID *  fromptr,
int64_t  fromlength,
int64_t  tolength 
)

◆ Identities_from_IndexedArray()

ERROR awkward::kernel::Identities_from_IndexedArray ( kernel::lib  ptr_lib,
bool *  uniquecontents,
C *  toptr,
const C *  fromptr,
const T *  fromindex,
int64_t  tolength,
int64_t  fromlength,
int64_t  fromwidth 
)

◆ Identities_from_ListArray()

ERROR awkward::kernel::Identities_from_ListArray ( kernel::lib  ptr_lib,
bool *  uniquecontents,
C *  toptr,
const C *  fromptr,
const T *  fromstarts,
const T *  fromstops,
int64_t  tolength,
int64_t  fromlength,
int64_t  fromwidth 
)

◆ Identities_from_ListOffsetArray()

ERROR awkward::kernel::Identities_from_ListOffsetArray ( kernel::lib  ptr_lib,
C *  toptr,
const C *  fromptr,
const T *  fromoffsets,
int64_t  tolength,
int64_t  fromlength,
int64_t  fromwidth 
)

◆ Identities_from_RegularArray()

ERROR awkward::kernel::Identities_from_RegularArray ( kernel::lib  ptr_lib,
ID *  toptr,
const ID *  fromptr,
int64_t  size,
int64_t  tolength,
int64_t  fromlength,
int64_t  fromwidth 
)

◆ Identities_from_UnionArray()

ERROR awkward::kernel::Identities_from_UnionArray ( kernel::lib  ptr_lib,
bool *  uniquecontents,
C *  toptr,
const C *  fromptr,
const T *  fromtags,
const I *  fromindex,
int64_t  tolength,
int64_t  fromlength,
int64_t  fromwidth,
int64_t  which 
)

◆ Identities_getitem_carry_64()

ERROR awkward::kernel::Identities_getitem_carry_64 ( kernel::lib  ptr_lib,
ID *  newidentitiesptr,
const ID *  identitiesptr,
const int64_t *  carryptr,
int64_t  lencarry,
int64_t  width,
int64_t  length 
)

◆ Identities_to_Identities64()

ERROR awkward::kernel::Identities_to_Identities64 ( kernel::lib  ptr_lib,
int64_t *  toptr,
const T *  fromptr,
int64_t  length,
int64_t  width 
)

◆ Index_carry_64()

ERROR awkward::kernel::Index_carry_64 ( kernel::lib  ptr_lib,
T *  toindex,
const T *  fromindex,
const int64_t *  carry,
int64_t  lenfromindex,
int64_t  length 
)

◆ Index_carry_nocheck_64()

ERROR awkward::kernel::Index_carry_nocheck_64 ( kernel::lib  ptr_lib,
T *  toindex,
const T *  fromindex,
const int64_t *  carry,
int64_t  length 
)

◆ index_getitem_at_nowrap()

T awkward::kernel::index_getitem_at_nowrap ( kernel::lib  ptr_lib,
T *  ptr,
int64_t  at 
)

◆ Index_iscontiguous()

ERROR awkward::kernel::Index_iscontiguous ( kernel::lib  ptr_lib,
bool *  result,
const T *  fromindex,
int64_t  length 
)

◆ Index_nones_as_index_64()

ERROR awkward::kernel::Index_nones_as_index_64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
int64_t  length 
)

◆ index_rpad_and_clip_axis0_64()

ERROR awkward::kernel::index_rpad_and_clip_axis0_64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
int64_t  target,
int64_t  length 
)

◆ index_rpad_and_clip_axis1_64()

ERROR awkward::kernel::index_rpad_and_clip_axis1_64 ( kernel::lib  ptr_lib,
int64_t *  tostarts,
int64_t *  tostops,
int64_t  target,
int64_t  length 
)

◆ index_setitem_at_nowrap()

void awkward::kernel::index_setitem_at_nowrap ( kernel::lib  ptr_lib,
T *  ptr,
int64_t  at,
value 
)

◆ Index_to_Index64()

ERROR awkward::kernel::Index_to_Index64 ( kernel::lib  ptr_lib,
int64_t *  toptr,
const T *  fromptr,
int64_t  length 
)

◆ IndexedArray_fill()

ERROR awkward::kernel::IndexedArray_fill ( kernel::lib  ptr_lib,
TO *  toindex,
int64_t  toindexoffset,
const FROM *  fromindex,
int64_t  length,
int64_t  base 
)

◆ IndexedArray_fill_to64_count()

ERROR awkward::kernel::IndexedArray_fill_to64_count ( kernel::lib  ptr_lib,
int64_t *  toindex,
int64_t  toindexoffset,
int64_t  length,
int64_t  base 
)

◆ IndexedArray_flatten_nextcarry_64()

ERROR awkward::kernel::IndexedArray_flatten_nextcarry_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
const T *  fromindex,
int64_t  lenindex,
int64_t  lencontent 
)

◆ IndexedArray_flatten_none2empty_64()

ERROR awkward::kernel::IndexedArray_flatten_none2empty_64 ( kernel::lib  ptr_lib,
int64_t *  outoffsets,
const T *  outindex,
int64_t  outindexlength,
const int64_t *  offsets,
int64_t  offsetslength 
)

◆ IndexedArray_getitem_adjust_outindex_64()

ERROR awkward::kernel::IndexedArray_getitem_adjust_outindex_64 ( kernel::lib  ptr_lib,
int8_t *  tomask,
int64_t *  toindex,
int64_t *  tononzero,
const int64_t *  fromindex,
int64_t  fromindexlength,
const int64_t *  nonzero,
int64_t  nonzerolength 
)

◆ IndexedArray_getitem_carry_64()

ERROR awkward::kernel::IndexedArray_getitem_carry_64 ( kernel::lib  ptr_lib,
T *  toindex,
const T *  fromindex,
const int64_t *  fromcarry,
int64_t  lenindex,
int64_t  lencarry 
)

◆ IndexedArray_getitem_nextcarry_64()

ERROR awkward::kernel::IndexedArray_getitem_nextcarry_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
const T *  fromindex,
int64_t  lenindex,
int64_t  lencontent 
)

◆ IndexedArray_getitem_nextcarry_outindex_64()

ERROR awkward::kernel::IndexedArray_getitem_nextcarry_outindex_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
T *  toindex,
const T *  fromindex,
int64_t  lenindex,
int64_t  lencontent 
)

◆ IndexedArray_getitem_nextcarry_outindex_mask_64()

ERROR awkward::kernel::IndexedArray_getitem_nextcarry_outindex_mask_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
int64_t *  toindex,
const T *  fromindex,
int64_t  lenindex,
int64_t  lencontent 
)

◆ IndexedArray_index_of_nulls()

ERROR awkward::kernel::IndexedArray_index_of_nulls ( kernel::lib  ptr_lib,
int64_t *  toindex,
const T *  fromindex,
int64_t  lenindex,
const int64_t *  parents,
const int64_t *  starts 
)

◆ IndexedArray_local_preparenext_64()

ERROR awkward::kernel::IndexedArray_local_preparenext_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
const int64_t *  starts,
const int64_t *  parents,
const int64_t  parentslength,
const int64_t *  nextparents,
const int64_t  nextlen 
)

◆ IndexedArray_mask8()

ERROR awkward::kernel::IndexedArray_mask8 ( kernel::lib  ptr_lib,
int8_t *  tomask,
const T *  fromindex,
int64_t  length 
)

◆ IndexedArray_numnull()

ERROR awkward::kernel::IndexedArray_numnull ( kernel::lib  ptr_lib,
int64_t *  numnull,
const T *  fromindex,
int64_t  lenindex 
)

◆ IndexedArray_overlay_mask8_to64()

ERROR awkward::kernel::IndexedArray_overlay_mask8_to64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
const int8_t *  mask,
const T *  fromindex,
int64_t  length 
)

◆ IndexedArray_ranges_carry_next_64()

ERROR awkward::kernel::IndexedArray_ranges_carry_next_64 ( kernel::lib  ptr_lib,
const T *  index,
const int64_t *  fromstarts,
const int64_t *  fromstops,
int64_t  length,
int64_t *  tocarry 
)

◆ IndexedArray_ranges_next_64()

ERROR awkward::kernel::IndexedArray_ranges_next_64 ( kernel::lib  ptr_lib,
const T *  index,
const int64_t *  fromstarts,
const int64_t *  fromstops,
int64_t  length,
int64_t *  tostarts,
int64_t *  tostops,
int64_t *  tolength 
)

◆ IndexedArray_reduce_next_64()

ERROR awkward::kernel::IndexedArray_reduce_next_64 ( kernel::lib  ptr_lib,
int64_t *  nextcarry,
int64_t *  nextparents,
int64_t *  outindex,
const T *  index,
int64_t *  parents,
int64_t  length 
)

◆ IndexedArray_reduce_next_fix_offsets_64()

ERROR awkward::kernel::IndexedArray_reduce_next_fix_offsets_64 ( kernel::lib  ptr_lib,
int64_t *  outoffsets,
const int64_t *  starts,
int64_t  startslength,
int64_t  outindexlength 
)

◆ IndexedArray_reduce_next_nonlocal_nextshifts_64()

ERROR awkward::kernel::IndexedArray_reduce_next_nonlocal_nextshifts_64 ( kernel::lib  ptr_lib,
int64_t *  nextshifts,
const T *  index,
int64_t  length 
)

◆ IndexedArray_reduce_next_nonlocal_nextshifts_fromshifts_64()

ERROR awkward::kernel::IndexedArray_reduce_next_nonlocal_nextshifts_fromshifts_64 ( kernel::lib  ptr_lib,
int64_t *  nextshifts,
const T *  index,
int64_t  length,
const int64_t *  shifts 
)

◆ IndexedArray_simplify32_to64()

ERROR awkward::kernel::IndexedArray_simplify32_to64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
const T *  outerindex,
int64_t  outerlength,
const int32_t *  innerindex,
int64_t  innerlength 
)

◆ IndexedArray_simplify64_to64()

ERROR awkward::kernel::IndexedArray_simplify64_to64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
const T *  outerindex,
int64_t  outerlength,
const int64_t *  innerindex,
int64_t  innerlength 
)

◆ IndexedArray_simplifyU32_to64()

ERROR awkward::kernel::IndexedArray_simplifyU32_to64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
const T *  outerindex,
int64_t  outerlength,
const uint32_t *  innerindex,
int64_t  innerlength 
)

◆ IndexedArray_validity()

ERROR awkward::kernel::IndexedArray_validity ( kernel::lib  ptr_lib,
const T *  index,
int64_t  length,
int64_t  lencontent,
bool  isoption 
)

◆ IndexedOptionArray_rpad_and_clip_mask_axis1_64()

ERROR awkward::kernel::IndexedOptionArray_rpad_and_clip_mask_axis1_64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
const int8_t *  frommask,
int64_t  length 
)

◆ lib_device_num()

const int64_t awkward::kernel::lib_device_num ( kernel::lib  ptr_lib,
void *  ptr 
)

Returns the number of the device associated with the pointer.

◆ lib_tostring()

const std::string awkward::kernel::lib_tostring ( kernel::lib  ptr_lib,
void *  ptr,
const std::string &  indent,
const std::string &  pre,
const std::string &  post 
)

Produces a <Lib> element for 'tostring' to indicate the kernel library.

◆ ListArray_broadcast_tooffsets_64()

ERROR awkward::kernel::ListArray_broadcast_tooffsets_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
const int64_t *  fromoffsets,
int64_t  offsetslength,
const T *  fromstarts,
const T *  fromstops,
int64_t  lencontent 
)

◆ ListArray_combinations_64()

ERROR awkward::kernel::ListArray_combinations_64 ( kernel::lib  ptr_lib,
int64_t **  tocarry,
int64_t *  toindex,
int64_t *  fromindex,
int64_t  n,
bool  replacement,
const T *  starts,
const T *  stops,
int64_t  length 
)

◆ ListArray_combinations_length_64()

ERROR awkward::kernel::ListArray_combinations_length_64 ( kernel::lib  ptr_lib,
int64_t *  totallen,
int64_t *  tooffsets,
int64_t  n,
bool  replacement,
const T *  starts,
const T *  stops,
int64_t  length 
)

◆ ListArray_compact_offsets_64()

ERROR awkward::kernel::ListArray_compact_offsets_64 ( kernel::lib  ptr_lib,
int64_t *  tooffsets,
const T *  fromstarts,
const T *  fromstops,
int64_t  length 
)

◆ ListArray_fill()

ERROR awkward::kernel::ListArray_fill ( kernel::lib  ptr_lib,
TO *  tostarts,
int64_t  tostartsoffset,
TO *  tostops,
int64_t  tostopsoffset,
const FROM *  fromstarts,
const FROM *  fromstops,
int64_t  length,
int64_t  base 
)

◆ ListArray_getitem_carry_64()

ERROR awkward::kernel::ListArray_getitem_carry_64 ( kernel::lib  ptr_lib,
T *  tostarts,
T *  tostops,
const T *  fromstarts,
const T *  fromstops,
const int64_t *  fromcarry,
int64_t  lenstarts,
int64_t  lencarry 
)

◆ ListArray_getitem_jagged_apply_64()

ERROR awkward::kernel::ListArray_getitem_jagged_apply_64 ( kernel::lib  ptr_lib,
int64_t *  tooffsets,
int64_t *  tocarry,
const int64_t *  slicestarts,
const int64_t *  slicestops,
int64_t  sliceouterlen,
const int64_t *  sliceindex,
int64_t  sliceinnerlen,
const T *  fromstarts,
const T *  fromstops,
int64_t  contentlen 
)

◆ ListArray_getitem_jagged_carrylen_64()

ERROR awkward::kernel::ListArray_getitem_jagged_carrylen_64 ( kernel::lib  ptr_lib,
int64_t *  carrylen,
const int64_t *  slicestarts,
const int64_t *  slicestops,
int64_t  sliceouterlen 
)

◆ ListArray_getitem_jagged_descend_64()

ERROR awkward::kernel::ListArray_getitem_jagged_descend_64 ( kernel::lib  ptr_lib,
int64_t *  tooffsets,
const int64_t *  slicestarts,
const int64_t *  slicestops,
int64_t  sliceouterlen,
const T *  fromstarts,
const T *  fromstops 
)

◆ ListArray_getitem_jagged_expand_64()

ERROR awkward::kernel::ListArray_getitem_jagged_expand_64 ( kernel::lib  ptr_lib,
int64_t *  multistarts,
int64_t *  multistops,
const int64_t *  singleoffsets,
int64_t *  tocarry,
const T *  fromstarts,
const T *  fromstops,
int64_t  jaggedsize,
int64_t  length 
)

◆ ListArray_getitem_jagged_numvalid_64()

ERROR awkward::kernel::ListArray_getitem_jagged_numvalid_64 ( kernel::lib  ptr_lib,
int64_t *  numvalid,
const int64_t *  slicestarts,
const int64_t *  slicestops,
int64_t  length,
const int64_t *  missing,
int64_t  missinglength 
)

◆ ListArray_getitem_jagged_shrink_64()

ERROR awkward::kernel::ListArray_getitem_jagged_shrink_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
int64_t *  tosmalloffsets,
int64_t *  tolargeoffsets,
const int64_t *  slicestarts,
const int64_t *  slicestops,
int64_t  length,
const int64_t *  missing 
)

◆ ListArray_getitem_next_array_64()

ERROR awkward::kernel::ListArray_getitem_next_array_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
int64_t *  toadvanced,
const T *  fromstarts,
const T *  fromstops,
const int64_t *  fromarray,
int64_t  lenstarts,
int64_t  lenarray,
int64_t  lencontent 
)

◆ ListArray_getitem_next_array_advanced_64()

ERROR awkward::kernel::ListArray_getitem_next_array_advanced_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
int64_t *  toadvanced,
const T *  fromstarts,
const T *  fromstops,
const int64_t *  fromarray,
const int64_t *  fromadvanced,
int64_t  lenstarts,
int64_t  lenarray,
int64_t  lencontent 
)

◆ ListArray_getitem_next_at_64()

ERROR awkward::kernel::ListArray_getitem_next_at_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
const T *  fromstarts,
const T *  fromstops,
int64_t  lenstarts,
int64_t  at 
)

◆ ListArray_getitem_next_range_64()

ERROR awkward::kernel::ListArray_getitem_next_range_64 ( kernel::lib  ptr_lib,
T *  tooffsets,
int64_t *  tocarry,
const T *  fromstarts,
const T *  fromstops,
int64_t  lenstarts,
int64_t  start,
int64_t  stop,
int64_t  step 
)

◆ ListArray_getitem_next_range_carrylength()

ERROR awkward::kernel::ListArray_getitem_next_range_carrylength ( kernel::lib  ptr_lib,
int64_t *  carrylength,
const T *  fromstarts,
const T *  fromstops,
int64_t  lenstarts,
int64_t  start,
int64_t  stop,
int64_t  step 
)

◆ ListArray_getitem_next_range_counts_64()

ERROR awkward::kernel::ListArray_getitem_next_range_counts_64 ( kernel::lib  ptr_lib,
int64_t *  total,
const T *  fromoffsets,
int64_t  lenstarts 
)

◆ ListArray_getitem_next_range_spreadadvanced_64()

ERROR awkward::kernel::ListArray_getitem_next_range_spreadadvanced_64 ( kernel::lib  ptr_lib,
int64_t *  toadvanced,
const int64_t *  fromadvanced,
const T *  fromoffsets,
int64_t  lenstarts 
)

◆ ListArray_localindex_64()

ERROR awkward::kernel::ListArray_localindex_64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
const T *  offsets,
int64_t  length 
)

◆ ListArray_min_range()

ERROR awkward::kernel::ListArray_min_range ( kernel::lib  ptr_lib,
int64_t *  tomin,
const T *  fromstarts,
const T *  fromstops,
int64_t  lenstarts 
)

◆ ListArray_num_64()

ERROR awkward::kernel::ListArray_num_64 ( kernel::lib  ptr_lib,
int64_t *  tonum,
const T *  fromstarts,
const T *  fromstops,
int64_t  length 
)

◆ ListArray_rpad_and_clip_length_axis1()

ERROR awkward::kernel::ListArray_rpad_and_clip_length_axis1 ( kernel::lib  ptr_lib,
int64_t *  tolength,
const T *  fromstarts,
const T *  fromstops,
int64_t  target,
int64_t  lenstarts 
)

◆ ListArray_rpad_axis1_64()

ERROR awkward::kernel::ListArray_rpad_axis1_64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
const T *  fromstarts,
const T *  fromstops,
T *  tostarts,
T *  tostops,
int64_t  target,
int64_t  length 
)

◆ ListArray_validity()

ERROR awkward::kernel::ListArray_validity ( kernel::lib  ptr_lib,
const T *  starts,
const T *  stops,
int64_t  length,
int64_t  lencontent 
)

◆ ListOffsetArray_argsort_strings()

ERROR awkward::kernel::ListOffsetArray_argsort_strings ( kernel::lib  ptr_lib,
int64_t *  tocarry,
const int64_t *  fromparents,
int64_t  length,
const uint8_t *  stringdata,
const int64_t *  stringstarts,
const int64_t *  stringstops,
bool  is_stable,
bool  is_ascending,
bool  is_local 
)

◆ ListOffsetArray_compact_offsets_64()

ERROR awkward::kernel::ListOffsetArray_compact_offsets_64 ( kernel::lib  ptr_lib,
int64_t *  tooffsets,
const T *  fromoffsets,
int64_t  length 
)

◆ ListOffsetArray_flatten_offsets_64()

ERROR awkward::kernel::ListOffsetArray_flatten_offsets_64 ( kernel::lib  ptr_lib,
int64_t *  tooffsets,
const T *  outeroffsets,
int64_t  outeroffsetslen,
const int64_t *  inneroffsets,
int64_t  inneroffsetslen 
)

◆ ListOffsetArray_getitem_adjust_offsets_64()

ERROR awkward::kernel::ListOffsetArray_getitem_adjust_offsets_64 ( kernel::lib  ptr_lib,
int64_t *  tooffsets,
int64_t *  tononzero,
const int64_t *  fromoffsets,
int64_t  length,
const int64_t *  nonzero,
int64_t  nonzerolength 
)

◆ ListOffsetArray_getitem_adjust_offsets_index_64()

ERROR awkward::kernel::ListOffsetArray_getitem_adjust_offsets_index_64 ( kernel::lib  ptr_lib,
int64_t *  tooffsets,
int64_t *  tononzero,
const int64_t *  fromoffsets,
int64_t  length,
const int64_t *  index,
int64_t  indexlength,
const int64_t *  nonzero,
int64_t  nonzerolength,
const int8_t *  originalmask,
int64_t  masklength 
)

◆ ListOffsetArray_local_preparenext_64()

ERROR awkward::kernel::ListOffsetArray_local_preparenext_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
const int64_t *  fromindex,
int64_t  length 
)

◆ ListOffsetArray_reduce_global_startstop_64()

ERROR awkward::kernel::ListOffsetArray_reduce_global_startstop_64 ( kernel::lib  ptr_lib,
int64_t *  globalstart,
int64_t *  globalstop,
const int64_t *  offsets,
int64_t  length 
)

◆ ListOffsetArray_reduce_local_nextparents_64()

ERROR awkward::kernel::ListOffsetArray_reduce_local_nextparents_64 ( kernel::lib  ptr_lib,
int64_t *  nextparents,
const int64_t *  offsets,
int64_t  length 
)

◆ ListOffsetArray_reduce_local_outoffsets_64()

ERROR awkward::kernel::ListOffsetArray_reduce_local_outoffsets_64 ( kernel::lib  ptr_lib,
int64_t *  outoffsets,
const int64_t *  parents,
int64_t  lenparents,
int64_t  outlength 
)

◆ ListOffsetArray_reduce_nonlocal_findgaps_64()

ERROR awkward::kernel::ListOffsetArray_reduce_nonlocal_findgaps_64 ( kernel::lib  ptr_lib,
int64_t *  gaps,
const int64_t *  parents,
int64_t  lenparents 
)

◆ ListOffsetArray_reduce_nonlocal_maxcount_offsetscopy_64()

ERROR awkward::kernel::ListOffsetArray_reduce_nonlocal_maxcount_offsetscopy_64 ( kernel::lib  ptr_lib,
int64_t *  maxcount,
int64_t *  offsetscopy,
const int64_t *  offsets,
int64_t  length 
)

◆ ListOffsetArray_reduce_nonlocal_nextshifts_64()

ERROR awkward::kernel::ListOffsetArray_reduce_nonlocal_nextshifts_64 ( kernel::lib  ptr_lib,
int64_t *  nummissing,
int64_t *  missing,
int64_t *  nextshifts,
const int64_t *  offsets,
int64_t  length,
const int64_t *  starts,
const int64_t *  parents,
int64_t  maxcount,
int64_t  nextlen,
const int64_t *  nextcarry 
)

◆ ListOffsetArray_reduce_nonlocal_nextstarts_64()

ERROR awkward::kernel::ListOffsetArray_reduce_nonlocal_nextstarts_64 ( kernel::lib  ptr_lib,
int64_t *  nextstarts,
const int64_t *  nextparents,
int64_t  nextlen 
)

◆ ListOffsetArray_reduce_nonlocal_outstartsstops_64()

ERROR awkward::kernel::ListOffsetArray_reduce_nonlocal_outstartsstops_64 ( kernel::lib  ptr_lib,
int64_t *  outstarts,
int64_t *  outstops,
const int64_t *  distincts,
int64_t  lendistincts,
const int64_t *  gaps,
int64_t  outlength 
)

◆ ListOffsetArray_reduce_nonlocal_preparenext_64()

ERROR awkward::kernel::ListOffsetArray_reduce_nonlocal_preparenext_64 ( kernel::lib  ptr_lib,
int64_t *  nextcarry,
int64_t *  nextparents,
int64_t  nextlen,
int64_t *  maxnextparents,
int64_t *  distincts,
int64_t  distinctslen,
int64_t *  offsetscopy,
const int64_t *  offsets,
int64_t  length,
const int64_t *  parents,
int64_t  maxcount 
)

◆ ListOffsetArray_rpad_and_clip_axis1_64()

ERROR awkward::kernel::ListOffsetArray_rpad_and_clip_axis1_64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
const T *  fromoffsets,
int64_t  length,
int64_t  target 
)

◆ ListOffsetArray_rpad_axis1_64()

ERROR awkward::kernel::ListOffsetArray_rpad_axis1_64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
const T *  fromoffsets,
int64_t  fromlength,
int64_t  target 
)

◆ ListOffsetArray_rpad_length_axis1()

ERROR awkward::kernel::ListOffsetArray_rpad_length_axis1 ( kernel::lib  ptr_lib,
T *  tooffsets,
const T *  fromoffsets,
int64_t  fromlength,
int64_t  target,
int64_t *  tolength 
)

◆ ListOffsetArray_toRegularArray()

ERROR awkward::kernel::ListOffsetArray_toRegularArray ( kernel::lib  ptr_lib,
int64_t *  size,
const T *  fromoffsets,
int64_t  offsetslength 
)

◆ localindex_64()

ERROR awkward::kernel::localindex_64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
int64_t  length 
)

◆ malloc()

std::shared_ptr<T> awkward::kernel::malloc ( kernel::lib  ptr_lib,
int64_t  bytelength 
)

Internal Function to allocate an empty array of a given length with a given type. The bytelength parameter is the number of bytes, so be sure to multiply by sizeof(...) when using this function.

Note
This function has not been implemented to handle Multi-GPU setups.

◆ MaskedArray_getitem_next_jagged_project()

ERROR awkward::kernel::MaskedArray_getitem_next_jagged_project ( kernel::lib  ptr_lib,
T *  index,
int64_t *  starts_in,
int64_t *  stops_in,
int64_t *  starts_out,
int64_t *  stops_out,
int64_t  length 
)

◆ missing_repeat_64()

ERROR awkward::kernel::missing_repeat_64 ( kernel::lib  ptr_lib,
int64_t *  outindex,
const int64_t *  index,
int64_t  indexlength,
int64_t  repetitions,
int64_t  regularsize 
)

◆ new_Identities()

ERROR awkward::kernel::new_Identities ( kernel::lib  ptr_lib,
T *  toptr,
int64_t  length 
)

◆ NumpyArray_argsort()

ERROR awkward::kernel::NumpyArray_argsort ( kernel::lib  ptr_lib,
int64_t *  toptr,
const T *  fromptr,
int64_t  length,
const int64_t *  offsets,
int64_t  offsetslength,
bool  ascending,
bool  stable 
)

◆ NumpyArray_contiguous_copy_64()

ERROR awkward::kernel::NumpyArray_contiguous_copy_64 ( kernel::lib  ptr_lib,
uint8_t *  toptr,
const uint8_t *  fromptr,
int64_t  len,
int64_t  stride,
const int64_t *  pos 
)

◆ NumpyArray_contiguous_copy_from_many_64()

ERROR awkward::kernel::NumpyArray_contiguous_copy_from_many_64 ( kernel::lib  ptr_lib,
uint8_t *  toptr,
const uint8_t **  fromptrs,
int64_t *  fromlens,
int64_t  len,
int64_t  stride,
const int64_t *  pos 
)

◆ NumpyArray_contiguous_init_64()

ERROR awkward::kernel::NumpyArray_contiguous_init_64 ( kernel::lib  ptr_lib,
int64_t *  toptr,
int64_t  skip,
int64_t  stride 
)

◆ NumpyArray_contiguous_next_64()

ERROR awkward::kernel::NumpyArray_contiguous_next_64 ( kernel::lib  ptr_lib,
int64_t *  topos,
const int64_t *  frompos,
int64_t  len,
int64_t  skip,
int64_t  stride 
)

◆ NumpyArray_copy()

ERROR awkward::kernel::NumpyArray_copy ( kernel::lib  ptr_lib,
uint8_t *  toptr,
const uint8_t *  fromptr,
int64_t  len 
)

◆ NumpyArray_fill()

ERROR awkward::kernel::NumpyArray_fill ( kernel::lib  ptr_lib,
TO *  toptr,
int64_t  tooffset,
const FROM *  fromptr,
int64_t  length 
)

◆ NumpyArray_fill_frombool()

ERROR awkward::kernel::NumpyArray_fill_frombool ( kernel::lib  ptr_lib,
TO *  toptr,
int64_t  tooffset,
const bool *  fromptr,
int64_t  length 
)

◆ NumpyArray_fill_fromcomplex()

ERROR awkward::kernel::NumpyArray_fill_fromcomplex ( kernel::lib  ptr_lib,
TO *  toptr,
int64_t  tooffset,
const FROM *  fromptr,
int64_t  length 
)

◆ NumpyArray_fill_scaled()

ERROR awkward::kernel::NumpyArray_fill_scaled ( kernel::lib  ptr_lib,
TO *  toptr,
int64_t  tooffset,
const FROM *  fromptr,
int64_t  length,
double  scale 
)

◆ NumpyArray_fill_tocomplex()

ERROR awkward::kernel::NumpyArray_fill_tocomplex ( kernel::lib  ptr_lib,
TO *  toptr,
int64_t  tooffset,
const FROM *  fromptr,
int64_t  length 
)

◆ NumpyArray_fill_tocomplex_frombool()

ERROR awkward::kernel::NumpyArray_fill_tocomplex_frombool ( kernel::lib  ptr_lib,
TO *  toptr,
int64_t  tooffset,
const bool *  fromptr,
int64_t  length 
)

◆ NumpyArray_getitem_at0()

T awkward::kernel::NumpyArray_getitem_at0 ( kernel::lib  ptr_lib,
T *  ptr 
)

Internal utility kernel to avoid raw pointer access.

◆ NumpyArray_getitem_boolean_nonzero_64()

ERROR awkward::kernel::NumpyArray_getitem_boolean_nonzero_64 ( kernel::lib  ptr_lib,
int64_t *  toptr,
const int8_t *  fromptr,
int64_t  length,
int64_t  stride 
)

◆ NumpyArray_getitem_boolean_numtrue()

ERROR awkward::kernel::NumpyArray_getitem_boolean_numtrue ( kernel::lib  ptr_lib,
int64_t *  numtrue,
const int8_t *  fromptr,
int64_t  length,
int64_t  stride 
)

◆ NumpyArray_getitem_next_array_64()

ERROR awkward::kernel::NumpyArray_getitem_next_array_64 ( kernel::lib  ptr_lib,
int64_t *  nextcarryptr,
int64_t *  nextadvancedptr,
const int64_t *  carryptr,
const int64_t *  flatheadptr,
int64_t  lencarry,
int64_t  lenflathead,
int64_t  skip 
)

◆ NumpyArray_getitem_next_array_advanced_64()

ERROR awkward::kernel::NumpyArray_getitem_next_array_advanced_64 ( kernel::lib  ptr_lib,
int64_t *  nextcarryptr,
const int64_t *  carryptr,
const int64_t *  advancedptr,
const int64_t *  flatheadptr,
int64_t  lencarry,
int64_t  skip 
)

◆ NumpyArray_getitem_next_at_64()

ERROR awkward::kernel::NumpyArray_getitem_next_at_64 ( kernel::lib  ptr_lib,
int64_t *  nextcarryptr,
const int64_t *  carryptr,
int64_t  lencarry,
int64_t  skip,
int64_t  at 
)

◆ NumpyArray_getitem_next_null_64()

ERROR awkward::kernel::NumpyArray_getitem_next_null_64 ( kernel::lib  ptr_lib,
uint8_t *  toptr,
const uint8_t *  fromptr,
int64_t  len,
int64_t  stride,
const int64_t *  pos 
)

◆ NumpyArray_getitem_next_range_64()

ERROR awkward::kernel::NumpyArray_getitem_next_range_64 ( kernel::lib  ptr_lib,
int64_t *  nextcarryptr,
const int64_t *  carryptr,
int64_t  lencarry,
int64_t  lenhead,
int64_t  skip,
int64_t  start,
int64_t  step 
)

◆ NumpyArray_getitem_next_range_advanced_64()

ERROR awkward::kernel::NumpyArray_getitem_next_range_advanced_64 ( kernel::lib  ptr_lib,
int64_t *  nextcarryptr,
int64_t *  nextadvancedptr,
const int64_t *  carryptr,
const int64_t *  advancedptr,
int64_t  lencarry,
int64_t  lenhead,
int64_t  skip,
int64_t  start,
int64_t  step 
)

◆ NumpyArray_quick_argsort()

ERROR awkward::kernel::NumpyArray_quick_argsort ( kernel::lib  ptr_lib,
int64_t *  toptr,
const T *  fromptr,
int64_t  length,
int64_t *  tmpbeg,
int64_t *  tmpend,
const int64_t *  offsets,
int64_t  offsetslength,
bool  ascending,
bool  stable,
int64_t  maxlevels 
)

◆ NumpyArray_quick_sort()

ERROR awkward::kernel::NumpyArray_quick_sort ( kernel::lib  ptr_lib,
T *  tmpptr,
int64_t *  tmpbeg,
int64_t *  tmpend,
const int64_t *  fromstarts,
const int64_t *  fromstops,
bool  ascending,
int64_t  length,
int64_t  maxlevels 
)

◆ NumpyArray_rearrange_shifted()

ERROR awkward::kernel::NumpyArray_rearrange_shifted ( kernel::lib  ptr_lib,
TO *  toptr,
const FROM *  fromshifts,
int64_t  length,
const FROM *  fromoffsets,
int64_t  offsetslength,
const FROM *  fromparents,
int64_t  parentslength,
const FROM *  fromstarts,
int64_t  startslength 
)

◆ NumpyArray_reduce_adjust_starts_64()

ERROR awkward::kernel::NumpyArray_reduce_adjust_starts_64 ( kernel::lib  ptr_lib,
int64_t *  toptr,
int64_t  outlength,
const int64_t *  parents,
const int64_t *  starts 
)

◆ NumpyArray_reduce_adjust_starts_shifts_64()

ERROR awkward::kernel::NumpyArray_reduce_adjust_starts_shifts_64 ( kernel::lib  ptr_lib,
int64_t *  toptr,
int64_t  outlength,
const int64_t *  parents,
const int64_t *  starts,
const int64_t *  shifts 
)

◆ NumpyArray_reduce_mask_ByteMaskedArray_64()

ERROR NumpyArray_reduce_mask_ByteMaskedArray_64 ( kernel::lib  ptr_lib,
int8_t *  toptr,
const int64_t *  parents,
int64_t  lenparents,
int64_t  outlength 
)

◆ NumpyArray_sort()

ERROR awkward::kernel::NumpyArray_sort ( kernel::lib  ptr_lib,
T *  toptr,
const T *  fromptr,
int64_t  length,
const int64_t *  offsets,
int64_t  offsetslength,
int64_t  parentslength,
bool  ascending,
bool  stable 
)

◆ NumpyArray_sort_asstrings()

ERROR awkward::kernel::NumpyArray_sort_asstrings ( kernel::lib  ptr_lib,
T *  toptr,
const T *  fromptr,
const int64_t *  offsets,
int64_t  offsetslength,
int64_t *  outoffsets,
bool  ascending,
bool  stable 
)

◆ NumpyArray_subrange_equal()

ERROR awkward::kernel::NumpyArray_subrange_equal ( kernel::lib  ptr_lib,
T *  tmpptr,
const int64_t *  fromstarts,
const int64_t *  fromstops,
int64_t  length,
bool *  toequal 
)

◆ NumpyArray_unique_strings()

ERROR awkward::kernel::NumpyArray_unique_strings ( kernel::lib  ptr_lib,
T *  toptr,
const int64_t *  offsets,
int64_t  offsetslength,
int64_t *  outoffsets,
int64_t *  tolength 
)

◆ one_mask8()

ERROR awkward::kernel::one_mask8 ( kernel::lib  ptr_lib,
int8_t *  tomask,
int64_t  length 
)

◆ reduce_argmax_64()

ERROR awkward::kernel::reduce_argmax_64 ( kernel::lib  ptr_lib,
OUT *  toptr,
const IN *  fromptr,
const int64_t *  parents,
int64_t  lenparents,
int64_t  outlength 
)

◆ reduce_argmin_64()

ERROR awkward::kernel::reduce_argmin_64 ( kernel::lib  ptr_lib,
OUT *  toptr,
const IN *  fromptr,
const int64_t *  parents,
int64_t  lenparents,
int64_t  outlength 
)

◆ reduce_count_64()

ERROR awkward::kernel::reduce_count_64 ( kernel::lib  ptr_lib,
int64_t *  toptr,
const int64_t *  parents,
int64_t  lenparents,
int64_t  outlength 
)

◆ reduce_countnonzero_64()

ERROR awkward::kernel::reduce_countnonzero_64 ( kernel::lib  ptr_lib,
int64_t *  toptr,
const IN *  fromptr,
const int64_t *  parents,
int64_t  lenparents,
int64_t  outlength 
)

◆ reduce_max_64()

ERROR awkward::kernel::reduce_max_64 ( kernel::lib  ptr_lib,
OUT *  toptr,
const IN *  fromptr,
const int64_t *  parents,
int64_t  lenparents,
int64_t  outlength,
OUT  identity 
)

◆ reduce_min_64()

ERROR awkward::kernel::reduce_min_64 ( kernel::lib  ptr_lib,
OUT *  toptr,
const IN *  fromptr,
const int64_t *  parents,
int64_t  lenparents,
int64_t  outlength,
OUT  identity 
)

◆ reduce_prod_64()

ERROR awkward::kernel::reduce_prod_64 ( kernel::lib  ptr_lib,
OUT *  toptr,
const IN *  fromptr,
const int64_t *  parents,
int64_t  lenparents,
int64_t  outlength 
)

◆ reduce_prod_bool_64()

ERROR awkward::kernel::reduce_prod_bool_64 ( kernel::lib  ptr_lib,
bool *  toptr,
const IN *  fromptr,
const int64_t *  parents,
int64_t  lenparents,
int64_t  outlength 
)

◆ reduce_sum_64()

ERROR awkward::kernel::reduce_sum_64 ( kernel::lib  ptr_lib,
OUT *  toptr,
const IN *  fromptr,
const int64_t *  parents,
int64_t  lenparents,
int64_t  outlength 
)

◆ reduce_sum_bool_64()

ERROR awkward::kernel::reduce_sum_bool_64 ( kernel::lib  ptr_lib,
bool *  toptr,
const IN *  fromptr,
const int64_t *  parents,
int64_t  lenparents,
int64_t  outlength 
)

◆ RegularArray_broadcast_tooffsets_64()

ERROR awkward::kernel::RegularArray_broadcast_tooffsets_64 ( kernel::lib  ptr_lib,
const int64_t *  fromoffsets,
int64_t  offsetslength,
int64_t  size 
)

◆ RegularArray_broadcast_tooffsets_size1_64()

ERROR awkward::kernel::RegularArray_broadcast_tooffsets_size1_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
const int64_t *  fromoffsets,
int64_t  offsetslength 
)

◆ RegularArray_combinations_64()

ERROR awkward::kernel::RegularArray_combinations_64 ( kernel::lib  ptr_lib,
int64_t **  tocarry,
int64_t *  toindex,
int64_t *  fromindex,
int64_t  n,
bool  replacement,
int64_t  size,
int64_t  length 
)

◆ RegularArray_compact_offsets_64()

ERROR awkward::kernel::RegularArray_compact_offsets_64 ( kernel::lib  ptr_lib,
int64_t *  tooffsets,
int64_t  length,
int64_t  size 
)

◆ RegularArray_getitem_carry_64()

ERROR awkward::kernel::RegularArray_getitem_carry_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
const int64_t *  fromcarry,
int64_t  lencarry,
int64_t  size 
)

◆ RegularArray_getitem_jagged_expand_64()

ERROR awkward::kernel::RegularArray_getitem_jagged_expand_64 ( kernel::lib  ptr_lib,
int64_t *  multistarts,
int64_t *  multistops,
const int64_t *  singleoffsets,
int64_t  regularsize,
int64_t  regularlength 
)

◆ RegularArray_getitem_next_array_64()

ERROR awkward::kernel::RegularArray_getitem_next_array_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
int64_t *  toadvanced,
const int64_t *  fromarray,
int64_t  len,
int64_t  lenarray,
int64_t  size 
)

◆ RegularArray_getitem_next_array_advanced_64()

ERROR awkward::kernel::RegularArray_getitem_next_array_advanced_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
int64_t *  toadvanced,
const int64_t *  fromadvanced,
const int64_t *  fromarray,
int64_t  len,
int64_t  lenarray,
int64_t  size 
)

◆ RegularArray_getitem_next_array_regularize_64()

ERROR awkward::kernel::RegularArray_getitem_next_array_regularize_64 ( kernel::lib  ptr_lib,
int64_t *  toarray,
const int64_t *  fromarray,
int64_t  lenarray,
int64_t  size 
)

◆ RegularArray_getitem_next_at_64()

ERROR awkward::kernel::RegularArray_getitem_next_at_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
int64_t  at,
int64_t  len,
int64_t  size 
)

◆ RegularArray_getitem_next_range_64()

ERROR awkward::kernel::RegularArray_getitem_next_range_64 ( kernel::lib  ptr_lib,
int64_t *  tocarry,
int64_t  regular_start,
int64_t  step,
int64_t  len,
int64_t  size,
int64_t  nextsize 
)

◆ RegularArray_getitem_next_range_spreadadvanced_64()

ERROR awkward::kernel::RegularArray_getitem_next_range_spreadadvanced_64 ( kernel::lib  ptr_lib,
int64_t *  toadvanced,
const int64_t *  fromadvanced,
int64_t  len,
int64_t  nextsize 
)

◆ RegularArray_localindex_64()

ERROR awkward::kernel::RegularArray_localindex_64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
int64_t  size,
int64_t  length 
)

◆ RegularArray_num_64()

ERROR awkward::kernel::RegularArray_num_64 ( kernel::lib  ptr_lib,
int64_t *  tonum,
int64_t  size,
int64_t  length 
)

◆ RegularArray_rpad_and_clip_axis1_64()

ERROR awkward::kernel::RegularArray_rpad_and_clip_axis1_64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
int64_t  target,
int64_t  size,
int64_t  length 
)

◆ regularize_arrayslice_64()

ERROR awkward::kernel::regularize_arrayslice_64 ( kernel::lib  ptr_lib,
int64_t *  flatheadptr,
int64_t  lenflathead,
int64_t  length 
)

◆ regularize_rangeslice()

void awkward::kernel::regularize_rangeslice ( int64_t *  start,
int64_t *  stop,
bool  posstep,
bool  hasstart,
bool  hasstop,
int64_t  length 
)

◆ slicearray_ravel_64()

ERROR awkward::kernel::slicearray_ravel_64 ( kernel::lib  ptr_lib,
int64_t *  toptr,
const int64_t *  fromptr,
int64_t  ndim,
const int64_t *  shape,
const int64_t *  strides 
)

◆ slicemissing_check_same()

ERROR awkward::kernel::slicemissing_check_same ( kernel::lib  ptr_lib,
bool *  same,
const int8_t *  bytemask,
const int64_t *  missingindex,
int64_t  length 
)

◆ sorting_ranges()

ERROR awkward::kernel::sorting_ranges ( kernel::lib  ptr_lib,
int64_t *  toindex,
int64_t  tolength,
const int64_t *  parents,
int64_t  parentslength 
)

◆ sorting_ranges_length()

ERROR awkward::kernel::sorting_ranges_length ( kernel::lib  ptr_lib,
int64_t *  tolength,
const int64_t *  parents,
int64_t  parentslength 
)

◆ UnionArray_fillindex()

ERROR awkward::kernel::UnionArray_fillindex ( kernel::lib  ptr_lib,
TO *  toindex,
int64_t  toindexoffset,
const FROM *  fromindex,
int64_t  length 
)

◆ UnionArray_fillindex_count_64()

ERROR awkward::kernel::UnionArray_fillindex_count_64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
int64_t  toindexoffset,
int64_t  length 
)

◆ UnionArray_fillna_64()

ERROR awkward::kernel::UnionArray_fillna_64 ( kernel::lib  ptr_lib,
int64_t *  toindex,
const T *  fromindex,
int64_t  length 
)

◆ UnionArray_filltags_to8_const()

ERROR awkward::kernel::UnionArray_filltags_to8_const ( kernel::lib  ptr_lib,
int8_t *  totags,
int64_t  totagsoffset,
int64_t  length,
int64_t  base 
)

◆ UnionArray_filltags_to8_from8()

ERROR awkward::kernel::UnionArray_filltags_to8_from8 ( kernel::lib  ptr_lib,
int8_t *  totags,
int64_t  totagsoffset,
const int8_t *  fromtags,
int64_t  length,
int64_t  base 
)

◆ UnionArray_flatten_combine_64()

ERROR awkward::kernel::UnionArray_flatten_combine_64 ( kernel::lib  ptr_lib,
int8_t *  totags,
int64_t *  toindex,
int64_t *  tooffsets,
const T *  fromtags,
const I *  fromindex,
int64_t  length,
int64_t **  offsetsraws 
)

◆ UnionArray_flatten_length_64()

ERROR awkward::kernel::UnionArray_flatten_length_64 ( kernel::lib  ptr_lib,
int64_t *  total_length,
const T *  fromtags,
const I *  fromindex,
int64_t  length,
int64_t **  offsetsraws 
)

◆ UnionArray_nestedfill_tags_index_64()

ERROR awkward::kernel::UnionArray_nestedfill_tags_index_64 ( kernel::lib  ptr_lib,
T *  totags,
I *  toindex,
int64_t *  tmpstarts,
tag,
const int64_t *  fromcounts,
int64_t  length 
)

◆ UnionArray_project_64()

ERROR awkward::kernel::UnionArray_project_64 ( kernel::lib  ptr_lib,
int64_t *  lenout,
int64_t *  tocarry,
const T *  fromtags,
const I *  fromindex,
int64_t  length,
int64_t  which 
)

◆ UnionArray_regular_index()

ERROR awkward::kernel::UnionArray_regular_index ( kernel::lib  ptr_lib,
I *  toindex,
I *  current,
int64_t  size,
const T *  fromtags,
int64_t  length 
)

◆ UnionArray_regular_index_getsize()

ERROR awkward::kernel::UnionArray_regular_index_getsize ( kernel::lib  ptr_lib,
int64_t *  size,
const T *  fromtags,
int64_t  length 
)

◆ UnionArray_simplify8_32_to8_64()

ERROR awkward::kernel::UnionArray_simplify8_32_to8_64 ( kernel::lib  ptr_lib,
int8_t *  totags,
int64_t *  toindex,
const T *  outertags,
const I *  outerindex,
const int8_t *  innertags,
const int32_t *  innerindex,
int64_t  towhich,
int64_t  innerwhich,
int64_t  outerwhich,
int64_t  length,
int64_t  base 
)

◆ UnionArray_simplify8_64_to8_64()

ERROR awkward::kernel::UnionArray_simplify8_64_to8_64 ( kernel::lib  ptr_lib,
int8_t *  totags,
int64_t *  toindex,
const T *  outertags,
const I *  outerindex,
const int8_t *  innertags,
const int64_t *  innerindex,
int64_t  towhich,
int64_t  innerwhich,
int64_t  outerwhich,
int64_t  length,
int64_t  base 
)

◆ UnionArray_simplify8_U32_to8_64()

ERROR awkward::kernel::UnionArray_simplify8_U32_to8_64 ( kernel::lib  ptr_lib,
int8_t *  totags,
int64_t *  toindex,
const T *  outertags,
const I *  outerindex,
const int8_t *  innertags,
const uint32_t *  innerindex,
int64_t  towhich,
int64_t  innerwhich,
int64_t  outerwhich,
int64_t  length,
int64_t  base 
)

◆ UnionArray_simplify_one_to8_64()

ERROR awkward::kernel::UnionArray_simplify_one_to8_64 ( kernel::lib  ptr_lib,
int8_t *  totags,
int64_t *  toindex,
const T *  fromtags,
const I *  fromindex,
int64_t  towhich,
int64_t  fromwhich,
int64_t  length,
int64_t  base 
)

◆ UnionArray_validity()

ERROR awkward::kernel::UnionArray_validity ( kernel::lib  ptr_lib,
const T *  tags,
const I *  index,
int64_t  length,
int64_t  numcontents,
const int64_t *  lencontents 
)

◆ unique()

ERROR awkward::kernel::unique ( kernel::lib  ptr_lib,
T *  toptr,
int64_t  length,
int64_t *  tolength 
)

◆ zero_mask8()

ERROR awkward::kernel::zero_mask8 ( kernel::lib  ptr_lib,
int8_t *  tomask,
int64_t  length 
)

Variable Documentation

◆ lib_callback

std::shared_ptr<LibraryCallback> lib_callback