CPC G06F 9/52 (2013.01) [G06F 9/4881 (2013.01); G06F 9/522 (2013.01); G06T 1/20 (2013.01)] | 21 Claims |
1. An apparatus to facilitate thread synchronization, comprising:
one or more processors to execute a producer thread to generate a plurality of commands, execute a consumer thread to process the plurality of commands and synchronize the producer thread with the consumer thread, including updating a producer fence value upon generation of in-order commands, updating a consumer fence value upon processing of the in-order commands and performing a synchronization operation based on the consumer fence value, wherein the producer fence value and the consumer fence value each correspond to an order position of the in-order commands.
|