File: kernel_utils.h

package info (click to toggle)
python-awkward 2.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,524 kB
  • sloc: python: 187,940; cpp: 33,928; sh: 432; makefile: 21; javascript: 8
file content (19 lines) | stat: -rw-r--r-- 412 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE

#ifndef AWKWARD_KERNEL_UTILS_H
#define AWKWARD_KERNEL_UTILS_H

#include <string>

#include <pybind11/pybind11.h>

#include "awkward/kernel-dispatch.h"

namespace py = pybind11;
namespace ak = awkward;

py::enum_<ak::kernel::lib>
  make_lib_enum(const py::handle& m, const std::string& name);


#endif //AWKWARD_KERNEL_UTILS_H