+1
This commit is contained in:
@@ -131,7 +131,7 @@ int main(int argc, char *argv[]) {
|
||||
minISPC = std::min(minISPC, dt);
|
||||
}
|
||||
|
||||
printf("[mandelbrot ispc+tasks]:\t[%.3f] million cycles\n", minISPC);
|
||||
fprintf(stderr,"[mandelbrot ispc+tasks]:\t[%.3f] million cycles\n", minISPC);
|
||||
writePPM(buf, width, height, "mandelbrot-ispc.ppm");
|
||||
|
||||
|
||||
|
||||
@@ -96,8 +96,8 @@ mandelbrot_ispc(uniform float x0, uniform float y0,
|
||||
uniform int maxIterations, uniform int output[]) {
|
||||
uniform float dx = (x1 - x0) / width;
|
||||
uniform float dy = (y1 - y0) / height;
|
||||
const uniform int xspan = 32; /* make sure it is big enough to avoid false-sharing */
|
||||
const uniform int yspan = 4;
|
||||
const uniform int xspan = 64; /* make sure it is big enough to avoid false-sharing */
|
||||
const uniform int yspan = 8;
|
||||
|
||||
|
||||
#if 1
|
||||
|
||||
Reference in New Issue
Block a user