Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

214 results about "Thread scheduling" patented technology

Cross-platform real-time digital human rendering system and method without being supported by GPU (Graphics Processing Unit)

The invention discloses a cross-platform GPU support-free real-time digital human rendering system and method, and relates to the technical field of digital human rendering, and the system comprises an offline modeling module which constructs a mouth base space model through principal component analysis based on video data of a target person; the real-time driving module is used for mapping real-time voice features into dynamic coefficients of the mouth base space model; the image synthesis module is used for reconstructing a mouth image according to the dynamic coefficient and fusing the mouth image with a pre-stored reference face image; the cross-platform adaptation layer is configured to realize real-time rendering without GPU dependence through compiling, memory mapping and multi-thread scheduling technologies; and the dynamic resource manager is used for optimizing resource occupation and ensuring stable operation in a multi-platform environment. According to the technical scheme, dependence on high-computing-power hardware and an ideal acoustic environment can be broken through, and a complete theoretical framework and an engineering implementation path are provided for large-scale popularization of a digital human technology in a lightweight terminal.
Owner:LIANGSHENG DIGITAL ARTIFICIAL INTELLIGENCE (SHENZHEN) CO LTD

High-fidelity lightweight world model construction method for end-to-end automatic driving test

The invention relates to a world model construction method, in particular to a high-fidelity lightweight world model construction method for an end-to-end automatic driving test, which is used for constructing a high-fidelity world model and performing knowledge distillation on the world model to solve the problems of huge parameters, low reasoning efficiency and the like of the world model. Model parameters are reduced on the basis of reserving the world model generation capability, and the reasoning efficiency is improved; a CUDA operator is developed in a user-defined mode for the bottleneck part of world model calculation, video memory allocation is optimized, and the reasoning efficiency of a high-fidelity world model is improved based on a single-device multi-thread scheduling and multi-device cooperative calculation method. According to the method, the high-fidelity lightweight world model for the end-to-end automatic driving test can be constructed, the problems that an existing world model is low in multi-modal information alignment precision, poor in cross-view and cross-frame consistency, low in reasoning efficiency and the like are effectively solved, the confidence coefficient of the end-to-end automatic driving system test process is improved, and the test efficiency of the end-to-end automatic driving system is improved. And the testing efficiency of the end-to-end automatic driving system is greatly improved.
Owner:JILIN UNIVERSITY

Sparse matrix vector multiplication parallel optimization method and system based on CSR storage format

The invention provides a sparse matrix vector multiplication parallel optimization method and system based on a CSR storage format, and relates to the technical field of high-performance parallel computing, and the method comprises the steps: obtaining sparse matrix data stored in the CSR format; splitting and integrating the sparse matrix by adopting a row grouping method, dividing rows with similar non-zero element numbers into the same group, and configuring computing resources for each group; the method comprises the following steps: firstly, pre-loading sparse matrix data in each group, defining a texture memory, and pre-loading the sparse matrix data into the texture memory; an independent kernel is set for each group to execute SpMV calculation of all rows in each group, and non-zero elements of sparse matrix data and corresponding vector data are preloaded into a shared memory in the calculation execution process of the kernel; and the kernel executes SpMV calculation by adopting a hybrid static-dynamic thread scheduling method until all rows are calculated, and a final result is obtained.
Owner:SHANDONG COMP SCI CENTNAT SUPERCOMP CENT IN JINAN +1

Multi-thread low-power-consumption intelligent monitoring system based on AI processor

The invention relates to the technical field of intelligent monitoring, in particular to a multi-thread low-power-consumption intelligent monitoring system based on an AI processor. The method has the advantages that aiming at the problems of unbalanced computing power and power consumption, high multi-task processing delay and strong hardware dependence in the prior art, the NPU module of the RK3588 processor is combined with the INT8 quantitative model, so that the power consumption is lower than 10W under the 6TOPS computing power; a dynamic multi-thread scheduling mechanism is designed, parallel processing of more than eight paths of video streams is supported through binding of a priority queue and an NPU core, and end-to-end delay is compressed to be within 200 ms; a zero-copy video stream architecture is constructed, data transfer is eliminated through memory mapping, and preprocessing time consumption is reduced by 90%; an energy efficiency control module is integrated, the NPU voltage frequency is dynamically adjusted according to the load, and the energy efficiency ratio reaches 0.83 TOPS / W; space-time alignment of multi-model reasoning results is realized by adopting a frame ID synchronization technology, and the mismatching rate is lower than 0.1%.
Owner:FOCALCREST LTD

SIMT stack and thread scheduling optimization method and device for GPGPU branch instruction, medium and GPGPU architecture

The invention relates to the technical field of GPGPU (General Purpose Graphics Processing Unit), and relates to an SIMT stack and thread scheduling optimization method and device for GPGPU (General Purpose Graphics Processing Unit) branch instructions, a medium and a GPGPU architecture. The method comprises the steps that in a GPGPU, an SIMT stack is optimized, an SM unit is expanded to be a double-instruction assembly line, and a main thread beam scheduler and an auxiliary thread beam scheduler are arranged. And in a non-branch state, half threads of each tube of the scheduler are executed in parallel by the assembly line. When a branch instruction is encountered, instruction addresses, thread masks and branch reunion points of the two branch paths are pressed into the SIMT stack. Judging conflicts according to the thread masks; if conflicts exist, performing serial execution; and if no conflict exists, executing on double pipelines in parallel. And when the branch is completed to a reunion point, the SIMT stack pops up an entry, and the execution is continued. The method has remarkable effects in the aspects of improving the thread resource utilization rate, improving the calculation efficiency, simplifying the branch control complexity, enhancing the GPGPU flexibility and the like.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

Data encryption transmission method and system based on national cryptographic algorithm

The invention discloses a national secret algorithm data encryption transmission method and system. The method comprises the steps of obtaining to-be-encrypted data and network parameters, establishing a Bayesian network probability ablation model, performing Monte Carlo sampling ablation national secret encryption and evaluating attack risks, and generating a probability security encryption strategy; and extracting a Brinell feature set, constructing a long and short-term memory network time prediction model, and optimizing by using a simulated annealing algorithm to obtain an optimal encryption parameter configuration sequence. Generating a key pair according to the sequence and SM2, establishing a shared key by means of an elliptic curve Diffie-Hellman protocol, deriving an SM4 session key through SM3, and establishing a hybrid encryption key system; constructing a teacher and student network model, optimizing multi-thread scheduling through adversarial distillation training and a retrieval enhancement technology, and generating a multi-thread parallel encryption architecture; and network parameters are monitored in real time, a reinforcement learning adaptive decision engine is constructed, a strategy is dynamically adjusted, and adaptive encryption transmission is completed. According to the invention, the optimal balance between the security and the efficiency in the data encryption transmission process is realized.
Owner:GUIZHOU BLUESKY INNOVATIVE SCI & TECH CO LTD

Speculative execution of kernel programs in a chiplet based architecture

One embodiment provides a multi-chiplet graphics processor comprising a plurality of chiplets, where a chiplet of the plurality of chiplets comprise a memory interface, processing resources configured to execute threads of a kernel, and thread dispatch circuitry to facilitate dispatch of threads of the kernel to the processing resources. The processing resources are configured to execute threads of a first kernel, receive dispatch of threads of a second kernel for execution before completion of the first kernel as threads of the first kernel retire, execute a first phase of the second kernel during completion of execution of the first kernel, via a thread of the first kernel, signal an event via an uncached write to a global memory, and execute a second phase of the second kernel based on detection of the event via an uncached read from the global memory.
Owner:INTEL CORP

Bindless thread dispatch mid-thread preemption on a graphics processor

Techniques are provided to enable mid-thread (instruction level) preemption in a graphics processor without requiring software intervention by a graphics driver associated with the graphics processor. Hardware based mid-thread preemption is facilitated using the thread dispatch hardware of the graphics processor to trigger execution of a kernel program by the graphics processor that saves the thread state of preempted processing resources and facilitates the subsequent restoration of that thread state to the same or a different set of processing resources.
Owner:INTEL CORP

Edge heterogeneous Internet of Things operation and maintenance chassis data processing method and system

The invention provides an edge heterogeneous Internet of Things operation and maintenance chassis data processing method and system. The method comprises the following steps: firstly, according to the types of the multi-source heterogeneous terminals, formulating a unified data acquisition scheme, defining a unified acquired data format, respectively managing and executing a data acquisition task of each multi-source heterogeneous terminal by adopting an asynchronous multi-thread scheduling mechanism, and acquiring and generating corresponding acquired original data; and performing standardization processing on the collected original data in the normal sampling state to generate a multi-source collected data set. And then, according to the type of each multi-source heterogeneous terminal, for the corresponding multi-source acquisition data set, calculating a standardized anomaly score, performing weighted comprehensive processing, generating a comprehensive anomaly score, and determining an anomaly level according to the comprehensive anomaly score. And finally, correspondingly matching the exception level of the multi-source heterogeneous terminal with a preset local protection strategy, executing a local exception protection action based on a matching result, recording exception information and reporting exception alarm information to a remote center platform.
Owner:SHANGHAI KUAN YU IND NETWORK EQUIP CO LTD

Chip resource management method, electronic equipment and medium

The invention provides a chip resource management method, electronic equipment and a medium. Determining the type of the resource of the chip; configuring the chips according to the types of the resources to obtain a configuration strategy, wherein the configuration strategy comprises permission of different chips to check the resources, a thread synchronization protocol, a resource access protocol, a communication protocol between a real-time core and a non-real-time core, a resource allocation protocol and a task scheduling protocol; testing the resource running state of the chip configured with the configuration strategy; adjusting a configuration strategy according to the test result to obtain a target configuration strategy; the overall performance of the system and the utilization rate of system resources are improved. Through effective thread scheduling, competition of the threads for shared resources can be reduced, and therefore the probability of deadlock occurrence is reduced.
Owner:CHINA SOUTHERN POWER GRID COMPANY

Dynamic core class affinitization in an information handling system

An information handling system includes a processor and a scheduler. The processor includes first cores of a first type and second cores of a second type and provides affinity information associated with first cores and the second cores. The scheduler schedules threads on the first cores and the second cores based on the affinity information. The information handling system provides an indication to the scheduler to schedule a thread on the first cores. The scheduler determines that thread is to be scheduled on the second cores based on the affinity information, and schedules the thread on the first cores based on the indication.
Owner:DELL PROD LP

Thread Scheduling Method and Device, Processor, and Computer-Readable Storage Medium

Embodiments of the present disclosure provide a thread scheduling method, apparatus, processor, and computer-readable storage medium. The thread scheduling method includes: obtaining a plurality of threads to be scheduled for object resources in a processor, and obtaining the current occupation quantity and reservation quantity of each of the plurality of threads for the object resources respectively; based on the current occupation quantity and reservation quantity of each of the plurality of threads for the object resources respectively, selecting a target thread that meets the scheduling conditions from the plurality of threads for scheduling. The thread scheduling method and apparatus can, on the premise of ensuring fairness among multiple threads, prevent a certain thread from starving and improve the overall design robustness.
Owner:HYGON INFORMATION TECH CO LTD

Method for testing functionality and stability of core board service component

The invention relates to the technical field of embedded system testing, in particular to a method for testing functionality and stability of a core board service component, which comprises the following steps of: initializing a core board testing environment, ensuring that software and hardware parameters are consistent in a testing process, and aiming at the service component on a core board, testing the service component on the core board; the method comprises the following steps of: analyzing and generating a dependency relationship graph among components by utilizing a dependency graph model, optimizing a key dependency relationship through a deep learning model, performing functional testing on the components according to a priority based on the optimized dependency relationship graph, and testing the stability of a core board during high-concurrency and multi-task operation through multi-thread scheduling and concurrent task simulation. Abnormal, resource competition and deadlock problems are detected; and finally, in combination with an actual application scene, carrying out component hot plug, network abnormity, power-off recovery and other scene tests, and analyzing test data to generate a comprehensive test report. According to the method, the test coverage rate and efficiency are improved, and stable operation of the system under complex conditions is ensured.
Owner:INNER MONGOLIA XIANHONG SCI

Thermal aware thread scheduling

Apparatuses, systems, and techniques to control utilization of a combination of processing cores. In at least one embodiment, utilization of a combination of processing cores is controlled based, at least in part, on historic thermal characteristics of the combination of the processing cores.
Owner:NVIDIA CORP

Method and system for constructing highly extensible learning index perceived by NUMA (Non Uniform Memory Access) architecture and operation method

The invention discloses an NUMA (Non Uniform Memory Access) architecture perceived high-scalability learning index construction method and system and an operation method. According to the construction method, a mixed node tree structure is adopted to organize data, the structure comprises internal nodes accurately searched by a linear model and leaf nodes for storing data, the leaf nodes are composed of ordered gap nodes and segment nodes, and the segment nodes support dynamic evolution from an ordered stage to a semi-ordered stage based on data density. Conflict data is managed using hierarchical benchmark buckets. According to the system, a self-adaptive node evolution mechanism based on an operation cost model is realized, index performance is optimized through node reconstruction triggered by foreground write operation and background hot and cold node compression, a multi-thread concurrency control strategy is adopted, and a memory management and thread scheduling framework perceived by NUMA is adopted. The operation method provides an efficient point query and point insertion operation process. The data layout can be dynamically optimized, the operation cost is reduced, and the method is suitable for high-performance database and memory management scenes.
Owner:NANJING UNIV

Multi-thread scheduling method, server and computer system

The embodiment of the invention discloses a multi-thread scheduling method, a server and a computer system, which are used for avoiding multi-thread cross-node far-end access and reducing the overhead for running a first thread and a second thread. The method comprises the steps that genetic relationship information between a first thread and a second thread is determined according to first memory access information of the first thread in a first operation stage and second memory access information of the second thread in a second operation stage; determining a first node according to the first memory access information, the second memory access information and the genetic relationship information; determining that the resource metric value of the first node is smaller than a resource threshold value; a processor unit for running the first thread and the second thread is selected from the first node.
Owner:HUAWEI TECH CO LTD

Multi-thread scheduling method, server and computer system

Disclosed in the embodiments of the present application are a multi-thread scheduling method, a server and a computer system, used for avoiding multi-threading cross-node remote access and reducing overhead of running a first thread and a second thread. The method in the embodiments of the present application comprises: according to first memory access information of a first thread in a first running stage and second memory access information of a second thread in a second running stage, determining information of affinity between the first thread and the second thread; according to the first memory access information, the second memory access information and the information of affinity, determining a first node; determining that a resource metric value of the first node is less than a resource threshold value; and selecting from the first node a processor unit used for running the first thread and the second thread.
Owner:HUAWEI TECH CO LTD

Adaptive optical matrix calculation acceleration method based on ARM architecture

The invention relates to a self-adaptive optical matrix calculation acceleration method based on an ARM framework, and belongs to the field of self-adaptive optical wavefront correction technology and embedded parallel calculation. The method comprises the following steps: analyzing a mathematical mapping relationship between a microlens array and wavefront phase distribution in a Hartmann sensor image, and constructing a wavefront matrix operation model based on an ARM multi-core architecture; designing a Hartmann image data rearrangement strategy, dividing a single-frame Hartmann image into multiple task calculation units, and realizing parallelization processing of wavefront slope calculation; a wavefront matrix operation kernel is optimized according to ARM NEON instruction set characteristics, and vectorization calculation of multi-channel wavefront reconstruction is realized by adopting an SIMD parallelization technology; and computing resource allocation is coordinated through a dynamic thread scheduling algorithm, and the task allocation proportion among multiple cores is adjusted according to the real-time load condition. According to the method, the wavefront calculation efficiency is remarkably improved, so that the overall bandwidth of the adaptive optical system is greatly improved.
Owner:INST OF OPTICS & ELECTRONICS CHINESE ACAD OF SCI

Android device remote state monitoring and intelligent operation and maintenance system

The invention relates to the technical field of state recognition, in particular to an Android device remote state monitoring and intelligent operation and maintenance system which comprises an event trigger analysis module, a state feature classification module, a state section plotting module, a state fragment packaging module and a state level response module. In the method, a state path set is constructed through time label alignment of broadcast and thread events, an access source mark and a network return parameter are combined to generate a multi-dimensional state label sequence, a thread scheduling track and a memory block are mapped to form a state section structure, and an active boundary area is positioned in combination with power consumption change. Path numbers and permission information are combined, screened and packaged into a structured state unit, response level zones are divided through the number depth and the repetition rate, and complete restoration of behavior paths and accurate recognition of state nodes under the scenes of concurrent calling, complex event chains and the like are supported. And the granularity of terminal state analysis, the traceability continuity and the hierarchical adaptation capability of operation and maintenance response are remarkably improved.
Owner:FUZHOU BLUE SHARK INFORMATION TECH CO LTD

Method for ensuring hard real-time in Linux user mode based on multi-core CPU

The invention discloses a method for ensuring hard real-time in a Linux user mode based on a multi-core CPU, and belongs to the technical field of embedded systems. According to the method, a Linux kernel is configured to be in a completely preemptable mode, user threads with the number equal to that of CPU kernels are created and bound to different kernels, a real-time scheduling kernel is selected, the thread scheduling strategy of the real-time scheduling kernel is set to be SCHEDFIFO, the priority of the real-time scheduling kernel is equal to that of the lowest-priority soft interrupt, the thread stack space is locked, the real-time kernel is isolated through kernel parameters isolcplus and nohzfull, and the cost of tick is avoided. Finally, the real-time core is exclusively used for executing the real-time task. According to the scheme, the problem that the real-time performance of the Linux user state task is poor due to the fact that a kernel cannot be preempted, scheduling delay, memory page changing, system interference and the like is effectively solved, and extremely low delay and high certainty of user state task response are ensured through multi-level collaborative optimization.
Owner:李泽龙

Runtime virtualization method and apparatus, runtime virtual machine system

The present disclosure provides a runtime virtualization method and apparatus. A specific implementation of the method includes: constructing a dynamic runtime library based on the native runtime library of an application, where the dynamic runtime library simulates threads implemented in the native runtime library in a coroutine manner; loading the dynamic runtime library when starting the application to generate a runtime virtualization environment and a coroutine scheduling thread running in the runtime virtualization environment, where the coroutine scheduling thread is used to schedule coroutines, and the runtime virtualization environment is an environment after replacing the native runtime library with a generated runtime environment; receiving a task request of the application in the runtime virtualization environment; and scheduling coroutines using the coroutine scheduling thread based on the task request and the dynamic runtime library so that the coroutines complete the tasks corresponding to the task request. This implementation improves the concurrency performance of the application, reduces resource consumption and resource scheduling pressure without making any modifications or recompiling to the application in the target operating system.
Owner:XIAN TONGXING HENGYAO INFORMATION TECHNOLOGY CO LTD

GPGPU thread scheduling method and system, terminal and storage medium

The invention belongs to the technical field of computer operation scheduling, and particularly relates to a GPGPU thread scheduling method and system, a terminal and a storage medium, and the method comprises the steps that an external host ranks calculation tasks according to the priorities of the calculation tasks, and sends a scheduling instruction to a GPGPU according to the ranking; the GPGPU divides a calculation task corresponding to each calculation core into a plurality of task blocks according to the scheduling instruction; the GPGPU configures a main thread bundle and a plurality of slave thread bundles for each task block according to the scheduling instruction, the main thread bundles are used for scheduling and activating the slave thread bundles, and the slave thread bundles are used for executing the computing tasks scheduled in the scheduling instruction after being activated. According to the method, parallel processing of tasks and effective utilization of resources are achieved, and the situation that the resources are idle is avoided.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

Real-time high-frequency sensor data acquisition system

The invention provides a real-time high-frequency sensor data acquisition system, which comprises an acquirer firmware program and an upper computer software program, and is characterized in that the acquirer firmware program acquires sensor data according to set integral time, encapsulates data acquired in a single or segmented manner into a private message format, and sends the data to an upper computer in real time through a communication module. The upper computer software is provided with a high-priority communication receiving thread and is used for receiving the segmented data messages, splicing the segmented data messages into complete frame data and storing the complete frame data into a first-level cache region; the system further comprises a plurality of data processing threads and corresponding second-level cache regions, and the data processing threads are used for processing frame data in parallel. The system supports sensors in different acquisition modes, has high-frequency data acquisition capability, improves data processing efficiency through dynamic thread scheduling, and solves the problems of data frame loss and incapability of real-time processing in a traditional architecture.
Owner:ANHUI LUQI TECHNOLOGY CO LTD

Memory key value storage system thread scheduling method and device and medium

The invention discloses a memory key value storage system thread scheduling method and device and a medium. According to the method, a system is organized into a two-layer architecture of a cache resident CR layer and a memory resident CR layer. Uniformly receiving and shunting all the requests by the CR layer; quickly processing the cached requests in the CR layer in a non-blocking manner; and the missed requests are forwarded to the MR layer in a non-blocking manner through the efficient communication queue. And after the MR layer processes the request, the completion signal is efficiently synchronized back to the CR layer by updating an implicit notification mechanism of the queue state identifier. According to the method, by effectively isolating tasks with different access characteristics, the CPU cache utilization rate is remarkably improved, load balance and low synchronization overhead under high concurrency are taken into account, and the overall performance and expandability of the system are improved.
Owner:TSINGHUA UNIVERSITY

Vision-based electric connector detection system and method

The invention discloses an electric connector detection system and method based on vision, and belongs to the field of machine vision and industrial detection, and the system comprises a large constant water star series industrial camera, a multi-angle and high-uniformity adjustable light source system, a product feeding moving and packaging mechanism, a computer control system and UI software. Wherein the computer control system adopts multi-thread scheduling, a modular architecture and a sub-pixel-level algorithm, and supports high-throughput processing of 3-6 4024 * 3036 pixel industrial cameras, an image acquisition module of the computer control system can uniformly manage multiple models of cameras, and a UI (User Interface) is a drag-and-drop interface and integrates debugging tools such as OpenGL (Open Graphics Library) and parameter hot loading; the method comprises the steps of hardware configuration, trigger starting, image acquisition, positioning correction, ROI drawing, detection, reference line determination, size measurement and sorting control, ROI drawing can adapt to regular and irregularly arranged pins, the adaptability is high, the precision is high, operation is convenient and fast, full-process automatic detection can be achieved, and the requirement of a high-speed production line is met.
Owner:NANJING UNIV OF AERONAUTICS & ASTRONAUTICS

Smart city data processing method based on Beidou positioning

The invention discloses a smart city data processing method based on Beidou positioning, which relates to the technical field of electric digital data processing, and comprises the following steps: collecting data from a Beidou positioning module and an auxiliary sensor, and preprocessing the collected data; and performing event detection on the preprocessed data, and executing intelligent response operation according to an event detection result. And performing data integrity verification and privacy protection based on a cryptographic algorithm on the data. A data processing task is divided into a plurality of sub-tasks, parallel processing is carried out on the sub-tasks at the same time on a multi-core processor or a distributed computing platform through a multi-thread scheduling algorithm, and processing resources are distributed to the sub-tasks according to a dynamic scheduling strategy. And performing time sequence analysis on the historical data and the real-time data, and constructing a prediction decision model. According to the method, on the basis of a traditional data processing technology, comprehensive analysis and prediction of various sensor data of a city are realized by introducing multi-model hybrid prediction, meta-model dynamic weight calculation and residual correction.
Owner:JIANGSU FUTURE URBAN PUBLIC SPACE DEV & OPERATION CO LTD

Thread scheduling method and device, electronic equipment and storage medium

The invention discloses a thread scheduling method and device, electronic equipment and a storage medium, and belongs to the technical field of operating systems. The method comprises the steps that a DSM PF event of a virtual machine is monitored, and the DSM PF event is triggered when a plurality of threads access the same shared memory page in a cross-node mode; according to the DSM PF events, an inter-thread incidence matrix is constructed, and the inter-thread incidence matrix is used for quantifying the number of times of triggering the DSM PF events between any two threads; the thread graph structure is divided to generate a thread grouping scheme with the aim of minimizing the number of DSM PF events between different grouping threads, the vertex of the thread graph structure represents the threads, and the adjacency matrix of the thread graph structure is the incidence matrix between the threads.
Owner:CHINA TELECOM CLOUD TECH CO LTD

Graphics processor mid-thread preemption

Techniques are provided to enable mid-thread (instruction level) preemption in a graphics processor without requiring software intervention by a graphics driver associated with the graphics processor. Hardware based mid-thread preemption is facilitated using the thread dispatch hardware of the graphics processor to trigger execution of a kernel program by the graphics processor that saves the thread state of preempted processing resources and facilitates the subsequent restoration of that thread state to the same or a different set of processing resources.
Owner:INTEL CORP

Thread scheduling method, electronic equipment, storage medium and program product

The invention discloses a thread scheduling method, electronic equipment, a storage medium and a program product, and relates to the technical field of computers, security check is performed on a source thread and a target thread through a thread switching request initiated by the source thread, an allocatable time period of the source thread allocated to the target thread is calculated according to a security detection result, and the allocatable time period of the source thread allocated to the target thread is sent to the electronic equipment. Bypassing a processing mechanism of a completely fair scheduler, updating the virtual running time of a source thread, distributing an allocable time period to a target thread, calling a context switching function to execute thread switching operation on the source thread and the target thread, and synchronously updating the virtual running time of the target thread when the target thread consumes the allocable time period. According to the thread scheduling method and device, the problem that in the related technology, when a complete fair scheduler processes high-frequency and collaborative thread tasks, due to the indirect handover mechanism and fair scheduling characteristics of the complete fair scheduler, the delay of thread scheduling is improved is solved, and the delay of thread scheduling is reduced.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

DCU architecture-oriented sparse triangle solution dynamic load balancing method and device and medium

The invention discloses a DCU architecture-oriented sparse triangle solution dynamic load balancing method and device and a medium, and relates to the technical field of high-performance computing. The method comprises the following steps: rearranging a row sequence of a sparse matrix according to a dependency relationship; wherein the dependency relationship is determined according to an external dependency item and an internal dependency item of the thread block; and based on the sparse matrix of the rearranged row sequence, dividing the sparse matrix into a plurality of sub-matrixes according to the size of a thread scheduling unit, and determining a solving strategy according to the number of average non-zero elements in each sub-matrix. On one hand, the line dependency relationship of the sparse matrix is analyzed and rearranged in the preprocessing stage, so that calculation tasks are more uniformly distributed among DCU threads, and the situation that part of threads enter a waiting state due to the fact that data dependency is not met is reduced. On the other hand, the most suitable solving mode is dynamically selected according to the number of the non-zero elements in each row, and the calculation efficiency of overall solving is greatly improved.
Owner:UNIV OF SCI & TECH BEIJING