Fix a bug when pushing pointers of arguments into std::vector.
When argument pointers pushed into an vector and the pointers point to address on stack, we need to make sure they are valid until kernels are successfully flushed onto the queue.
Showing
想要评论请 注册 或 登录