摘要:
The present invention discloses a data processing system, a computing node, and a data processing method. The data processing system includes a management node and a first class of computing nodes. The management node is configured to allocate first processing tasks to the first class of computing nodes; at least two computing nodes in the first class of computing nodes concurrently process the first processing tasks allocated by the management node; a computing node performs a combine combine2 operation and a reduce reduce2 operation on a data block M x and a data block V 1x , to obtain a first intermediate result; and the management node obtains a processing result for a to-be-processed dataset according to first intermediate results obtained by the first class of computing nodes. According to the data processing system provided by embodiments of the present invention, when a combine operation and a reduce operation are being performed on data blocks, there is no need to perform all combine operations before the reduce operation is performed; instead, the combine operation and the reduce operation are performed alternately, so that memory space occupied by computation can be reduced, and a computation time can be reduced.
摘要:
A gesture recognition method, an electronic device, a computer-readable storage medium, and a chip, are provided, and relate to the field of artificial intelligence, and specifically, to a human-computer interaction technology in the field of computer vision. The gesture recognition method includes: obtaining an image stream, and determining, based on a plurality of consecutive frames of hand images in the image stream, whether a user makes a preparatory action; when the user makes the preparatory action, continuing to obtain an image stream, and determining a gesture action of the user based on a plurality of consecutive frames of hand images in the continuously obtained image stream; and next, further responding to the gesture action to implement gesture interaction with the user. In this application, the preparatory action is determined before gesture recognition is performed, so that erroneous recognition occurring in a gesture recognition process can be reduced, thereby improving a gesture recognition effect.
摘要:
Embodiments of the present invention provide a method, an apparatus, and a system for mutual communication between processes of a many-core processor, and relate to the field of many-core operating systems, so as to increase the speed of reading a message body and enhance user experience. The method is executed by a target kernel Kernal, where the target kernel corresponds to a target processor core. The method includes: acquiring a message header of a message from a quick message channel QMC; executing a CPU pre-fetching command according to the message header, so that a message body that is in the message stored in a shared memory and corresponds to the message header is loaded to a cache cache that corresponds to the target processor core; and switching to a target process, so that the target process acquires the message body from the cache. The embodiments of the present invention apply to a scenario of mutual communication between processes of a many-core processor.
摘要:
Embodiments of the present invention provide an open application programming interface selection method and device. The method includes: receiving an invocation request from a user, where the invocation request includes an OpenAPI function parameter; determining an OpenAPI equivalent set according to the OpenAPI function parameter; and selecting a target OpenAPI from multiple OpenAPIs according to a Qos attribute value that corresponds to each OpenAPI in the OpenAPI equivalent set. By adopting the embodiments of the present invention, an OpenAPI with better performance can be selected from numerous OpenAPIs with equivalent functions for a user, thereby improving the quality of service for the user.
摘要:
Embodiments of the present invention disclose a code generating method, a compiler, a scheduling method, an apparatus and a scheduling system. Code generated in the embodiments of the present invention is executable code applied to a heterogeneous system, and the heterogeneous system includes an accelerated processing unit and a central processing unit. The code generating method in the embodiments of the present invention includes: acquiring, by a compiler, resource information of the accelerated processing unit and resource information of the central processing unit so as to generate an operable platform list; identifying, by the compiler, accelerable code from first user code; embedding, by the compiler, a hook function and an exception handling function before the accelerable code to form second user code; and compiling, by the compiler, the second user code to obtain the executable code. The executable code generated in the embodiments of the present invention can automatically implement proper scheduling of processors during execution.
摘要:
A graph data query method and apparatus are disclosed, where the method includes: acquiring a partition number and a layer number of a query vertex; determining, based on the partition number and the layer number of the query vertex, a partition number and a layer number of a candidate vertex indicated by a query condition, and using them as a candidate partition number and a candidate layer number; foiming a candidate set by using a vertex whose partition number and layer number satisfy any group of a candidate partition number and a candidate layer number; and performing graph data query in the candidate set according to the query condition. By using the solution, graph data query efficiency is improved.
摘要:
The present invention discloses a method for callback processing in telecommunication capability opening, a telecommunication capability opening server, a client, and a telecommunication capability opening service system. The method includes: receiving a telecommunication capability application programming interface (API) call request sent by a client, where the telecommunication capability API call request includes a callback information parameter; performing callback processing according to the telecommunication capability API call request, and generating a callback message according to the callback information parameter; and pushing the callback message to the client. The method may also include: initiating a telecommunication capability API call request to a telecommunication capability opening server, where the telecommunication capability API call request includes a callback information parameter; receiving a callback message pushed by the telecommunication capability opening server, and parsing the callback message; and determining, according to a parsing result, a function that callback processing needs, and calling the function.
摘要:
In embodiments of the present invention, an on-chip memory in a many-core system is partitioned, and according to a frequency at which a processor core set in each on-chip partition accesses a virtual memory page in virtual memory space that is shared among multiple processes that belong to a same application program, data corresponding to the virtual memory page is moved to an on-chip memory partition in which a processor core set whose access frequency is high is located, so that when the virtual memory page is subsequently accessed, a time delay caused by cross-partition access is reduced.