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
Please
register
or
sign in
to comment