Application programming interface to perform delayed memory transaction information check
One or more processors include circuitry to, in response to a call to an application programming interface (API), check for information about one or more memory transactions after a timeout event indicated by one or more input parameters of the API. A system includes one or more processors to, in response to a call to an application programming interface (API), check for information about one or more memory transactions after a timeout event indicated by one or more input parameters of the API. A method includes receiving an application programming interface (API) call and, in response to receiving the API call, checking for information about one or more memory transactions after a timeout event indicated by one or more input parameters of the API.
1 . One or more processors, comprising:
circuitry configured to, in response to a call to an application programming interface (API), check for information about one or more memory transactions after a timeout event indicated by one or more input parameters of the API.
2 . The one or more processors of claim 1 , wherein the information includes a state of a thread synchronization object and the one or more memory transactions are asynchronous memory transactions.
3 . The one or more processors of claim 1 , wherein the information includes a state of a thread synchronization object and the one or more memory transactions are asynchronous memory transactions between a first memory of a graphics processing unit (GPU) and a second memory of the GPU.
4 . The one or more processors of claim 1 , wherein the API is to receive a state of a synchronization object as an input.
5 . The one or more processors of claim 1 , wherein the API is to receive an identifier of a synchronization object as an input.
6 . The one or more processors of claim 1 , wherein the API is to provide an indication of a state of a synchronization object.
7 . The one or more processors of claim 1 , wherein other operations are to be performed before a barrier event has been performed.
8 . A system, comprising:
one or more processors configured to, in response to a call to an application programming interface (API), check for information about one or more memory transactions after a timeout event indicated by one or more input parameters of the API.
9 . The system of claim 8 , wherein the information includes a state of a thread synchronization object and the one or more memory transactions are asynchronous memory transactions.
10 . The system of claim 8 , wherein the information includes a state of a thread synchronization object and the one or more memory transactions are asynchronous memory transactions between a first memory of a graphics processing unit (GPU) and a second memory of the GPU.
11 . The system of claim 8 , wherein the API is to receive a state of a synchronization object as an input.
12 . The system of claim 8 , wherein the API is to receive a pointer to a synchronization object as an input.
13 . The system of claim 8 , wherein the API is to provide an indication of a state of a synchronization object.
14 . A method, comprising:
receiving an application programming interface (API) call; and
in response to receiving the API call, checking for information about one or more memory transactions after a timeout event indicated by one or more input parameters of the API.
15 . The method of claim 14 , wherein the information includes a state of a thread synchronization object and the one or more memory transactions are asynchronous memory transactions.
16 . The method of claim 14 , wherein the information includes a state of a thread synchronization object and the one or more memory transactions are asynchronous memory transactions between a first memory of a graphics processing unit (GPU) and a second memory of the GPU.
17 . The method of claim 14 , wherein the API is to receive a state of a synchronization object as an input.
18 . The method of claim 14 , wherein the API is to receive an identifier of a synchronization object as an input.
19 . The method of claim 14 , wherein the API is to provide information indicating a state of completion of the one or more memory transactions.
20 . A non-transitory computer-readable medium having stored thereon a set of instructions, which when performed by one or more processors, cause the one or more processors to at least perform the method of claim 14 .