Might be helpful in case I am very close to the gpu memory limit and ctx holds a large buffer. In that case, I might need to free a large buffer in ctx before creating the backward buffer to prevent out-of-memory issues.