Awkward Array: awkward::dlpack Namespace Reference

Loading...
Searching...
No Matches
Functions
awkward::dlpack Namespace Reference

## Functions
DLDataType | data_type_dispatch (ak::util::dtype dt)
DLContext | device_context_dispatch (ak::kernel::lib ptr_lib, void *ptr)
void | dlpack_deleter (DLManagedTensor *tensor)
void | pycapsule_deleter (PyObject *dltensor)

## Function Documentation

## ◆ data_type_dispatch()

DLDataType data_type_dispatch | ( | ak::util::dtype | dt | ) |

## ◆ device_context_dispatch()

DLContext device_context_dispatch | ( | ak::kernel::lib | ptr_lib,
|  | void * | ptr
| ) |  |

## ◆ dlpack_deleter()

void dlpack_deleter | ( | DLManagedTensor * | tensor | ) |

## ◆ pycapsule_deleter()

void pycapsule_deleter | ( | PyObject * | dltensor | ) |