|
@@ -19,7 +19,7 @@
|
|
|
#include <starpu_scheduler.h>
|
|
|
#include "../helper.h"
|
|
|
|
|
|
-#include "StreamFMA.h"
|
|
|
+#include "MyTasks.h"
|
|
|
#include "MaxSLiCInterface.h"
|
|
|
#define SIZE (192/sizeof(int32_t))
|
|
|
|
|
@@ -46,15 +46,15 @@ void fpga_impl(void *buffers[], void *cl_arg)
|
|
|
printf("Loading DFE memory.\n");
|
|
|
|
|
|
/* C = A+B */
|
|
|
- StreamFMA_interfaceT1(size, ptrCT1, ptrA, ptrB);
|
|
|
+ MyTasks_interfaceT1(size, ptrCT1, ptrA, ptrB);
|
|
|
printf("T1 finished\n");
|
|
|
|
|
|
/* C = A*B */
|
|
|
- StreamFMA_interfaceT2(size, ptrAT2, ptrBT2, ptrCT2);
|
|
|
+ MyTasks_interfaceT2(size, ptrAT2, ptrBT2, ptrCT2);
|
|
|
printf("T2 finished\n");
|
|
|
|
|
|
/* C = A+B */
|
|
|
- StreamFMA_interfaceT3(size, ptrAT3, ptrBT3, ptrC);
|
|
|
+ MyTasks_interfaceT3(size, ptrAT3, ptrBT3, ptrC);
|
|
|
printf("T3 finished\n");
|
|
|
|
|
|
printf("Running DFE.\n");
|
|
@@ -81,7 +81,7 @@ void fpga_impl1(void *buffers[], void *cl_arg)
|
|
|
|
|
|
printf("T1 with %p %p %zu\n", ptrA, ptrB, ptrC);
|
|
|
/* C = A+B */
|
|
|
- StreamFMA_interfaceT1(size, ptrC, ptrA, ptrB);
|
|
|
+ MyTasks_interfaceT1(size, ptrC, ptrA, ptrB);
|
|
|
printf("T1 finished\n");
|
|
|
}
|
|
|
|
|
@@ -106,7 +106,7 @@ void fpga_impl2(void *buffers[], void *cl_arg)
|
|
|
|
|
|
printf("T2 with %zu %zu %zu\n", ptrA, ptrB, ptrC);
|
|
|
/* C = A*B */
|
|
|
- StreamFMA_interfaceT2(size, ptrA, ptrB, ptrC);
|
|
|
+ MyTasks_interfaceT2(size, ptrA, ptrB, ptrC);
|
|
|
printf("T2 finished\n");
|
|
|
}
|
|
|
|
|
@@ -130,7 +130,7 @@ void fpga_impl3(void *buffers[], void *cl_arg)
|
|
|
|
|
|
printf("T3 with %zu %zu %p\n", ptrA, ptrB, ptrC);
|
|
|
/* C = A+B */
|
|
|
- StreamFMA_interfaceT3(size, ptrA, ptrB, ptrC);
|
|
|
+ MyTasks_interfaceT3(size, ptrA, ptrB, ptrC);
|
|
|
printf("T3 finished\n");
|
|
|
}
|
|
|
|