Outsourcing of network communication operations synchronization to accelerator streams

DE102024100970A1Pending Publication Date: 2024-10-31HEWLETT PACKARD ENTERPRISE DEV LP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE102024100970
Authority / Receiving Office
DE · DE
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-26
Filing Date
2024-01-12
Publication Date
2024-10-31

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

A method involves queuing a stream of initial operations to be executed by an accelerator of a compute node through a host processor of the compute node. The stream is associated with a compute kernel boundary. The technique includes synchronizing a network operation to the compute kernel boundary and offloading the synchronization to the accelerator by the host processor and the accelerator. Offloading involves queuing a network communication operation to be executed by the network communication interface of the compute node through the host processor. Offloading further involves adding a second operation to the data stream by the host processor to synchronize the network operation with the compute kernel boundary.
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUND A distributed system comprises networked computing nodes that coordinate their processing activities to achieve a common goal. For example, a high-performance computing (HPC) cluster is a distributed system that performs parallel processing to solve computationally complex problems. Other examples of distributed systems include database management systems, file storage systems, content delivery systems, software-defined servers (SDS), and cloud computing systems. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram of a distributed system including compute nodes with communication-capable applications triggered by data streams, according to an example implementation. Fig. 2 is a flowchart illustrating a sequence used by a host process to pass control paths related to synchronizing compute kernel boundaries with network communication operations to a GPU stream, according to an example implementation. Fig. 3A is an illustration of a trigger event sequence used by a host process to queue a GPU trigger kernel to trigger execution of a set of one or more network communication operations, according to an example implementation. Fig.Figure 3B shows a trigger event sequence used by a host process to queue a GPU "write_value" memory stream operation to trigger the execution of a set of one or more network communication operations, according to an example implementation. Figure 4A is an illustration of a completion event sequence used by a host process to queue a GPU wait kernel to cause a GPU core thread to wait for the completion of a set of one or more network communication operations, according to an example implementation. Figure 4B is an illustration of a completion event sequence used by a host process to queue a "wait_value" memory stream operation to cause a GPU processor to wait for the completion of a set of one or more network communication operations, according to an example implementation.Fig. 4C shows the concatenation of a signaling operation with a network communication operation according to an example implementation. Fig. 5 is an illustration of two-way messaging used by a host process to synchronize network communications with compute kernel boundaries according to an example implementation. Fig. 6 is a flowchart showing process-to-process messaging used by a host process to synchronize network communications with compute kernel boundaries according to an example implementation. Fig. 7 is a flowchart showing a technique for offloading the synchronization of a network communication operation with a compute kernel boundary to an accelerator according to an example implementation. Fig.Figure 8 is a device with a processor queuing a synchronization kernel to cause a GPU to synchronize a network communication operation with a compute kernel boundary, according to an example implementation. Figure 9 is an illustration of a non-transitory, machine-readable storage medium storing machine-readable instructions that, when executed by a machine, cause the machine to queue a trigger event in a sequence of operations to cause an accelerator to initiate network communication, according to an example implementation. DETAILED DESCRIPTION The following detailed description refers to the accompanying drawings. Wherever possible, the same reference numerals are used in the drawings and the following description to refer to the same or similar parts. However, it is expressly understood that the drawings are for purposes of illustration and description only. Although several examples are described in this document, modifications, adaptations, and other embodiments are possible. Accordingly, the following detailed description does not limit the disclosed examples. Instead, the proper scope of the disclosed examples may be defined by the appended claims. The terminology used herein is for the purpose of describing specific examples only and is not intended to be limiting. The singular forms “a,” “an,” and “the” include the plural forms unless the context clearly indicates otherwise. As used herein, “plural” is defined as two or more than two. As used herein, “another” means at least a second or more. The term “connected,” as used herein, is defined as connected, either directly without any intervening elements or indirectly with at least one intervening element, unless otherwise noted. Two elements may be mechanically, electrically, or communicatively connected through a communications channel, pathway, network, or system. As used herein, the term “and / or” refers to and includes all possible combinations of the listed elements. Although the terms “first,” “second,” “third,” etc.are used here to describe various elements, those elements should not be limited by these terms, as these terms are used only to distinguish one element from another unless otherwise stated or the context indicates otherwise. As used herein, the term "includes" means includes, but is not limited to; the term "including" means includes, but is not limited to; and the term "based on" means based at least in part on. A distributed system comprises networked compute nodes that coordinate their processing activities to achieve a common goal. For example, a high-performance computing (HPC) cluster is a distributed system that performs parallel processing to solve computationally complex problems. A distributed system can process units of work called "jobs," such as jobs associated with a distributed application. One or more compute nodes of the distributed system can process compute kernels corresponding to different parts of a job. More specifically, a given job can specify certain processing functions (e.g., scatter functions, reduce functions, gather functions) called "compute kernels." The compute kernels of a given job can be executed in parallel by different parallel processes called "ranks."In the context used here, a "process" refers to an instance of a program, e.g., an instance of a particular application. Each process can be associated with one or more compute kernels of a compute node. The processes can communicate via interprocess communication, for example, to transfer data (e.g., input or output data of the computing kernel) and to synchronize the execution of the computing kernels. Communication can be carried out via message passing, e.g., via message passing according to the Message Passing Interface (MPI) communication standard. A compute node may contain one or more host processors, such as general-purpose host processors (e.g., one or more CPU cores or one or more CPU packets or "sockets") executing an application, which may correspond to a local component of a distributed application. Multiple host processes may be associated with the application, with each host corresponding to a specific rank, for example. The host process controls the overall workflow of processing the rank and may offload compute-intensive compute kernels (e.g., compute kernels with floating-point arithmetic operations) to an accelerator of the compute node. A graphics processing unit (GPU) is an example of an accelerator. In general, an accelerator has an architecture with features that enable computationally complex processing, e.g., operations on numeric arrays, artificial intelligence, data analysis, and three-dimensional video rendering. In general, a compute kernel can correspond to a function that is executed multiple times in parallel by different threads of the accelerator. A host process can initiate the execution of a compute kernel by a corresponding kernel start. A "kernel start" in this context refers to an instruction from the host process to execute a specific compute kernel. A kernel start can contain, among other arguments, arguments that identify a specific compute function, specify how many threads to use, and how many groups of threads to use. An accelerator can process multiple data streams concurrently. In this context, a "stream" refers to a sequence of device operations for an accelerator. A first data stream that initiates the execution of a first compute kernel (or "initiates the first compute kernel") can execute concurrently and independently of a second data stream that initiates a second compute kernel. The accelerator's ability to process multiple concurrent data streams results in more efficient use of the accelerator's resources (as opposed to, for example, the accelerator's resources being idle while the accelerator processes a particular compute kernel). Multiple kernels can be queued for a single stream, and these kernels will then execute in the order in which they were queued. In one approach, a host process can participate in moving or making data available to the accelerator. For example, in response to the accelerator completing execution of a compute kernel, a host process can move data (e.g., output data) from a buffer attached to the accelerator to a buffer attached to the host processor and then initiate a communication operation to transfer the output data to another process. To offload the host process from transferring data to and from buffers attached to the accelerator, a compute node can have an application and system software stack that use an "acceleration-aware" communications library, enabling data transfers between and within compute nodes without host process involvement. Even if the accelerator is known, a host process may still perform data transfers and inter-process synchronization operations, which can impact the parallel processing performance of the distributed system. For example, a host process may queue a compute kernel for execution by an accelerator and wait for the accelerator to execute the compute kernel. The completion of the compute kernel's execution is a synchronization point for the host process and represents an example of a "computation kernel boundary." In this context, a "computation kernel boundary" refers to the start of the accelerator's execution of a compute kernel or the completion of the accelerator's execution of a compute kernel. When a synchronization point is reached, the host process may instruct a network interface controller of the compute node to initiate a set of one or more network communication operations (or "payload transfer operations"). In one example, a network communication operation may be an operation to transfer payload data between the network interface controller and a network interface controller of another compute node. The host process may then wait until the network communication operation(s) are completed before the host process starts another compute kernel. In one example, a network communication operation may include the transmission of data (e.g., result data generated by the execution of a compute kernel) to another process. In another example, the network communication operation may include data (e.g.,Input data for the next computing kernel execution) to the host process. A host process waiting for the completion of one or more network communication operations corresponds to a second synchronization point, which is an example of another compute kernel boundary. Once the network communication operations are completed, the host process can proceed with the start of the next compute kernel. The host process controlling the synchronization of network communication operations with the compute kernel boundaries can incur significant costs in terms of time and processing resources and, accordingly, impact the parallel processing performance of the distributed system. According to the example implementations described here, a host process offloads the control paths for synchronizing network communication operations and compute kernel boundaries to the accelerator. More specifically, according to example implementations, a host process queues synchronization events into an accelerator stream of device operations. The synchronization events, in turn, correspond to the compute kernel boundaries and cause the accelerator (rather than the host process) to control the synchronization of network communication operations with the compute kernel boundaries. In one example, a compute kernel boundary may correspond to the completion of an accelerator's execution of a particular compute kernel, and the host process may execute a trigger event sequence to transfer a synchronization point related to the transmission of payload data over the network from the host process to the accelerator. According to the trigger event sequence, the host process enqueues a trigger event in the accelerator's stream (e.g., a trigger event following a kernel start in the stream). The trigger event is used to trigger and execute a series of network communication operations by a network interface controller (NIC) of the compute node. The trigger event is placed in the accelerator stream so that the accelerator executes the trigger event after the accelerator completes the execution of the compute kernel.The execution of the trigger event by the accelerator causes it to deliver a signal (e.g., writing data to a specific memory location), which is referred to here as a “trigger.” According to example implementations, in addition to enqueuing a trigger event into the accelerator stream, the trigger event sequence also includes enqueuing a set of one or more triggered network communication operations into a triggered operation queue of the NIC. The set of triggered network communication operations is synchronized with the completion of the compute kernel's execution, so that the set is triggered or initiated by the trigger provided by the accelerator. In another example, the compute kernel boundary may correspond to the start of a particular compute kernel by the accelerator, and the host process may perform a completion event sequence to relieve the host process and the accelerator of a synchronization point associated with waiting for the payload to be transmitted over the network. According to the completion event sequence, the host process queues a completion event in the accelerator stream. The host process may queue a compute kernel in the accelerator stream after the completion event. The completion event causes the accelerator to wait for the completion of one or more network communication operations before proceeding to the next operation (e.g., starting a compute kernel) of the accelerator stream. According to example implementations, in addition to enqueuing a completion event into the accelerator stream, the completion event process also includes the host process enqueuing a triggered signaling operation into the NIC's triggered operation queue. The triggered signaling operation is triggered or initiated in response to the completion of a set of network communication operations. Thus, in response to the completion of the network communication operations, the NIC triggers the triggered signaling operation, which signals the accelerator to notify or alert the accelerator (which processes the completion event) of the completion of the set of network communication operations. As illustrated in Fig. 1 as a more specific example, a distributed system 100 may, in accordance with some implementations, include one or more compute nodes 102. In the specific implementation illustrated in Fig. 1, the distributed system 100 includes N compute nodes 102 (with compute nodes 102-1 and 102-N shown in Fig. 1). Certain components of compute node 102-1 are illustrated in Fig. 1. Other compute nodes 102 may have similar architectures according to example implementations. In accordance with example implementations, the compute nodes 102 coordinate processing activities to achieve a common goal. In one example, the distributed system 100 may be a parallel processing system (e.g., a high-performance computing (HPC) cluster), and the ranks for a particular job may be distributed among one or more compute nodes 102.In one example, the compute node 102 may be a logical or physical entity associated with a single instance of an operating system 164. A compute node 102 may, for example, be hosted by all or part of a computing platform. In this context, a "computing platform" refers to an electronic device that has a processing resource capable of executing machine-readable instructions (or "software"). A computing platform may, for example, be a server computer (e.g., a blade server, a rack server, or a standalone server), a desktop computer, a notebook computer, a tablet computer, a smartphone, a storage array, a network switch, a portable computer, a network gateway, or any other electronic device that has a processing resource. The compute node 102 may, for example, correspond to one or more CPU cores of the computing platform. As a more specific example, the computing platform may be a blade server, and the CPU cores of the blade server may be distributed among multiple compute nodes 102. As another example, a compute node 102 may be a host abstraction (e.g., a container, a virtual machine, or other host abstraction) of a single computing platform or a subset thereof. Another example is that a compute node 102 may be a host abstraction for multiple computing platforms (e.g., a single virtual machine hosted across multiple computing platforms, such as a software-defined server). Regardless of its particular form, compute node 102 has associated hardware and software. Fig. 1 shows specific hardware and software components of a particular compute node 102-1 and is specifically described herein. Other compute nodes 102 may have similar or different architectures and / or components than compute node 102-1, consistent with further implementations. In the example implementation depicted in Fig. 1, the hardware may include a collection of general-purpose physical processors 108, referred to herein as "host processors 108." As used herein, a "collection" of elements, such as a collection of physical host processors 108, may refer to a single element or multiple elements.A host processor 108 may include a microprocessor, a core of a multi-core microprocessor, a microcontroller, a programmable integrated circuit, a programmable gate array, or other hardware processing circuitry. As more specific examples, in accordance with some implementations, the host processor 108 may be a CPU core, a collection of CPU cores, or a CPU semiconductor package (or "socket"). Compute node 102-1 may also include one or more accelerators. In this context, an "accelerator" refers to a physical processor with features that provide the processor with enhanced capability to perform computational operations (e.g., numerical array processing, parallel computational functions (e.g., reduce, scatter, and gather operations), or other computational operations) compared to a general-purpose processor (e.g., a CPU). According to the example implementations described herein, the accelerator is a GPU 120. In accordance with example implementations, compute node 102-1 may include multiple GPUs 120. In accordance with other examples, the accelerator may be a digital signal processor (DSP), a field programmable gate array (FPGA), or other circuitry. Compute node 102-1 may also include physical memory 170, which may be implemented with a collection of physical storage devices. In general, the storage devices comprising physical memory 170, as well as other memory and storage media described and referenced herein, are examples of non-transitory machine-readable storage media. In accordance with example implementations, the machine-readable storage media may be used for a variety of storage and computing-related functions of compute node 102-1. As examples, the storage devices may include semiconductor memory, flash memory, memristors, phase-change memory, magnetic memory, a combination of one or more of the aforementioned memory technologies, as well as memory devices based on other technologies. In addition, the storage devices may be volatile memory devices (e.g.,dynamic random access memory (DRAM), static random access memory (SRAM), etc.) or non-volatile storage devices (e.g., flash memory, read-only memory (ROM), etc.), unless otherwise stated herein. Memory 170 may, in accordance with example implementations, store machine-readable instructions 171 (or "software") that may be executed by one or more host processors 108 to provide software component instances to compute node 102-1. In accordance with some implementations, instructions 171, when executed by host processor(s) 108, may cause host processor(s) 108 to form one or more stream-triggered, communicable application instances 118 (also referred to herein as "applications 118" or "application instances 118"). A particular application instance 118 corresponds to a host process and may be associated with a particular rank for a parallel processing job.In one example, the instructions 171, when executed by the host processor(s) 108, may cause the host processor(s) 108 to form an operating system instance 164 (also referred to herein as “operating system 164”). According to example implementations, application 118 accommodates "stream-triggered communication" because application 118 is instructed (as described herein) to offload control paths related to synchronizing network communication operations with compute kernel boundaries to GPU 120. In this manner, a host process does not have synchronization points corresponding to compute kernel boundaries; rather, the host process offloads the synchronization points into a stream of device operations (referred to herein as a "GPU stream") processed by GPU 120. As used herein, a "host process" refers to a sequence of machine-readable instructions corresponding to application 118 that are executed by a host processor 128. A particular host process may be associated with one or more threads, and a particular host process may be associated with one or more processing cores of host processor 128. As part of the stream-triggered communication capability, the host process makes API calls to stream-triggered communication-capable APIs 164. In one example, a host process may use APIs 164 to perform two-way communication to transmit trigger events and completion events to the GPU stream. In another example, a host process may use APIs 164 to perform two-way communication to offload triggered operations to a network interface controller (NIC) 132 of compute node 102-1, such as triggered network communication operations and triggered signaling operations. Memory 170 may include a region 176 connected to host processors 108 and a region 178 connected to GPU 120. Regions 176 and 178 may be referred to as a "CPU-connected region" and a "GPU-connected region," respectively. Memory 170 may also include one or more memory-mapped input / output (MMIO) registers 174. An MMIO register 174 refers to a region of memory space associated with an I / O region. As further described herein, MMIO registers 174 may be used to communicate signals between the I / O region and the memory region. The GPU 120, according to example implementations, may include a processor 124 (hereinafter referred to as a "GPU processor") and GPU cores 122. According to example implementations, the GPU processor 124 schedules and executes GPU kernel operations enqueued by a host process into an instruction queue 126. The GPU processor 124 may have any number of different architectures, depending on the particular implementation. In one example, in accordance with some implementations, the GPU processor 124 may include one or more circuits. The circuits may be, for example, hardware processing circuits that include any one or a combination of a microprocessor, a core of a multi-core microprocessor, a microcontroller, a programmable integrated circuit (e.g., a programmable logic device (PLD), such as a complex PLD (CPLD)), a programmable gate array (e.g.,a Field Programmable Gate Array (FPGA)), an Application Specific Integrated Circuit (ASIC), or other hardware processing circuitry. In accordance with some implementations, the GPU processor 124 may be software-based, and as such, the GPU processor 124 may be formed from one or more hardware processors that execute machine-readable instructions (or "software"). In accordance with some implementations, the software instructions may be operating system kernel instructions of the GPU 120. Alternatively, the GPU processor 124 may include one or more hardware processing circuits that do not execute machine-readable instructions, or a combination of one or more hardware processing circuits that do not execute instructions and one or more circuits that do execute instructions. Regardless of its particular architecture, the GPU processor 124 is designed, in accordance with the example implementations, to perform two general functions. First, the GPU processor 124 is designed to schedule the starts and aborts of GPU kernels (e.g., compute kernels) that are in the queue 126. Second, the GPU processor 124 is designed to start and execute stream memory operations, e.g., a "write_value" stream memory operation (to write a value to a memory location 170) and a "wait_value" stream memory operation (to query a memory location 170 for a specific value). GPU kernels are started by the GPU processor 124 and executed by the GPU cores 122 on GPU threads, thread blocks, and grids. The stream memory operations “write_value” and “wait_value” are executed directly by the GPU processor 124 (e.g.using the semantics and mechanisms specified by the GPU vendor). In accordance with example implementations, the device operations of the GPU stream may have corresponding descriptors stored in corresponding entries 129 of queue 126. Queue 126 may be a first-in-first-out (FIFO) buffer that determines the order in which GPU processor 124 processes the device operations. In one example, a descriptor may describe the start of a compute kernel (e.g., the initiation of execution of a compute kernel by one or more GPUs 122) and have arguments that identify properties of the compute kernel, such as a function identity, a number of threads per group or block, and a number of blocks. The GPU stream may also include device operations, referred to herein as "synchronization events," that synchronize the boundaries of the compute kernel with the triggered operations executed by the NIC 132. In one example, the synchronization event may be a "completion event" that causes the GPU 120 to wait for the completion of an event (e.g., the completion of one or more network communication operations by the NIC 132) before proceeding to process another operation (e.g., initiating execution of a compute kernel) of the GPU stream. Waiting for completion may include the GPU 120 polling a memory location, as further described herein. In another example, the synchronization event may be a trigger event that causes the GPU 120 to generate a trigger to cause the NIC 132 to initiate one or more triggered network communication operations.As shown in Fig. 1, in accordance with example implementations, the NIC 132 may include a triggered operation queue 133. The triggered operation queue 133 enables the NIC 132 to be configured with a list of operations that are delayed or deferred until certain conditions are met. In one example, the deferred operations may be represented by corresponding entries in the triggered operation queue 140 stored in the triggered operation queue 133. M entries 140 are shown in Fig. 1 (with entries 140-1 and 140-M highlighted in Fig. 1). According to embodiments, the triggered operation queue 133 may be stored in a memory of the NIC 132, and the entries 140 may be processed by an execution engine 135 of the NIC 132. The execution engine 135 may be hardware (e.g.,a processor core) that executes machine-readable instructions, hardware that does not execute machine-readable instructions, or a combination of hardware that executes machine-readable instructions and hardware that does not execute machine-readable instructions. Fig. 1 shows an example structure for an entry 140-1 of the triggered operation queue 130. Other entries 140 may have a similar structure in accordance with example implementations. The entry 140-1 contains a command descriptor 142 representing a command that instructs the execution engine 135 of the NIC 132 to perform an operation. In one example, a command may correspond to a network communication operation. For example, a command descriptor 142 may instruct the NIC 132 to perform a network send or set operation in which the NIC 132 sends a payload (e.g., one or more packets containing payload data) to another compute node 102. As another example, a command descriptor 142 may instruct the NIC 132 to perform a network receive or get operation in which the NIC 132 retrieves a payload (e.g., one or more packets containing payload from another compute node 102). In another example, a command descriptor 142 may correspond to an operation that causes the NIC 132 to perform a "signaling operation." A signaling operation, in this context, refers to an operation in which the NIC 132 performs intra-node communication to alert or notify another component of the compute node 102-1. In one example, a signaling operation may inform the GPU 120 of the completion of a particular set of network communication operations. In one example, as further described herein, a command descriptor 142 associated with a signaling operation may specify a command, triggered by the completion of a set of network communication operations, that causes the NIC 132 to write a value to a location of the GPU-attached region 178 that informs the GPU 120 that the operations have completed. In addition to an instruction descriptor 142, an entry 140 may also contain data representing a trigger condition for the instruction described by the instruction descriptor 142. As illustrated in Figure 1, the entry 140-1 contains data identifying a particular trigger counter 144 (of possibly multiple trigger counters) of the NIC 132, and the entry 140-1 contains data representing a trigger count threshold 148. In accordance with example implementations, the execution engine 135 executes the instruction specified in the instruction descriptor 142 in response to the identified trigger counter 144 reaching a particular trigger count threshold 148. In one example, entry 140-1 may include a command descriptor 142 describing a command for NIC 132 to perform a network put operation. Here, the "network put operation" refers to a network communication operation for transferring payload data from compute node 102-1 to another compute node 102. In addition to placing such entry 140-1 in triggered operation queue 133, after a particular compute kernel start instruction, the host process may queue a trigger event in the GPU stream that causes GPU 120 to generate a trigger upon completion of compute kernel execution. In one example, the trigger event may cause GPU 120 to write a value to a trigger counter identified by entry 140-1 such that the value reaches or exceeds a trigger count threshold specified by entry 140-1.Therefore, the host process can offload the coordination of synchronization associated with network communication operations that occur after the execution of a particular compute kernel by queuing a trigger event to the GPU stream and leveraging the deferred operation capability of the NIC 132. As further described herein, according to example implementations, the trigger event can be either a kernel operation performed by a GPU core 122 or a "write_value" memory stream operation performed by the GPU processor 124. In accordance with example implementations, the completion of an operation by the NIC 132 is represented by data 146 of entry 140-1 corresponding to a completion counter of the NIC 132 (i.e., identifying a particular completion counter of the NIC 132). Through entry chaining, as described further herein, the completion of a series of network communication operations by the NIC 132 can be used to initiate or trigger a signaling operation by the NIC 132 to write a value to a location of the GPU-attached area 178 to notify the GPU 120 of the completion. Input chaining may be particularly advantageous when the GPU 120 is unable to query the I / O space of the NIC 132 (either directly or via an MMIO register 174) for the count value of a completion counter 146 indicating whether the set of network communication operations has completed.In this way, the GPU 120 can instead query a location of the GPU-attached region 178 written by the NIC 132 in a signaling operation chained to the set of network communication operations. As described further below, either the GPU processor 124 or a GPU core thread can query the GPU-attached region 178 to learn when a particular set of network communication operations has completed, depending on the type of completion event enqueuing in the GPU stream. In one example, multiple entries 140 may specify the same trigger counter 144 and different trigger count thresholds 148, so that a sequence of corresponding operations (e.g., a set of network communication operations) may be triggered by a particular trigger. In another example, multiple entries 140 may have the same trigger counter 144 and the same trigger count threshold 148, so that the operations corresponding to those entries 140 may be triggered with a single update of the trigger counter 144. In another example, the trigger counter and completion counter may be different for different entries 140, so that the operations corresponding to the entries 140 may be triggered independently of each other.In general, the execution of an operation associated with a particular entry 140 does not affect the execution of an operation associated with another entry 140 unless the entries 140 are related. Fig. 2 shows a sequence 200 of communications between GPU core(s) 122; the GPU processor 124; a host processor 128 coupled to a host process; and the NIC 132 for the purpose of offloading communication control paths from the host process to the GPU 120, according to example implementations. As shown in Fig. 2, in this example, the host processor 128 may queue a K1 compute kernel start command to the GPU processor 124, as illustrated at 202. In response to the K1 compute kernel start command, the GPU processor 124 may start execution of the K1 compute kernel (see Fig. 204) such that one or more GPU cores 122 execute the K1 compute kernel (see Fig. 219). In this example, the completion of the K1 compute kernel execution by the GPU core(s) 122 corresponds to a kernel boundary that must be synchronized with one or more payload transfers or network communication operations performed by the NIC 132. In one example, the network communication operations may include a network communication operation to convey output data generated by the K1 compute kernel execution to another process associated with a different rank. In another example, the network communication operations may include a network communication operation to obtain input data generated by a compute kernel execution associated with a different process. For the purpose of synchronizing the network communication operation(s) with the kernel boundary, the host processor 128 may perform a series of operations according to a trigger event sequence. According to the trigger event sequence, the host processor 128 may enqueue a set of one or more delayed or triggered network communication operations into a triggered operation queue of the NIC 132, as illustrated in Figure 208. In one example, enqueuing a particular operation may include enqueuing an entry specifying a command descriptor, a trigger count, a completion count, and a trigger count threshold. Also according to the trigger event sequence, the host processor 128 queues a trigger event to the GPU 120. As further described herein, in accordance with example implementations, the trigger event may be one of two types: a GPU trigger kernel (as described below in connection with Figure 3A) that is ultimately executed by a GPU core thread, or a GPU "write_value" memory stream operation (as described below in connection with Figure 3B) that is directly executed by the GPU processor 124. As also illustrated in Figure 2, the host processor 128 may queue additional instructions to the GPU processor's instruction queue, e.g., an instruction instructing the GPU processor 124 to launch a K2 compute kernel, as illustrated at 216. Before the GPU processor 124 starts the K2 compute kernel, the GPU processor 124 first waits (as shown at 213) for the K1 compute kernel to complete execution before the GPU processor 124 executes the next group(s) of instructions corresponding to the trigger kernel. When the GPU cores 122 indicate that the K1 compute kernel has completed execution (see Figure 220), this corresponds to a GPU stream synchronization point 260. According to the synchronization point 260, the GPU processor 124 executes the trigger event to start (as shown at 224) a trigger to initiate the network communication operation(s). As shown at 227, the NIC 132 responds to the trigger to execute the network communication operation(s).As illustrated at 228, the GPU processor 124 (as further described herein) waits for the completion of the network communications (which corresponds to another synchronization point, as further described herein) before starting execution of the K2 compute kernel, as illustrated at 232. One or more GPU cores may then execute the K2 compute kernel, as illustrated at 240. Fig. 3A shows a triggered event sequence 300 using a GPU trigger kernel to generate a trigger 320, according to example implementations. As illustrated in Fig. 3A, the triggered event sequence 300 includes the host processor 128 queuing one or more triggered network communication operations into the triggered operation queue of the NIC 132, as illustrated at 302 and 304. The triggered event sequence 300 further includes the host processor 128 queuing a GPU trigger kernel into the GPU processor 124's queue, as illustrated at 308. When executed by GPU processor 124, the GPU trigger kernel causes GPU processor 124 to launch a kernel into a GPU core thread (as shown at 312). The GPU core thread then updates an MMIO register through a store operation with a value representing the trigger 320 to initiate execution of the triggered set of network communication operations by the NIC (see Figure 324). In one example, the GPU core thread may write a trigger count threshold to an MMIO register location mapped to a trigger counter of NIC 132. The trigger count threshold and the trigger counter may, in turn, correspond to the set of network communication operations, such that the write operation causes NIC 132 to initiate the set of network communication operations. Fig. 3B shows a triggered event sequence 350 using a GPU "write_value" memory stream operation to generate a trigger 370, according to example implementations. Similar to triggered event sequence 300 (Fig. 3A), triggered event sequence 350 includes host processor 128 enqueuing one or more triggered network communication operation entries into the triggered operation queue of NIC 132, as illustrated at 302 and 304. Triggered event sequence 350 further includes host processor 128 enqueuing a "write_stream" value memory stream operation into the GPU processor 124 queue, as illustrated at 358. Unlike the GPU trigger kernel (Figure 3A), which is executed by a GPU core thread, the "write_value" memory stream operation is executed directly by the GPU processor 124. Execution of the "write_value" memory stream operation causes the GPU processor 124 to perform a memory operation to update an MMIO register location (as shown at 364) with a value representing a trigger 370 to initiate execution of the triggered set of network communication operations by the NIC (as shown at 324). In one example, the GPU processor 124 may write a trigger count threshold to an MMIO register location mapped to a trigger counter of the NIC 132. The trigger count threshold and the trigger counter may in turn correspond to the set of network communications such that the write operation causes the NIC 132 to initiate the set of network communications. Fig. 4A illustrates a completion event sequence 400 that uses a GPU wait kernel to cause the GPU 120 to wait for the completion of a set of network communication operations, according to an example implementation. Referring to Fig. 4A, the completion event sequence 400 includes the host processor 128 first placing one or more triggered signal operation entries in the NIC's deferred work queue, as illustrated at 404. As described further below in connection with Fig. 4C, according to example implementations, the signal operation entry is chained to the set of network communication operations to cause the NIC 132 to deliver a signal to the GPU-attached memory to inform the GPU 120 of the completion of the operations.The final event sequence 400 further includes the host processor 128 enqueuing a GPU wait kernel to the GPU processor 124, as illustrated at 408. According to example implementations, the GPU wait kernel, when executed by the GPU processor 124, causes the GPU processor 124 to launch a kernel (as shown at 412) that is executed by a GPU core thread. The GPU core thread, in response to the kernel's execution, queries a memory location of the GPU-attached memory (as shown at 416) and waits for the signal operation to write a value to the memory location indicating that the set of network communication operations has completed. The queued set of network communication operations is triggered (as shown at 424) and executed (as shown at 428). The set of network communication operations is completed, and due to input chaining, the completion of the set of network communication operations triggers the execution of the signal operation (see Figure 432).The execution of the signal operation by the NIC, in turn, generates a signal to satisfy the wait condition of the core executed by the GPU core thread. According to example implementations, signaling by the signal operation corresponds to writing a value to the memory location attached to the GPU, which is queried by the GPU core thread. Fig. 4B shows a completion event sequence 430 that uses a GPU memory stream operation "wait_value" to wait for the completion of a set of network communication operations, according to an example implementation. As illustrated in Fig. 4B, the completion event sequence 430 includes the host processor 128 first enqueuing one or more triggered signal operation entries into the NIC's deferred work queue, as illustrated at 404. The completion event sequence 430 further includes the host processor 128 enqueuing a "wait_value" memory stream operation into the GPU processor 124's deferred work queue, as illustrated at 438. According to example implementations, the memory stream operation "wait_value" is executed directly by the GPU processor 124 to cause the GPU processor 124 to poll a memory location of the GPU-attached memory (as illustrated at 444) and wait for the signal operation to write a value to the memory location indicating that the set of network communication operations has completed. The queued set of network communication operations is triggered (as illustrated at 424) and executed (as illustrated at 428). The set of network communication operations is completed, and due to input chaining, the completion of the set of network communication operations triggers the execution of the signal operation (see Figure 432). The execution of the signal operation by the NIC, in turn, generates a signal to satisfy the wait condition imposed by the poll 444 by the GPU processor 124. Fig. 4C shows a particular network communication operation entry 454 of the NIC's triggered operation queue linked or chained to a signal operation entry 458 of the triggered operation queue. The network communication operation entry 454 may correspond to a triggered operation queue entry 140-1 containing a network communication operation command directed to cause the NIC 132 to perform a network communication operation that sends or receives a payload to or from another compute node. In this example, entry 140-1 may identify a completion counter 146 that is linked or chained to a trigger counter 144, as illustrated at 460, identified by another triggered operation queue entry 140-2 that corresponds to the signal operation entry 458.In this example, entry 140-2, when executed, causes the NIC 132 to provide a signal to inform the GPU 120 of the completion of the network communication operation. In accordance with example implementations, entry 140-2 may include a command descriptor 142 containing an atomic write operation. In this case, the atomic write operation refers to the operations specified by entries 140-1 and 140-2 being linked together as a single unit. The NIC 132 executes the command specified by the command descriptor 142 of the descriptor 140-2 when the completion counter 146 for the network communication operation entry 454 reaches a value indicating both the completion of the network operation and the activation of the signal operation. In accordance with some implementations, the host processor 128 may use two-way communication, such as MPI active remote memory access (RMA) communication, to queue synchronization kernels (e.g., trigger kernels and wait kernels) into the GPU stream and queue the triggered network communication operations and signaling operations to the NIC 132. The MPI RMA communication model supports the creation of windows to deallocate remote memory locations, one-way data movement operations, and synchronization operations. For two-way communication, a memory window is first established. In this context, a "memory window" refers to memory locations to which data can be moved, including GPU-attached memory, host-attached memory, and NIC-attached memory.Synchronization operations for both the source process (the process that initiates the communication) and the target process to create and release the window ensure memory consistency and coherence. An RMA synchronization operation in the target process starts an exposure epoch, allowing the source process to begin accessing the memory window. A synchronization operation in the source process starts an access epoch, allowing the source process to perform data movement operations on the remotely accessible memory window. RMA data movement operations provide non-blocking semantics. The term "non-blocking" here refers to an operation associated with a call that returns immediately before the buffer associated with the operation has been emptied (for puts) or filled (for gets). MPI-RMA communication uses RMA epochs with execution spans between synchronization operations. MPI RMA data transfer operations (e.g., "MPI_Put," "MPI_Get," and "MPI_Accumulate") are executed within an epoch.In addition, multiple data transfers can occur within the same epoch, amortizing the performance costs of the synchronization operations used to establish the memory window. In accordance with example implementations, the host process serves as both the source process and the target process to perform MPI-active RMA communications for the purpose of enqueuing the synchronization kernels into the GPU stream and enqueuing the triggered network communication operations and signaling operations on the NIC 132. More specifically, in accordance with example implementations, the host process uses an MPI-active RMA communication model in accordance with a flow sequence 500 illustrated in Figure 5. As shown in Figure 5, the host process serves as both the source process 501 and the target process 502 in the flow sequence 500. The target process 502 corresponds to the target memory locations of the GPU and the NIC. In the following embodiments, the MPI operations correspond to the application's MPI calls. The flow sequence 500 first includes the host process creating a window for remote memory access (as shown at 512) using the MPI_WIN_CREATE operations 504 and 508 for the source process 501 and the destination process 520. Next, the host process uses an MPIX_WIN_POST_STREAM operation 520 to start the exposure epoch (as shown at 519) and signals an MPI_WIN_START operation 524 to start the access epoch (as shown at 524). As shown in Figure 5, the flow 500 includes enqueuing one or more RMA data transfer operations (e.g., one or more MPI_PUT operations) on the NIC 132, as shown at 530.To close the window, the host process may call an MPIX_WIN_COMPLETE STREAM operation 534 to enqueue trigger kernels into the GPU stream and enqueue completion signal operations into the NIC 132 queue, as shown in 538. Furthermore, the host process may call an MPIX_WIN_WAIT_STREAM operation 542 to enqueue wait kernels into the GPU stream and close the exposure epoch (see Figure 544). According to further example implementations, the host process may not use two-way communication, but instead may use process-to-process communication to queue the synchronization cores into the GPU stream and queue the triggered network communication operations and signaling operations into the NIC 132. More specifically, see Figure 6 , in accordance with example implementations, the host process may perform a method 600 that includes creating (block 604) a queue object, including passing a GPU stream handle to the queue object. The queue object performs MPI send and MPI receive operations, as described further below. According to block 604, the queue object opens a trigger counter object, opens a completion counter object, and retrieves an MMIO address mapping for the trigger counter object. According to block 608, the host process enqueues one or more triggered network communication operations into the queue of the queue object. Thus, in response to enqueuing the triggered network communication operations, the queue object may enqueue corresponding entries into a network card's deferred work queue. According to block 612, the host process may further assign a start operation to the queue object. The start operation initiates actions by the queue object to enqueue a trigger kernel into the GPU stream for the queued triggered network communication operations. In accordance with example implementations, the queue object may generate a "write_value" stream store operation at the MMIO address corresponding to the trigger counter object.In addition, the queue object can set the value written by the stream storage operation "write_value" to the trigger threshold, and the queue object can then enqueue the stream storage operation "write_value" for the GPU stream. According to block 616, method 600 may include enqueuing a wait operation in the queue object. In response to the wait operation, the queue object, in accordance with example implementations, may prepare an atomic increment descriptor to cause the NIC to generate the signal that triggers the end of the wait by the wait kernel. The queue object sets the trigger count for the atomic increment descriptor to the completion count of the network operation whose completion triggers the generation of the signal. The queue object then enqueues the triggered atomic descriptor, with the associated triggered count and threshold, into the NIC's deferred work queue.The queue object then prepares the "wait_value" stream memory operation, allocates the memory location updated by the signal operation execution to the "wait_value" stream memory operation, and queues the "wait_value" stream memory operation to the GPU stream. Referring to Fig. 7, a method 700, in accordance with example implementations, includes queuing (block 704), by a host processor of a compute node, a stream of first operations to be executed by an accelerator of the compute node. In accordance with example implementations, the accelerator may be a GPU. According to further example implementations, the accelerator may be a DSP or FPGA. The compute node may correspond to an operating system instance. The stream of first operations may include operations for starting compute kernels executed by the accelerator. The stream is associated with a compute kernel boundary. In one example, a compute kernel boundary may correspond to the start of execution of a compute kernel. As another example, a compute kernel boundary may correspond to the completion of execution of a compute kernel. The method 700 includes synchronizing (block 706) a network operation with the compute kernel boundary. In accordance with example implementations, the network operation may be an operation to send a payload (e.g., one or more packets of payload data) to another compute node. In another example, the network operation may be an operation to receive payload data (e.g., one or more packets of payload data) from another compute node. In accordance with some implementations, the network operation may communicate compute kernel execution result data from the compute node to another compute node. In accordance with some implementations, the network operation may communicate input data for kernel execution on the compute node from another compute node. The method 700 includes offloading (block 708) the synchronization with the accelerator by the host processor and to the accelerator. Offloading (block 708) includes queuing a network communication operation to be executed by the network communication interface by the host processor and to a network communication interface of the compute node. In accordance with example implementations, the network communication interface may be a network interface controller (NIC) of the compute node. Offloading (block 708) further includes adding a second operation by the host processor to the data stream to synchronize the network operation with the compute kernel boundary. According to example implementations, the second operation may be a trigger kernel to initiate the network operation in response to the accelerator completing execution of a compute kernel. In accordance with some implementations, the second operation may be a wait kernel that causes the accelerator to wait for the network operation to complete before initiating execution of a compute kernel. As shown in Figure 8, according to example implementations, a device 800 includes a network communication interface 808, a graphics processing unit (GPU) 804, and a processor 820. In one example, the processor 820 may be a CPU. In one example, the network communication interface 808 may be a NIC. In one example, the device 800 may correspond to a compute node, and the compute node may be associated with a particular operating system instance. The processor 820 may execute a stream-triggered, communication-aware application to provide a host process that offloads control paths to the GPU 804 for controlling synchronization between compute kernel boundaries and operations of the network communication interface 808. Processor 820 queues a network communication operation of network communication interface 808 to cause network communication interface 808 to perform a network communication operation. In one example, processor 820 may enqueue an entry in a triggered operation queue of the network communication interface representing the network communication operation. Processor 820 queues a stream of operations to be executed by GPU 804. In one example, the stream of operations may correspond to operations queued and processed by a control processor of GPU 804. The stream of operations includes a compute kernel associated with a compute kernel boundary and a synchronization event executed by the GPU 804 to synchronize the network communication operation with the compute kernel boundary. In one example, the compute kernel boundary may correspond to completion of the compute kernel execution by the GPU 804, and the synchronization event may be a trigger kernel that causes the GPU 804 to generate a trigger to cause the network communication interface to initiate the network communication operation. In one example, the compute kernel boundary may correspond to start of the compute kernel, and the synchronization event may be a wait kernel that causes the GPU 804 to wait for the completion of the network communication operation. Referring to Fig. 9, a non-transitory, machine-readable storage medium 900 stores instructions 904, as illustrated in examples. When executed by a machine, the instructions 904 cause the machine to enqueue a sequence of operations into a queue associated with an accelerator. In one example, the accelerator may be a GPU. In accordance with other examples, the accelerator may be a DSP or an FPGA. In one example, the queue may be associated with a control processor of the graphics processor. In one example, the instructions 904 may be associated with a communication-controlled application. In one example, the instructions 904 may be associated with a host process processing a rank of a job. The sequence of operations is to be processed by an accelerator. Enqueuing the sequence of operations includes enqueuing a compute kernel and enqueuing a trigger event to cause the accelerator to write a value to memory connected to a network interface in response to the completion of the compute kernel's processing. In one example, the trigger event may be a memory stream write operation to write a value to a memory-mapped register. In one example, the trigger event may be placed in a queue connected to a control processor of the accelerator. When executed by the machine, instructions 904 further cause the machine to place an entry in a deferred work queue associated with the network interface to cause the network interface to initiate network communication in response to the value written to memory. In one example, the network interface may be a NIC. In one example, the entry may include a command descriptor representing a network send operation to send one or more packets. In one example, the entry may include a command descriptor representing a network send operation to receive one or more packets.In one example, the entry may identify a trigger counter of the network interface and a threshold for the trigger counter, such that when the trigger counter has a value equal to or greater than the threshold, the network interface executes a command represented by a command descriptor of the entry. In one example, the entry may identify a completion counter of the network interface that has an expected completion counter value when the network operation associated with the entry completes. According to example implementations, the compute kernel boundary corresponds to the completion of the accelerator's execution of a compute kernel. The network communication interface initiates the network communication operation in response to a trigger. Adding the second operation involves the host processor adding a trigger kernel or a "write_value" stream operation to the stream to cause the accelerator to deliver the trigger. Potential benefits include offloading synchronization control paths (e.g., control paths for coordinating MPI-based message passing through a network interface with compute kernel boundaries) from the host processor to the accelerator, which can improve the performance of a parallel processing system (e.g., reducing execution times). According to example implementations, enqueuing the first network communication operation comprises enqueuing, by the host processor, an entry in a deferred work queue of the network communication interface. The entry includes a command corresponding to the first network communication operation. The entry identifies a trigger counter of the network communication interface and a threshold for a count of the trigger counter. The technique further comprises the accelerator providing the trigger, wherein the accelerator providing the trigger comprises the accelerator changing the count to be equal to or greater than the threshold. Potential benefits include shifting synchronization control paths from the host processor to the accelerator, which may improve the performance of a parallel processing system. According to example implementations, the compute kernel boundary corresponds to the start of execution of a compute kernel by the accelerator. Queuing the first network communication operation includes, by the host processor, queuing a first entry into a deferred work queue of the network communication interface. The first entry identifies a completion counter of the network communication interface to provide a count indicating completion of the first network communication operation. Adding the second operation includes, by the host processor, adding a wait event to the data stream to cause the accelerator to initiate execution of the compute kernel in response to the completion counter providing the count.Potential benefits include shifting synchronization control paths from the host processor to the accelerator, which can improve the performance of a parallel processing system. According to example implementations, offloading the synchronization to the accelerator further comprises the host processor and the network communication interface queuing a second operation corresponding to the network communication interface to provide a signal through the network communication interface to the accelerator indicating the completion of the first network communication operation. Offloading comprises concatenating the second operation with the first network communication operation. Potential benefits include shifting synchronization control paths from the host processor to the accelerator, which can improve the performance of a parallel processing system. According to example implementations, chaining the second operation with the first network communication operation involves the host processor placing a second entry in the deferred work queue. The second entry identifies the completion counter as the trigger counter for initiating the second operation. Potential benefits include shifting synchronization control paths from the host processor to the accelerator, which can improve the performance of a parallel processing system. According to example implementations, queuing the second operation involves queuing an operation to write a value to a compute node memory connected to the accelerator via the network communication interface to provide the signal. Potential benefits include shifting synchronization control paths from the host processor to the accelerator, which can improve the performance of a parallel processing system. According to example implementations, the first network communication operation includes an operation to transmit data corresponding to a result of the accelerator's processing of a compute kernel. Potential benefits include shifting synchronization control paths from the host processor to the accelerator, which can improve the performance of a parallel processing system. According to example implementations, queuing the first network communication operation and adding the second operation involve generating Message Passing Interface (MPI) calls through the Application Programming Interface (API) by the host processor. Potential benefits include shifting synchronization control paths from the host processor to the accelerator, which can improve the performance of a parallel processing system. According to implementation examples, queuing the first network communication operation and adding the second operation involve the host processor's use of active, remote memory interface (RMA)-based communication (Message Passing Interface, MPI). Potential benefits include shifting synchronization control paths from the host processor to the accelerator, which can improve the performance of a parallel processing system. Although the present disclosure has been described with respect to a limited number of implementations, those skilled in the art, having the benefit of this disclosure, will recognize numerous modifications and variations thereof. The appended claims are intended to cover all such modifications and variations.

Claims

A method comprising:by a host processor of a compute node, queuing a stream of first operations to be performed by an accelerator of the compute node, the stream associated with a compute kernel boundary;synchronizing a network operation with the compute kernel boundary; andoffloading, by the host processor, the synchronizing to the accelerator and onto the accelerator, wherein the offloading comprises:queuing, by the host processor, a first network communication operation to be performed by the network communication interface and onto a network communication interface of the compute node; andadding, by the host processor, a second operation to the stream to synchronize the first network communication operation with the compute kernel boundary. The method of claim 1, wherein: the compute kernel boundary corresponds to completion of execution of a compute kernel by the accelerator; the network communication interface initiates the network communication operation in response to a trigger; and adding the second operation comprises adding a trigger kernel or a write value stream operation to the stream by the host processor to cause the accelerator to provide the trigger. The method of claim 2, wherein: queuing the first network communication operation comprises queuing, by the host processor, an entry into a deferred work queue of the network communication interface; the entry includes a command corresponding to the first network communication operation; the entry identifies a trigger counter of the network communication interface and a threshold for a count of the trigger counter; the method further comprises the accelerator providing the trigger, wherein providing the trigger by the accelerator comprises the accelerator changing the count to be equal to or greater than the threshold. The method of claim 1, wherein: the compute kernel boundary corresponds to the start of execution of a compute kernel by the accelerator; queuing the first network communication operation comprises queuing, by the host processor, a first entry into a deferred work queue of the network communication interface; the first entry identifies a completion counter of the network communication interface to provide a count indicating completion of the first network communication operation; and adding the second operation comprises adding, by the host processor, a wait kernel to the stream to cause the accelerator to initiate execution of the compute kernel in response to the completion counter providing the count. The method of claim 4, wherein offloading the synchronization to the accelerator further comprises:queuing, by the host processor, a second operation corresponding to the network communication interface and to the network communication interface to provide, through the network communication interface, a signal to the accelerator representing the completion of the first network communication operation; andchaining the second operation to the first network communication operation. The method of claim 5, wherein chaining the second operation to the first network communication operation comprises:enqueuing, by the host processor, a second entry in the deferred work queue, the second entry identifying the completion counter as a trigger counter for initiating the second operation. The method of claim 5, wherein queuing the second operation comprises queuing an operation to write a value to a memory connected to the accelerator through the network communication interface to provide the signal. The method of claim 1, wherein the first network communication operation comprises an operation for transmitting data corresponding to a result of processing of a computation kernel by the accelerator. The method of claim 1, wherein queuing the first network communication operation and adding the second operation comprise generating MPI (Message Passing Interface) calls to the application programming interface (API) by the host processor. The method of claim 1, wherein queuing the first network communication operation and adding the second operation comprise using active remote memory interface (RMA) based communication through the message transfer interface (MPI) of the host processor. An apparatus comprising: a network communication interface; a graphics processing unit (GPU); and a processor other than the GPU, for: queuing a first network communication operation to the network communication interface to cause the network communication interface to perform the first network communication operation; and queuing a stream of operations to be executed by the GPU, the stream of operations comprising a compute kernel associated with a compute kernel boundary and a synchronization event to be executed by the GPU to synchronize the first network communication operation with the compute kernel boundary. The apparatus of claim 11, wherein:the GPU comprises a plurality of cores and a GPU processor;the compute kernel boundary corresponds to the completion of execution of a compute kernel by at least one core of the plurality of cores;the network communication interface is configured to initiate the first network communication operation in response to a trigger, andthe control GPU processor executes the synchronization event to provide the trigger. The apparatus of claim 11, wherein: the GPU comprises a plurality of cores and a GPU processor; the compute kernel boundary corresponds to initiation of execution of a compute kernel by at least one core of the plurality of cores; the network communication interface indicates completion of the first network communication operation; and the GPU control processor executes the synchronization event to cause the control processor to wait for the network communication interface to indicate completion of the first network communication operation before the GPU processor initiates execution of the compute kernel. The apparatus of claim 13, wherein:the processor is further to queue a second operation to the network communication interface to cause the network communication interface to update a GPU-attached memory in response to the network communication interface indicating completion of the first network communication operation; andthe GPU processor polls the GPU-attached memory to detect the update; andthe GPU processor initiates execution of the compute kernel in response to the poll detecting the update. The apparatus of claim 14, wherein each compute node of the plurality of compute nodes is associated with a different operating system instance of a plurality of operating system instances. The apparatus of claim 11, wherein:the processor is associated with a first process;the network communication interface comprises a network interface controller;andthe first network communication operation comprises at least one of the following operations: a send operation to transmit to a second process data associated with the first process and representing compute kernel output data, or a receive operation to transmit to the first process data associated with the second process and representing compute kernel input data. A non-transitory, machine-readable storage medium for storing instructions that, when executed by a machine, cause the machine to perform the following: enqueuing a sequence of operations into a queue associated with an accelerator, the sequence of operations to be processed by the accelerator, the enqueuing of the sequence of operations comprising enqueuing a compute kernel and enqueuing a trigger event to cause the accelerator to write a value to memory associated with a network interface in response to completion of processing by the compute kernel; and enqueuing an entry into a deferred work queue associated with the network interface to cause the network interface to initiate network communication in response to the value written to memory. The storage medium of claim 17, wherein the network communication comprises a Message Passing Interface (MPI) operation associated with processing of the kernel. The storage medium of claim 17, wherein the instructions, when executed by the machine, further cause the machine to perform queuing of the trigger event and queuing of the entry in the network interface using Message Passing Interface (MPI) communication. The storage medium of claim 19, wherein the MPI communication comprises MPI Remote Memory Access (RMA) communication.