Use the buffer's share device pointer where it makes sense