File size: 319 Bytes
96cb0ff 1839df4 96cb0ff | 1 2 3 4 5 6 7 8 9 | #include <torch/extension.h>
#include "torch_binding.h"
PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
m.doc() = "Ramanujan Machine v2 (Asymmetric-Degree CF Search) CUDA kernel";
m.def("search", &search, py::arg("deg_a"), py::arg("deg_b"),
py::arg("range_a"), py::arg("range_b"), py::arg("cf_depth") = 300);
}
|