According to the Programming Guide,
But my question is slightly different: Are calls to [font=“Courier”]global[/font] functions serialized, such that one is guaranteed to complete before the next begins?
For example in the following code:
MyKernelFirst<<< ... >>>(myData);
MyKernelSecond<<< ... >>>(myData);
Is the execution of [font=“Courier”]MyKernelFirst[/font] guaranteed to complete before the execution of [font=“Courier”]MyKernelSecond[/font] begins?
If not, how can I enforce this condition?
Many thanks.