Skip to content

Commit a991813

Browse files
OpenVX HIP GPU backend - fix a bug for ScaleImage_Bilinear_Constant (#498)
1 parent 7674b45 commit a991813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amd_openvx/openvx/hipvx/geometric_kernels.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ int HipExec_ScaleImage_U8_U8_Bilinear_Constant(hipStream_t stream, vx_uint32 dst
445445
hipLaunchKernelGGL(Hip_ScaleImage_U8_U8_Bilinear_Constant, dim3(ceil((float)globalThreads_x/localThreads_x), ceil((float)globalThreads_y/localThreads_y)),
446446
dim3(localThreads_x, localThreads_y), 0, stream, dstWidth, dstHeight, (uchar *)pHipDstImage , dstImageStrideInBytes,
447447
(const uchar *)pHipSrcImage, srcImageStrideInBytes, srcWidth, srcHeight,
448-
xscale, yscale, xoffset, yoffset, (uint) 0xaabbccdd);
448+
xscale, yscale, xoffset, yoffset, borderValue);
449449

450450
return VX_SUCCESS;
451451
}

0 commit comments

Comments
 (0)