We may sometimes wish to build the python bindings on a system where CPU and GPU both are available. In this context, the python calls must still be host-only (because pybind/numpy are), but the device calls should be device-capable. This requires some tweaks in the python module.
We may sometimes wish to build the python bindings on a system where CPU and GPU both are available. In this context, the python calls must still be host-only (because pybind/numpy are), but the device calls should be device-capable. This requires some tweaks in the python module.