Commit 14af2a0c authored by Dmitry Kurtaev's avatar Dmitry Kurtaev

Fixed Halide's copy_to_device invocation

parent bc348eb8
......@@ -105,7 +105,7 @@ HalideBackendWrapper::HalideBackendWrapper(int targetId, const cv::Mat& m)
{
Halide::Target t = Halide::get_host_target();
t.set_feature(Halide::Target::OpenCL);
buffer.copy_to_device(get_default_device_interface_for_target(t));
buffer.copy_to_device(t);
}
else
CV_Error(Error::StsNotImplemented, "Unknown target identifier");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment