Compiler algorithm for GPU prefetching
AssigneeQUALCOMM Incorporated
InventorsSuryanarayana Murthy Durbhakula, Adarsh Golikeri, Siva Rama Krishna Reddy Bogi Reddy
Life of this patent
Estimating the term…
Loading patent…
AssigneeQUALCOMM Incorporated
InventorsSuryanarayana Murthy Durbhakula, Adarsh Golikeri, Siva Rama Krishna Reddy Bogi Reddy
Estimating the term…
Aspects of the disclosure are directed to processor prefetching. In accordance with one aspect, processor prefetching includes determining if an exposed latency parameter is greater than zero; determining if a loop is present in a program code; determining if access overlap across fibers is true; and performing one of the following: a) insert a prefetch every quantity K fibers at a prefetch distance D; b) insert a prefetch every quantity K fibers with a maximum of quantity N iterations; or c) insert a prefetch per fiber with a maximum of quantity N iterations ahead; and wherein, the prefetch distance D is equal to an exposed latency parameter divided by an average instruction latency parameter, the quantity K is equal to a cache line size divided by a per fiber access size, and the quantity N is equal to an exposed latency parameter divided by an average iteration latency parameter.
An apparatus comprising:
A method comprising:
A method comprising:
A non-transitory computer-readable medium storing computer executable code, operable on a device comprising at least one processor and at least one memory coupled to the at least one processor, wherein the at least one processor is configured to implement a processor prefetching, the computer executable code comprising:
Dependencies are inferred from the claim text.