-
公开(公告)号:US11561826B1
公开(公告)日:2023-01-24
申请号:US17096136
申请日:2020-11-12
Applicant: Xilinx, Inc.
Inventor: Sumit Nagpal , Abid Karumannil , Vishal Jain , Arun Kumar Patil
IPC: G06F9/46 , G06F9/48 , G06F16/901 , G06N3/08
Abstract: Scheduling work of a machine learning application includes instantiating kernel objects by a computer processor in response to input of kernel definitions. Each kernel object is of a kernel type indicating a compute circuit. The computer processor generates a graph in a memory. Each node represents a task and specifies an assignment of the task to one or more of the kernel objects, and each edge represents a data dependency. Task queues are created in the memory and assigned to queue tasks represented by the nodes. Kernel objects are assigned to the task queues, and the tasks are enqueued by threads executing the kernel objects, based on assignments of the kernel objects to the task queues and assignments of the tasks to the kernel objects. Tasks are dequeued by the threads, and the compute circuits are activated to initiate processing of the dequeued tasks.