Mercurial > hg > Papers > 2014 > kkb-sigos
view source/multiply_task_dp.cc @ 4:593671347b01
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 21 Apr 2014 22:16:31 +0900 |
parents | bff486ef0e8c |
children |
line wrap: on
line source
static int run(SchedTask *s) { // get input float* A = (float*)s->get_input(0); float* B = (float*)s->get_input(1); // get output float* C = (float*)s->get_output(0); // get index long i = (long)s->x; C[i]=A[i]*B[i]; return 0; }