FUNCTION CALLBACK MECHANISM BETWEEN A CENTRAL PROCESSING UNIT (CPU) AND AN AUXILIARY PROCESSOR
0 Assignments
0 Petitions
Accused Products
Abstract
Generally, this disclosure provides systems, devices, methods and computer readable media for implementing function callback requests between a first processor (e.g., a GPU) and a second processor (e.g., a CPU). The system may include a shared virtual memory (SVM) coupled to the first and second processors, the SVM configured to store at least one double-ended queue (Deque). An execution unit (EU) of the first processor may be associated with a first of the Deques and configured to push the callback requests to that first Deque. A request handler thread executing on the second processor may be configured to: pop one of the callback requests from the first Deque; execute a function specified by the popped callback request; and generate a completion signal to the EU in response to completion of the function.
0 Citations
50 Claims
-
1-25. -25. (canceled)
-
26. A system for implementing a function between a first processor and a second processor, said system comprising:
-
a shared virtual memory (SVM) coupled to the first and second processors, said SVM to store at least one double-ended queue (Deque); an execution unit (EU) of the first processor, said EU associated with a first of the Deques, to push the function to said first Deque; and a request handler thread executing on said second processor to; pop the function from the first Deque; execute the function; and generate a completion signal to said EU in response to completion of the function. - View Dependent Claims (27, 28, 29, 30, 31, 32, 33, 34)
-
-
35. A method for function operation between a first processor and a second processor, said method comprising:
-
pushing the function, by an execution unit (EU) of said first processor, to a first double-ended queue (Deque), said Deque stored in a shared virtual memory (SVM) coupled to said first and second processors; popping the function from said first Deque, by a request handler thread executing on said second processor; executing, by said request handler thread, the function; and generating, by said request handler thread, a completion signal to said EU in response to completion of said function. - View Dependent Claims (36, 37, 38, 39, 40, 41, 42)
-
-
43. At least one computer-readable storage medium having instructions stored thereon which when executed by a processor result in the following operations for a function between a first processor and a second processor, said operations comprising:
-
pushing the function, by an execution unit (EU) of said first processor, to a first double-ended queue (Deque), said Deque stored in a shared virtual memory (SVM) coupled to said first and second processors; popping the function from said first Deque, by a request handler thread executing on said second processor; executing, by said request handler thread, the function; and generating, by said request handler thread, a completion signal to said EU in response to completion of said function. - View Dependent Claims (44, 45, 46, 47, 48, 49, 50)
-
Specification