Fix the mismatch on NV GPUs

This commit is contained in:
yao
2013-05-20 14:46:17 +08:00
parent 4162ebfad3
commit d8b192c84d
2 changed files with 11 additions and 1 deletions

View File

@@ -472,4 +472,8 @@ void ocl_tvl1flow::warpBackward(const oclMat &I0, const oclMat &I1, oclMat &I1x,
args.push_back( make_pair( sizeof(cl_int), (void*)&u2_offset_y));
openCLExecuteKernel(clCxt, &tvl1flow, kernelName, globalThread, localThread, args, -1, -1);
releaseTexture(I1_tex);
releaseTexture(I1x_tex);
releaseTexture(I1y_tex);
}