-
Dear all,
At this time, to call them, I do something like : (queue is a queue, ctx a context, prg the compiled kernels)
and then some queue code to download array2_g and array3_g. I wanted to be sure about it : as there is no "COPY_HOST_PTR" when queuing array2_g and array3_g, can I be sure that array2_g will not be uploaded again when k2 will be called ? Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes. Even for
|
Beta Was this translation helpful? Give feedback.
Yes. Even for
array1_g
, the copy happens on buffer creation and not thereafter.cl.enqueue_copy(..., is_blocking=False)
), then the queue would guarantee execution in sequence.queue.finish()
.