Skip to content

Commit

Permalink
OpenVX HIP GPU backend - fix a bug for ScaleImage_Bilinear_Constant (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
AryanSalmanpour authored May 11, 2021
1 parent 7674b45 commit a991813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amd_openvx/openvx/hipvx/geometric_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ int HipExec_ScaleImage_U8_U8_Bilinear_Constant(hipStream_t stream, vx_uint32 dst
hipLaunchKernelGGL(Hip_ScaleImage_U8_U8_Bilinear_Constant, dim3(ceil((float)globalThreads_x/localThreads_x), ceil((float)globalThreads_y/localThreads_y)),
dim3(localThreads_x, localThreads_y), 0, stream, dstWidth, dstHeight, (uchar *)pHipDstImage , dstImageStrideInBytes,
(const uchar *)pHipSrcImage, srcImageStrideInBytes, srcWidth, srcHeight,
xscale, yscale, xoffset, yoffset, (uint) 0xaabbccdd);
xscale, yscale, xoffset, yoffset, borderValue);

return VX_SUCCESS;
}
Expand Down

0 comments on commit a991813

Please sign in to comment.