Mercurial > hg > GearsTemplate
comparison src/parallel_execution/taskManager.c @ 235:05e61405cc88
fix worker compile error
author | mir3636 |
---|---|
date | Mon, 23 Jan 2017 17:49:36 +0900 |
parents | 47588c28f189 |
children | 865179a0a56d |
comparison
equal
deleted
inserted
replaced
234:47588c28f189 | 235:05e61405cc88 |
---|---|
13 // 0...numIO-1 IOProcessor | 13 // 0...numIO-1 IOProcessor |
14 // numIO...numIO+numGPU-1 GPUProcessor | 14 // numIO...numIO+numGPU-1 GPUProcessor |
15 // numIO+numGPU...numIO+numGPU+numCPU-1 CPUProcessor | 15 // numIO+numGPU...numIO+numGPU+numCPU-1 CPUProcessor |
16 taskManager->io = 0; | 16 taskManager->io = 0; |
17 taskManager->gpu = numIO; | 17 taskManager->gpu = numIO; |
18 taskManeger->cpu = numIO+numGPU; | 18 taskManager->cpu = numIO+numGPU; |
19 taskManager->createTask = C_createTask; | 19 taskManager->createTask = C_createTask; |
20 taskManager->spawn = C_spawnTaskManager; | 20 taskManager->spawn = C_spawnTaskManager; |
21 taskManager->shutdown = C_shutdownTaskManager; | 21 taskManager->shutdown = C_shutdownTaskManager; |
22 return (union Data*)(taskManager); | 22 return (union Data*)(taskManager); |
23 } | 23 } |