hipAddressModeClamp corresponds to CL_ADDRESS_CLAMP_TO_EDGE. This change fixes incorrect sampling near texture edges. https://github.com/ROCm-Developer-Tools/HIP/pull/2229 Change-Id: Ia2af9f3cb582a74af7b1f65bad1ed0310eab2628