Mercurial > hg > Members > yutaka > manager
comparison ppe/Manager.cc @ 6:b25035e3282d
fix
author | yutaka@localhost.localdomain |
---|---|
date | Sat, 10 Apr 2010 16:50:55 +0900 |
parents | 8b4d6bf8c43d |
children | ec2c1003f9b6 |
comparison
equal
deleted
inserted
replaced
5:39d405bc46b7 | 6:b25035e3282d |
---|---|
28 | 28 |
29 for (tmphead = (task_head_t*)head[j].next_task; tmphead != 0; tmphead = (task_head_t*)tmphead->next_task) { | 29 for (tmphead = (task_head_t*)head[j].next_task; tmphead != 0; tmphead = (task_head_t*)tmphead->next_task) { |
30 | 30 |
31 fix_type(tmp, tmphead); | 31 fix_type(tmp, tmphead); |
32 | 32 |
33 int *out = (int*)tmp->head->ea_out; | 33 void *out = (void*)tmp->head->ea_out; |
34 int *in = (int*)tmp->input; | 34 int *in = (int*)tmp->input; |
35 | 35 |
36 int size_in = tmp->head->size_in; | 36 int size_in = tmp->head->size_in - tmp->head->pin_in; |
37 int size_out = tmp->head->size_out; | 37 int size_out = tmp->head->size_out - tmp->head->pin_out; |
38 | 38 |
39 //printf("in[%d] %f\n",i,in[i]); | 39 //printf("in[%d] %f\n",i,in[i]); |
40 //printf("out[%d] %f\n",i,out[i]); | 40 //printf("out[%d] %f\n",i,out[i]); |
41 | 41 |
42 //printf("size->out %d\n",tmp->head->size_out); | 42 //printf("size->out %d\n",tmp->head->size_out); |
68 | 68 |
69 int *out = (int*)tmp->head->ea_out; | 69 int *out = (int*)tmp->head->ea_out; |
70 int *out_spe = (int*)allocate(tmp->head->size_out); | 70 int *out_spe = (int*)allocate(tmp->head->size_out); |
71 int *in = (int*)tmp->input; | 71 int *in = (int*)tmp->input; |
72 | 72 |
73 int size_in = tmp->head->size_in; | 73 int size_in = tmp->head->size_in - tmp->head->pin_in; |
74 int size_out = tmp->head->size_out; | 74 int size_out = tmp->head->size_out - tmp->head->pin_out; |
75 | 75 |
76 //printf("in[%d] %f\n",i,in[i]); | 76 //printf("in[%d] %f\n",i,in[i]); |
77 //printf("out[%d] %f\n",i,out[i]); | 77 //printf("out[%d] %f\n",i,out[i]); |
78 | 78 |
79 run(in, out_spe, size_in, size_out); | 79 run(in, out_spe, size_in, size_out); |