Patent ID: 11893414
Assignee: CAMBRICON TECHNOLOGIES CORPORATION LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 1:
2. The method of claim 1, wherein the task to be processed includes an offline task, wherein the setting the degree of parallelism of the second processor according to the parallel degree parameter so as to make the multiple cores in the second processor perform the task to be processed by using the degree of parallelism further includes:
determining the degree of model parallelism and the degree of data parallelism according to the model parallel parameter and the data parallel parameter respectively,
compiling the offline task according to the degree of model parallelism to generate an offline file, and
transferring data and the degree of data parallelism in the offline file to the second processor by using a third command, so that the second processor acquires data according to the degree of data parallelism and executes the program to be executed in the offline file to process the data.