The function is planned to be removed in future releases. Allocation of temporary buffers is only needed when NVXCU_BORDER_MODE_CONSTANT mode of the API is used with non-zero border value. Note that CUDA does not natively support non-zero constant border mode, therefore VisionWorks is creating a padding in a temporary buffer to emulate this mode. Support for non-zero constant border mode is planned to be removed in future releases as it brings additional complexity to the VisionWorks CUDA API.