Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

1 results about "Threaded code" patented technology

In computer science, the term threaded code refers to a programming technique where the code has a form that essentially consists entirely of calls to subroutines. It is often, but not only, found in compiler implementations that generate code in that form and/or are implemented in that form themselves. The code may be processed by an interpreter, or may simply be a sequence of machine code call instructions.

Occasionally yielding control to other threads

Code running on a processing unit can retain a hold on an active thread thereby preventing another thread running on the processing unit from executing. This can occur when the code requests more threads to be executed than the processing unit can give forward progress to, e.g., more threads than can be run simultaneously. Inserting the conventional yield instruction can lead to processing inefficiency such that the yield instruction can be executed more times than necessary thereby leading to an inefficiency in processing cycles of the processing unit performing the thread-switching routines. A yield occasionally instruction can be inserted into the code instead of the yield instruction. The yield occasionally can limit the times a yield instruction is executed thereby improving the efficiency of the processing cycles. The yield occasionally instruction can be used in non-terminating regions of the code, where the forward progress of other threads cannot be guaranteed.
Owner:NVIDIA CORP