added commas, added multi-dimensional tasking to mandelbrot_tasks & removed mandelbrot_task3d. Also adjusted documentaiton a bit

This commit is contained in:
evghenii
2013-12-13 11:49:11 +01:00
parent 2951cad365
commit c06ec92d0d
13 changed files with 28 additions and 518 deletions

View File

@@ -69,7 +69,7 @@ extern "C" {
void ISPCLaunch(void **handle, void *f, void *d, int count0, int count1, int count2) {
*handle = (void *)0xdeadbeef;
typedef void (*TaskFuncType)(void *, int, int, int, int, int,int,int, int,int,int);
typedef void (*TaskFuncType)(void *, int, int, int, int, int, int, int, int, int, int);
TaskFuncType func = (TaskFuncType)f;
int count = count0*count1*count2, idx = 0;
for (int k = 0; k < count2; ++k)