This commit is contained in:
Evghenii
2013-11-13 16:32:56 +01:00
parent 780e9f31fe
commit 525eacd035
4 changed files with 521 additions and 55 deletions

View File

@@ -407,7 +407,6 @@ volume_ispc_tasks(uniform float density[], uniform int nVoxels[3],
// Launch tasks to work on (dx,dy)-sized tiles of the image
uniform int dx = 8, dy = 8;
uniform int nTasks = ((width+(dx-1))/dx) * ((height+(dy-1))/dy);
print("nTasks= %\n", nTasks);
launch[nTasks] volume_task(density, nVoxels, raster2camera, camera2world,
width, height, image);
}