Searched refs:pybind11 (Results 51 - 60 of 60) sorted by relevance

123

/gem5/ext/pybind11/tests/
H A Dtest_eigen.cpp12 #include <pybind11/eigen.h>
13 #include <pybind11/stl.h>
H A Dtest_numpy_dtypes.cpp11 #include <pybind11/numpy.h>
19 namespace py = pybind11;
H A Dtest_builtin_casters.cpp11 #include <pybind11/complex.h>
H A Dtest_virtual_functions.cpp12 #include <pybind11/functional.h>
326 // properly (pybind11, sensibly, doesn't allow us to bind the same C++ class to
H A Dtest_smart_ptr.cpp24 // Make pybind11 aware of the non-standard getter member function
25 namespace pybind11 { namespace detail { namespace
H A Dtest_class.cpp13 #include <pybind11/stl.h>
/gem5/ext/pybind11/include/pybind11/
H A Deigen.h2 pybind11/eigen.h: Transparent conversion for dense and sparse Eigen matrices
42 static_assert(EIGEN_VERSION_AT_LEAST(3,2,7), "Eigen support in pybind11 requires Eigen >= 3.2.7");
474 template <typename _T> using cast_op_type = pybind11::detail::cast_op_type<_T>;
567 auto shape = pybind11::tuple((pybind11::object) obj.attr("shape"));
H A Dstl_bind.h2 pybind11/std_bind.h: Binding generators for STL data types
424 Class_ cl(scope, name.c_str(), pybind11::module_local(local), std::forward<Args>(args)...);
591 Class_ cl(scope, name.c_str(), pybind11::module_local(local), std::forward<Args>(args)...);
/gem5/src/unittest/
H A Dstattest.cc31 #include "pybind11/pybind11.h"
45 namespace py = pybind11;
/gem5/ext/pybind11/include/pybind11/detail/
H A Dinit.h2 pybind11/detail/init.h: init factory function implementation and support code.
36 if (!ptr) throw type_error("pybind11::init(): factory function returned nullptr");
78 throw type_error("pybind11::init(): unable to convert returned instance to required "
87 "pybind11::init(): init function must return a compatible pointer, "
137 throw type_error("pybind11::init(): construction failed: returned holder-wrapped instance "
151 "pybind11::init() return-by-value factory function requires a movable class");
164 "pybind11::init() return-by-alias-value factory function requires a movable alias class");
248 "pybind11::init(class_factory, alias_factory): class and alias factories "
251 "pybind11::init(class_factory, alias_factory): class and alias factories "
335 NAMESPACE_END(pybind11)
[all...]

Completed in 25 milliseconds

123