Commit 630bdbf4 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed OpenCL kernel flag in resize (thanks to Ilya L)

parent 290fbc01
......@@ -3924,7 +3924,7 @@ static bool ocl_warpTransform(InputArray _src, OutputArray _dst, InputArray _M0,
else
{
char cvt[2][50];
opts = format("-D INTER_%s -D T=%s -D T1=%s -D ST=%s -D WT=%s -D depth=%d -D convertToWT=%s -D convertToT=%s%s cn=%d",
opts = format("-D INTER_%s -D T=%s -D T1=%s -D ST=%s -D WT=%s -D depth=%d -D convertToWT=%s -D convertToT=%s%s -D cn=%d",
interpolationMap[interpolation], ocl::typeToStr(type),
ocl::typeToStr(CV_MAT_DEPTH(type)),
ocl::typeToStr(sctype),
......
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