W 45 apps/HelloHexagon/process.cpp const int W = 1024; W 51 apps/HelloHexagon/process.cpp Halide::Runtime::Buffer<uint8_t> in(nullptr, W, H, 3); W 52 apps/HelloHexagon/process.cpp Halide::Runtime::Buffer<uint8_t> out(nullptr, W, H, 3); W 90 apps/HelloHexagon/process.cpp in(clamp(x + rx, 0, W - 1), clamp(y + ry, 0, H - 1), c); W 276 apps/fft/fft.cpp ComplexFunc W(prefix + "W"); W 278 apps/fft/fft.cpp W = (*cache)[N]; W 280 apps/fft/fft.cpp if (!W.defined()) { W 282 apps/fft/fft.cpp W(n) = expj((sign * 2 * kPi * n) / N) * gain; W 283 apps/fft/fft.cpp W.compute_root(); W 286 apps/fft/fft.cpp return W; W 333 apps/fft/fft.cpp ComplexFunc W = twiddle_factors(R * S, gain, sign, prefix, twiddle_cache); W 334 apps/fft/fft.cpp v(A({r, s, n0}, args)) = select(r > 0, likely(x_rs * W(r * (s % S))), x_rs * gain); W 40 apps/fft/main.cpp int W = 32; W 43 apps/fft/main.cpp W = atoi(argv[1]); W 52 apps/fft/main.cpp Buffer<float> in(W, H); W 54 apps/fft/main.cpp for (int x = 0; x < W; x++) { W 61 apps/fft/main.cpp Buffer<float> kernel(W, H); W 63 apps/fft/main.cpp for (int x = 0; x < W; x++) { W 64 apps/fft/main.cpp int u = x < (W - x) ? x : (W - x); W 74 apps/fft/main.cpp inv_desc.gain = 1.0f/(W*H); W 79 apps/fft/main.cpp ComplexFunc dft_in = fft2d_c2c(make_complex(in), W, H, -1, target, fwd_desc); W 80 apps/fft/main.cpp ComplexFunc dft_kernel = fft2d_c2c(make_complex(kernel), W, H, -1, target, fwd_desc); W 89 apps/fft/main.cpp ComplexFunc dft_out = fft2d_c2c(dft_filtered, W, H, 1, target, inv_desc); W 99 apps/fft/main.cpp ComplexFunc dft_in = fft2d_r2c(make_real(in), W, H, target, fwd_desc); W 100 apps/fft/main.cpp ComplexFunc dft_kernel = fft2d_r2c(make_real(kernel), W, H, target, fwd_desc); W 109 apps/fft/main.cpp filtered_r2c = fft2d_c2r(dft_filtered, W, H, target, inv_desc); W 112 apps/fft/main.cpp Buffer<float> result_c2c = filtered_c2c.realize(W, H, target); W 113 apps/fft/main.cpp Buffer<float> result_r2c = filtered_r2c.realize(W, H, target); W 116 apps/fft/main.cpp for (int x = 0; x < W; x++) { W 120 apps/fft/main.cpp correct += in((x + j + W)%W, (y + i + H)%H); W 145 apps/fft/main.cpp Buffer<float> re_in = lambda(x, y, 0.0f).realize(W, H); W 146 apps/fft/main.cpp Buffer<float> im_in = lambda(x, y, 0.0f).realize(W, H); W 157 apps/fft/main.cpp Func bench_c2c = fft2d_c2c(c2c_in, W, H, -1, target, fwd_desc); W 159 apps/fft/main.cpp Realization R_c2c = bench_c2c.realize(W, H, reps, target); W 170 apps/fft/main.cpp std::vector<std::pair<float, float>> fftw_c1(W * H); W 171 apps/fft/main.cpp std::vector<std::pair<float, float>> fftw_c2(W * H); W 172 apps/fft/main.cpp fftwf_plan c2c_plan = fftwf_plan_dft_2d(W, H, (fftwf_complex*)&fftw_c1[0], (fftwf_complex*)&fftw_c2[0], FFTW_FORWARD, FFTW_EXHAUSTIVE); W 180 apps/fft/main.cpp 5*W*H*(log2(W) + log2(H))/halide_t, W 182 apps/fft/main.cpp 5*W*H*(log2(W) + log2(H))/fftw_t, W 188 apps/fft/main.cpp Func bench_r2c = fft2d_r2c(r2c_in, W, H, target, fwd_desc); W 190 apps/fft/main.cpp Realization R_r2c = bench_r2c.realize(W, H/2 + 1, reps, target); W 197 apps/fft/main.cpp std::vector<float> fftw_r(W * H); W 198 apps/fft/main.cpp fftwf_plan r2c_plan = fftwf_plan_dft_r2c_2d(W, H, &fftw_r[0], (fftwf_complex*)&fftw_c1[0], FFTW_EXHAUSTIVE); W 206 apps/fft/main.cpp 2.5*W*H*(log2(W) + log2(H))/halide_t, W 208 apps/fft/main.cpp 2.5*W*H*(log2(W) + log2(H))/fftw_t, W 214 apps/fft/main.cpp Func bench_c2r = fft2d_c2r(c2r_in, W, H, target, inv_desc); W 216 apps/fft/main.cpp Realization R_c2r = bench_c2r.realize(W, H, reps, target); W 222 apps/fft/main.cpp fftwf_plan c2r_plan = fftwf_plan_dft_c2r_2d(W, H, (fftwf_complex*)&fftw_c1[0], &fftw_r[0], FFTW_EXHAUSTIVE); W 230 apps/fft/main.cpp 2.5*W*H*(log2(W) + log2(H))/halide_t, W 232 apps/fft/main.cpp 2.5*W*H*(log2(W) + log2(H))/fftw_t, W 15 apps/glsl/opengl_test.cpp const int W = 12, H = 32, C = 3; W 16 apps/glsl/opengl_test.cpp Buffer<uint8_t> input(W, H, C); W 17 apps/glsl/opengl_test.cpp Buffer<uint8_t> output(W, H, C); W 25 apps/glsl/opengl_test.cpp const int W = 12, H = 32, C = 3; W 26 apps/glsl/opengl_test.cpp Buffer<uint8_t> input(W, H, C); W 27 apps/glsl/opengl_test.cpp Buffer<uint8_t> output(W, H, C); W 35 apps/glsl/opengl_test.cpp const int W = 12, H = 32, C = 3; W 36 apps/glsl/opengl_test.cpp Buffer<uint8_t> temp(W, H, C); W 30 apps/hexagon_benchmarks/process.cpp const int W = 1024; W 71 apps/hexagon_benchmarks/process.cpp Conv3x3a16Descriptor conv3x3a16_pipeline(W, H); W 72 apps/hexagon_benchmarks/process.cpp Dilate3x3Descriptor dilate3x3_pipeine(W, H); W 73 apps/hexagon_benchmarks/process.cpp Median3x3Descriptor median3x3_pipeline(W, H); W 74 apps/hexagon_benchmarks/process.cpp Gaussian5x5Descriptor gaussian5x5_pipeline(W, H); W 75 apps/hexagon_benchmarks/process.cpp SobelDescriptor sobel_pipeline(W, H); W 76 apps/hexagon_benchmarks/process.cpp Conv3x3a32Descriptor conv3x3a32_pipeline(W, H); W 108 apps/hexagon_benchmarks/process.cpp if (!p->verify(W, H)) { W 62 apps/hexagon_benchmarks/process.h virtual bool verify(int W, int H) = 0; W 72 apps/hexagon_benchmarks/process.h Conv3x3a16Descriptor(int W, int H) : u8_in(nullptr, W, H, 2), W 73 apps/hexagon_benchmarks/process.h u8_out(nullptr, W, H, 2), W 110 apps/hexagon_benchmarks/process.h bool verify(const int W, const int H) { W 116 apps/hexagon_benchmarks/process.h sum += static_cast<int16_t>(u8_in(clamp(x+rx, 0, W-1), clamp(y+ry, 0, H-1))) W 157 apps/hexagon_benchmarks/process.h Dilate3x3Descriptor(int W, int H) : u8_in(nullptr, W, H, 2), W 158 apps/hexagon_benchmarks/process.h u8_out(nullptr, W, H, 2) {} W 180 apps/hexagon_benchmarks/process.h bool verify(const int W, const int H) { W 183 apps/hexagon_benchmarks/process.h auto u8_in_bounded = [&](int x_, int y_) { return u8_in(clamp(x_, 0, W-1), clamp(y_, 0, H-1)); }; W 225 apps/hexagon_benchmarks/process.h Median3x3Descriptor(int W, int H) : u8_in(nullptr, W, H, 2), W 226 apps/hexagon_benchmarks/process.h u8_out(nullptr, W, H, 2) {} W 248 apps/hexagon_benchmarks/process.h bool verify(const int W, const int H) { W 251 apps/hexagon_benchmarks/process.h auto u8_in_bounded = [&](int x_, int y_) { return u8_in(clamp(x_, 0, W-1), clamp(y_, 0, H-1)); }; W 291 apps/hexagon_benchmarks/process.h Gaussian5x5Descriptor(int W, int H) : u8_in(nullptr, W, H, 2), W 292 apps/hexagon_benchmarks/process.h u8_out(nullptr, W, H, 2) {} W 314 apps/hexagon_benchmarks/process.h bool verify(const int W, const int H) { W 322 apps/hexagon_benchmarks/process.h int16_t val = static_cast<int16_t>(u8_in(clamp(x+rx, 0, W-1), clamp(y+ry, 0, H-1))); W 359 apps/hexagon_benchmarks/process.h SobelDescriptor(int W, int H) : u8_in(nullptr, W, H, 2), W 360 apps/hexagon_benchmarks/process.h u8_out(nullptr, W, H, 2) {} W 386 apps/hexagon_benchmarks/process.h bool verify(const int W, const int H) { W 389 apps/hexagon_benchmarks/process.h auto u16_in_bounded = [&](int x_, int y_) { return static_cast<uint16_t>(u8_in(clamp(x_, 0, W-1), clamp(y_, 0, H-1))); }; W 434 apps/hexagon_benchmarks/process.h Conv3x3a32Descriptor(int W, int H) : u8_in(nullptr, W, H, 2), W 435 apps/hexagon_benchmarks/process.h u8_out(nullptr, W, H, 2), W 471 apps/hexagon_benchmarks/process.h bool verify(const int W, const int H) { W 477 apps/hexagon_benchmarks/process.h sum += static_cast<int16_t>(u8_in(clamp(x+rx, 0, W-1), clamp(y+ry, 0, H-1))) W 72 apps/simd_op_check/driver.cpp const int W = 1024, H = 128; W 76 apps/simd_op_check/driver.cpp make_buffer<float>(W, H), W 77 apps/simd_op_check/driver.cpp make_buffer<double>(W, H), W 78 apps/simd_op_check/driver.cpp make_buffer<int8_t>(W, H), W 79 apps/simd_op_check/driver.cpp make_buffer<uint8_t>(W, H), W 80 apps/simd_op_check/driver.cpp make_buffer<int16_t>(W, H), W 81 apps/simd_op_check/driver.cpp make_buffer<uint16_t>(W, H), W 82 apps/simd_op_check/driver.cpp make_buffer<int32_t>(W, H), W 83 apps/simd_op_check/driver.cpp make_buffer<uint32_t>(W, H), W 84 apps/simd_op_check/driver.cpp make_buffer<int64_t>(W, H), W 85 apps/simd_op_check/driver.cpp make_buffer<uint64_t>(W, H) W 177 test/correctness/boundary_conditions.cpp const int W = 32; W 179 test/correctness/boundary_conditions.cpp Buffer<uint8_t> input(W, H); W 181 test/correctness/boundary_conditions.cpp for (int32_t x = 0; x < W; x++) { W 182 test/correctness/boundary_conditions.cpp input(x, y) = x + y * W; W 197 test/correctness/boundary_conditions.cpp repeat_edge(input_f, 0, W, 0, H), W 203 test/correctness/boundary_conditions.cpp repeat_edge(input, 0, W, 0, H), W 210 test/correctness/boundary_conditions.cpp 0, W, test_min, test_extent, W 214 test/correctness/boundary_conditions.cpp repeat_edge(input, 0, W, Expr(), Expr()), W 235 test/correctness/boundary_conditions.cpp constant_exterior(input_f, exterior, 0, W, 0, H), W 241 test/correctness/boundary_conditions.cpp constant_exterior(input, exterior, 0, W, 0, H), W 248 test/correctness/boundary_conditions.cpp 0, W, test_min, test_extent, W 252 test/correctness/boundary_conditions.cpp constant_exterior(input, exterior, 0, W, Expr(), Expr()), W 271 test/correctness/boundary_conditions.cpp repeat_image(input_f, 0, W, 0, H), W 277 test/correctness/boundary_conditions.cpp repeat_image(input, 0, W, 0, H), W 284 test/correctness/boundary_conditions.cpp 0, W, test_min, test_extent, W 288 test/correctness/boundary_conditions.cpp repeat_image(input, 0, W, Expr(), Expr()), W 307 test/correctness/boundary_conditions.cpp mirror_image(input_f, 0, W, 0, H), W 313 test/correctness/boundary_conditions.cpp mirror_image(input, 0, W, 0, H), W 320 test/correctness/boundary_conditions.cpp 0, W, test_min, test_extent, W 324 test/correctness/boundary_conditions.cpp mirror_image(input, 0, W, Expr(), Expr()), W 343 test/correctness/boundary_conditions.cpp mirror_interior(input_f, 0, W, 0, H), W 349 test/correctness/boundary_conditions.cpp mirror_interior(input, 0, W, 0, H), W 356 test/correctness/boundary_conditions.cpp 0, W, test_min, test_extent, W 360 test/correctness/boundary_conditions.cpp mirror_interior(input, 0, W, Expr(), Expr()), W 9 test/correctness/convolution.cpp const int W = 128, H = 48; W 11 test/correctness/convolution.cpp Buffer<uint16_t> in(W, H); W 13 test/correctness/convolution.cpp for (int x = 0; x < W; x++) { W 33 test/correctness/convolution.cpp input(x, y) = in(clamp(x, 0, W-1), clamp(y, 0, H-1)); W 100 test/correctness/convolution.cpp Buffer<uint16_t> out1 = blur1.realize(W, H, target); W 101 test/correctness/convolution.cpp Buffer<uint16_t> out2 = blur2.realize(W, H, target); W 104 test/correctness/convolution.cpp for (int x = 1; x < W-1; x++) { W 9 test/correctness/convolution_multiple_kernels.cpp const int W = 64, H = 16; W 11 test/correctness/convolution_multiple_kernels.cpp Buffer<uint16_t> in(W, H); W 13 test/correctness/convolution_multiple_kernels.cpp for (int x = 0; x < W; x++) { W 22 test/correctness/convolution_multiple_kernels.cpp input(x, y) = in(clamp(x, 0, W-1), clamp(y, 0, H-1)); W 52 test/correctness/convolution_multiple_kernels.cpp Buffer<uint16_t> out = blur.realize(W, H, target); W 55 test/correctness/convolution_multiple_kernels.cpp for (int x = 2; x < W-2; x++) { W 8 test/correctness/dilate3x3.cpp const int W = 128, H = 48; W 9 test/correctness/dilate3x3.cpp Buffer<uint8_t> in(W, H); W 11 test/correctness/dilate3x3.cpp for (int x = 0; x < W; x++) { W 40 test/correctness/dilate3x3.cpp Buffer<uint8_t> out = dilate3x3.realize(W, H, target); W 43 test/correctness/dilate3x3.cpp for (int x = 1; x < W-1; x++) { W 49 test/correctness/extern_bounds_inference.cpp const int W = 30, H = 20; W 64 test/correctness/extern_bounds_inference.cpp f.infer_input_bounds(W, H); W 67 test/correctness/extern_bounds_inference.cpp check(input, 3, W, 7, H); W 95 test/correctness/extern_bounds_inference.cpp g.infer_input_bounds(W, H); W 97 test/correctness/extern_bounds_inference.cpp check(input, 3, W + 5, 7, H + 10); W 123 test/correctness/extern_bounds_inference.cpp g.infer_input_bounds(W, H); W 125 test/correctness/extern_bounds_inference.cpp check(input, 3, W + 5, 7, H + 10); W 22 test/correctness/gameoflife.cpp Expr W = (x+w-1) % w, E = (x+1) % w, N = (y+h-1) % h, S = (y+1) % h; W 23 test/correctness/gameoflife.cpp Expr livingNeighbors = (in(W, N) + in(x, N) + W 24 test/correctness/gameoflife.cpp in(E, N) + in(W, y) + W 25 test/correctness/gameoflife.cpp in(E, y) + in(W, S) + W 100 test/correctness/gameoflife.cpp Expr W = (t.x+w-1) % w, E = (t.x+1) % w, N = (t.y+h-1) % h, S = (t.y+1) % h; W 102 test/correctness/gameoflife.cpp Expr livingNeighbors = (life(W, N, lastT) + life(t.x, N, lastT) + W 103 test/correctness/gameoflife.cpp life(E, N, lastT) + life(W, t.y, lastT) + W 104 test/correctness/gameoflife.cpp life(E, t.y, lastT) + life(W, S, lastT) + W 16 test/correctness/gpu_large_alloc.cpp int W = 1024*10/4, H = 1024; W 32 test/correctness/gpu_large_alloc.cpp Buffer<int> img = g.realize(W, H, target); W 34 test/correctness/gpu_large_alloc.cpp for (int i = 0; i < W; i++) { W 95 test/correctness/halide_buffer.cpp const int W = 5, H = 4, C = 3; W 96 test/correctness/halide_buffer.cpp Buffer<float> a(W, H, C); W 97 test/correctness/halide_buffer.cpp Buffer<float> b = Buffer<float>::make_interleaved(W, H, C); W 107 test/correctness/halide_buffer.cpp if (counter != W * H * C) { W 116 test/correctness/halide_buffer.cpp float correct_b = 1 + c + C * (x + W * y); W 8 test/correctness/histogram.cpp int W = 128, H = 128; W 16 test/correctness/histogram.cpp Buffer<float> in(W, H); W 18 test/correctness/histogram.cpp for (int x = 0; x < W; x++) { W 8 test/correctness/histogram_equalize.cpp int W = 1000, H = 1000; W 11 test/correctness/histogram_equalize.cpp Buffer<uint8_t> in(W, H); W 13 test/correctness/histogram_equalize.cpp for (int x = 0; x < W; x++) { W 16 test/correctness/median3x3.cpp const int W = 256, H = 256; W 17 test/correctness/median3x3.cpp Buffer<uint8_t> in(W, H); W 20 test/correctness/median3x3.cpp for (int x = 0; x < W; x++) { W 57 test/correctness/median3x3.cpp Buffer<uint8_t> out = median3x3.realize(W, H, target); W 60 test/correctness/median3x3.cpp for (int x = 1; x < W-1; x++) { W 33 test/correctness/reorder_storage.cpp int W = 10; W 35 test/correctness/reorder_storage.cpp expected_allocation = (3*W*H + 1)*sizeof(int); W 37 test/correctness/reorder_storage.cpp g.realize(W, H, 3); W 43 test/correctness/reorder_storage.cpp int W_aligned = (W + x_alignment - 1) & ~(x_alignment - 1); W 48 test/correctness/reorder_storage.cpp g.realize(W, H, 3); W 391 test/correctness/rfactor.cpp int W = 128, H = 128; W 399 test/correctness/rfactor.cpp Buffer<float> in(W, H); W 401 test/correctness/rfactor.cpp for (int x = 0; x < W; x++) { W 19 test/correctness/simd_op_check.cpp constexpr int W = 256*3; W 112 test/correctness/simd_op_check.cpp Buffer<> b(p.type(), {W*4+H, H}); W 195 test/correctness/simd_op_check.cpp f.bound(x, 0, W).vectorize(x, vector_width); W 201 test/correctness/simd_op_check.cpp f_scalar.bound(x, 0, W); W 205 test/correctness/simd_op_check.cpp RDom r(0, W, 0, H); W 56 test/correctness/vector_cast.cpp int W = 1024; W 59 test/correctness/vector_cast.cpp Buffer<A> input(W, H); W 61 test/correctness/vector_cast.cpp for (int x = 0; x < W; x++) { W 84 test/correctness/vector_cast.cpp Buffer<B> output = f.realize(W, H); W 95 test/correctness/vector_cast.cpp for (int x = 0; x < W; x++) { W 125 test/correctness/vector_math.cpp const int W = 320; W 132 test/correctness/vector_math.cpp Buffer<A> input(W+16, H+16); W 134 test/correctness/vector_math.cpp for (int x = 0; x < W+16; x++) { W 148 test/correctness/vector_math.cpp Buffer<A> im1 = f1.realize(W, H); W 151 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 165 test/correctness/vector_math.cpp Buffer<A> im2 = f2.realize(W, H); W 168 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 182 test/correctness/vector_math.cpp Buffer<A> im3 = f3.realize(W, H); W 185 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 199 test/correctness/vector_math.cpp Buffer<A> im4 = f4.realize(W, H); W 202 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 215 test/correctness/vector_math.cpp Expr xCoord = clamp(cast<int>(input(x, y)), 0, W-1); W 219 test/correctness/vector_math.cpp Buffer<A> im5 = f5.realize(W, H); W 222 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 224 test/correctness/vector_math.cpp if (xCoord >= W) xCoord = W-1; W 244 test/correctness/vector_math.cpp Buffer<A> im5a = f5a.realize(W, H); W 247 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 265 test/correctness/vector_math.cpp Buffer<int> im6 = f6.realize(W, H); W 267 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 285 test/correctness/vector_math.cpp Buffer<A> im7 = f7.realize(W, H); W 288 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 301 test/correctness/vector_math.cpp Buffer<float> im8 = f8.realize(W, H); W 304 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 319 test/correctness/vector_math.cpp Buffer<A> im9 = f9.realize(W, H); W 322 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 344 test/correctness/vector_math.cpp Buffer<A> im10 = f10.realize(W, H); W 347 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 367 test/correctness/vector_math.cpp Buffer<A> im11 = f11.realize(W, H); W 370 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 382 test/correctness/vector_math.cpp f12(x, y) = input(W-1-x, H-1-y); W 384 test/correctness/vector_math.cpp Buffer<A> im12 = f12.realize(W, H); W 387 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 388 test/correctness/vector_math.cpp A correct = input(W-1-x, H-1-y); W 401 test/correctness/vector_math.cpp Buffer<A> im13 = f13.realize(W, H); W 404 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 417 test/correctness/vector_math.cpp Buffer<A> im14 = f14.realize(W, H); W 420 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 438 test/correctness/vector_math.cpp Buffer<int32_t> im15 = f15.realize(W, H); W 439 test/correctness/vector_math.cpp Buffer<int32_t> im16 = f16.realize(W, H); W 441 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 459 test/correctness/vector_math.cpp Expr b = input((x+1)%W, y) * 0.5f; W 466 test/correctness/vector_math.cpp Buffer<float> im15 = f15.realize(W, H); W 467 test/correctness/vector_math.cpp Buffer<float> im16 = f16.realize(W, H); W 468 test/correctness/vector_math.cpp Buffer<float> im17 = f17.realize(W, H); W 469 test/correctness/vector_math.cpp Buffer<float> im18 = f18.realize(W, H); W 470 test/correctness/vector_math.cpp Buffer<float> im19 = f19.realize(W, H); W 471 test/correctness/vector_math.cpp Buffer<float> im20 = f20.realize(W, H); W 481 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 483 test/correctness/vector_math.cpp float b = input((x+1)%W, y) * 0.5f; W 575 test/correctness/vector_math.cpp Buffer<A> im21 = f21.realize(W, H); W 578 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 608 test/correctness/vector_math.cpp Buffer<typename with_unsigned<A>::type> im22 = f22.realize(W, H); W 611 test/correctness/vector_math.cpp for (int x = 0; x < W; x++) { W 8 test/correctness/widening_reduction.cpp const int W = 256, H = 256; W 10 test/correctness/widening_reduction.cpp Buffer<uint8_t> in(W, H); W 13 test/correctness/widening_reduction.cpp for (int x = 0; x < W; x++) { W 50 test/correctness/widening_reduction.cpp Buffer<uint8_t> out = f.realize(W, H, target); W 53 test/correctness/widening_reduction.cpp for (int x = 1; x < W-1; x++) { W 92 test/correctness/widening_reduction.cpp Buffer<uint8_t> out = g.realize(W, H, target); W 95 test/correctness/widening_reduction.cpp for (int x = 1; x < W-1; x++) { W 22 test/generator/acquire_release_aottest.cpp const int W = 256, H = 256; W 211 test/generator/acquire_release_aottest.cpp Buffer<float> input(W, H); W 220 test/generator/acquire_release_aottest.cpp Buffer<float> output(W, H); W 16 test/generator/blur2x2_aottest.cpp const int W = 80, H = 80; W 27 test/generator/blur2x2_aottest.cpp Buffer<float> input = factory(W, H, 3); W 38 test/generator/blur2x2_aottest.cpp Buffer<float> output = factory(W, H, 3); W 40 test/generator/blur2x2_aottest.cpp printf("Evaluating output over %d x %d\n", W, H); W 41 test/generator/blur2x2_aottest.cpp blur2x2(input, W, H, output); W 45 test/generator/blur2x2_aottest.cpp blur2x2(input, W, H, output); W 47 test/generator/blur2x2_aottest.cpp const float megapixels = (W * H) / (1024.f * 1024.f); W 48 test/generator/blur2x2_aottest.cpp printf("Benchmark: %d %d -> %f mpix/s\n", W, H, megapixels / t); W 17 test/generator/gpu_only_aottest.cpp const int W = 32, H = 32; W 18 test/generator/gpu_only_aottest.cpp Buffer<int> input(W, H); W 33 test/generator/gpu_only_aottest.cpp Buffer<int> output(W, H); W 53 test/generator/gpu_only_aottest.cpp for (int x = 0; x < W; x++) { W 56 test/generator/multitarget_aottest.cpp const int W = 32, H = 32; W 57 test/generator/multitarget_aottest.cpp Buffer<uint32_t> output(W, H); W 68 test/generator/multitarget_aottest.cpp for (int x = 0; x < W; x++) { W 93 test/generator/multitarget_aottest.cpp Buffer<uint8_t> bad_type(W, H); W 24 test/generator/tiled_blur_aottest.cpp const int W = 80, H = 80; W 37 test/generator/tiled_blur_aottest.cpp assert(min_x >= 0 && min_y >= 0 && max_x < W && max_y < H); W 56 test/generator/tiled_blur_aottest.cpp Buffer<uint8_t> input = factory(W, H, 3); W 67 test/generator/tiled_blur_aottest.cpp Buffer<uint8_t> output = factory(W, H, 3); W 69 test/generator/tiled_blur_aottest.cpp printf("Evaluating output over %d x %d in tiles of size 32 x 32\n", W, H); W 76 test/generator/tiled_blur_aottest.cpp const float megapixels = (W * H) / (1024.f * 1024.f); W 77 test/generator/tiled_blur_aottest.cpp printf("Benchmark: %d %d -> %f mpix/s\n", W, H, megapixels / t); W 36 test/opengl/special_funcs.cpp const int W = 256, H = 256; W 37 test/opengl/special_funcs.cpp Buffer<T> cpu_result(W, H, 3); W 38 test/opengl/special_funcs.cpp Buffer<T> gpu_result(W, H, 3); W 65 test/opengl/special_funcs.cpp const int W = 256, H = 256; W 66 test/opengl/special_funcs.cpp Buffer<T> cpu_result(W, H, 3); W 67 test/opengl/special_funcs.cpp Buffer<T> gpu_result(W, H, 3); W 78 test/opengl/special_funcs.cpp err = sqrt(err / (W * H)); W 6 test/performance/boundary_conditions.cpp const int W = 4000, H = 2400; W 31 test/performance/boundary_conditions.cpp Buffer<float> out = g.realize(W, H); W 57 test/performance/boundary_conditions.cpp Buffer<float> out = g.realize(W, H); W 78 test/performance/boundary_conditions.cpp Buffer<float> in(W, H); W 81 test/performance/boundary_conditions.cpp Buffer<float> padded_in(W + 16, H + 16); W 43 test/performance/packed_planar_fusion.cpp Buffer<uint8_t> make_packed(uint8_t *host, int W, int H) { W 44 test/performance/packed_planar_fusion.cpp return Buffer<uint8_t>::make_interleaved(host, W, H, 3); W 47 test/performance/packed_planar_fusion.cpp Buffer<uint8_t> make_planar(uint8_t *host, int W, int H) { W 48 test/performance/packed_planar_fusion.cpp return Buffer<uint8_t>(host, W, H, 3); W 53 test/performance/packed_planar_fusion.cpp const int W = 1<<11, H = 1<<11; W 56 test/performance/packed_planar_fusion.cpp uint8_t *storage_1(new uint8_t[W * H * 3 + 32]); W 57 test/performance/packed_planar_fusion.cpp uint8_t *storage_2(new uint8_t[W * H * 3 + 32]); W 63 test/performance/packed_planar_fusion.cpp double t_packed_packed = test_copy(make_packed(ptr_1, W, H), W 64 test/performance/packed_planar_fusion.cpp make_packed(ptr_2, W, H)); W 65 test/performance/packed_planar_fusion.cpp double t_packed_planar = test_copy(make_packed(ptr_1, W, H), W 66 test/performance/packed_planar_fusion.cpp make_planar(ptr_2, W, H)); W 67 test/performance/packed_planar_fusion.cpp double t_planar_packed = test_copy(make_planar(ptr_1, W, H), W 68 test/performance/packed_planar_fusion.cpp make_packed(ptr_2, W, H)); W 69 test/performance/packed_planar_fusion.cpp double t_planar_planar = test_copy(make_planar(ptr_1, W, H), W 70 test/performance/packed_planar_fusion.cpp make_planar(ptr_2, W, H)); W 22 test/performance/parallel_performance.cpp Buffer<float> imf = f.realize(W, H); W 27 test/performance/parallel_performance.cpp Buffer<float> img = g.realize(W, H); W 33 test/performance/parallel_performance.cpp for (int x = 0; x < W; x++) { W 74 test/performance/rfactor.cpp int W = 1024*N1, H = 1024*N2; W 76 test/performance/rfactor.cpp Buffer<uint8_t> in(W, H); W 78 test/performance/rfactor.cpp for (int x = 0; x < W; x++) { W 86 test/performance/rfactor.cpp RDom r(0, W, 0, H); W 119 test/performance/rfactor.cpp double gbits = in.type().bits() * W * H / 1e9; // bits per seconds W 27 test/performance/vectorize.cpp int W = vec_width*1; W 30 test/performance/vectorize.cpp Buffer<A> input(W, H+20); W 32 test/performance/vectorize.cpp for (int x = 0; x < W; x++) { W 58 test/performance/vectorize.cpp Buffer<A> outputg = g.realize(W, H); W 59 test/performance/vectorize.cpp Buffer<A> outputf = f.realize(W, H); W 69 test/performance/vectorize.cpp for (int x = 0; x < W; x++) { W 20 test/performance/vectorize_pred.cpp int W = vec_width*1; W 23 test/performance/vectorize_pred.cpp Buffer<A> input(W, H+20); W 25 test/performance/vectorize_pred.cpp for (int x = 0; x < W; x++) { W 33 test/performance/vectorize_pred.cpp RDom r(0, W, 0, H); W 51 test/performance/vectorize_pred.cpp Buffer<A> outputg = g.realize(W, H); W 52 test/performance/vectorize_pred.cpp Buffer<A> outputf = f.realize(W, H); W 62 test/performance/vectorize_pred.cpp for (int x = 0; x < W; x++) {