H 46 apps/HelloHexagon/process.cpp const int H = 1024; H 51 apps/HelloHexagon/process.cpp Halide::Runtime::Buffer<uint8_t> in(nullptr, W, H, 3); H 52 apps/HelloHexagon/process.cpp Halide::Runtime::Buffer<uint8_t> out(nullptr, W, H, 3); H 90 apps/HelloHexagon/process.cpp in(clamp(x + rx, 0, W - 1), clamp(y + ry, 0, H - 1), c); H 41 apps/fft/main.cpp int H = 32; H 44 apps/fft/main.cpp H = atoi(argv[2]); H 52 apps/fft/main.cpp Buffer<float> in(W, H); H 53 apps/fft/main.cpp for (int y = 0; y < H; y++) { H 61 apps/fft/main.cpp Buffer<float> kernel(W, H); H 62 apps/fft/main.cpp for (int y = 0; y < H; y++) { H 65 apps/fft/main.cpp int v = y < (H - y) ? y : (H - y); H 74 apps/fft/main.cpp inv_desc.gain = 1.0f/(W*H); H 79 apps/fft/main.cpp ComplexFunc dft_in = fft2d_c2c(make_complex(in), W, H, -1, target, fwd_desc); H 80 apps/fft/main.cpp ComplexFunc dft_kernel = fft2d_c2c(make_complex(kernel), W, H, -1, target, fwd_desc); H 89 apps/fft/main.cpp ComplexFunc dft_out = fft2d_c2c(dft_filtered, W, H, 1, target, inv_desc); H 99 apps/fft/main.cpp ComplexFunc dft_in = fft2d_r2c(make_real(in), W, H, target, fwd_desc); H 100 apps/fft/main.cpp ComplexFunc dft_kernel = fft2d_r2c(make_real(kernel), W, H, target, fwd_desc); H 109 apps/fft/main.cpp filtered_r2c = fft2d_c2r(dft_filtered, W, H, target, inv_desc); H 112 apps/fft/main.cpp Buffer<float> result_c2c = filtered_c2c.realize(W, H, target); H 113 apps/fft/main.cpp Buffer<float> result_r2c = filtered_r2c.realize(W, H, target); H 115 apps/fft/main.cpp for (int y = 0; y < H; y++) { H 120 apps/fft/main.cpp correct += in((x + j + W)%W, (y + i + H)%H); H 145 apps/fft/main.cpp Buffer<float> re_in = lambda(x, y, 0.0f).realize(W, H); H 146 apps/fft/main.cpp Buffer<float> im_in = lambda(x, y, 0.0f).realize(W, H); H 157 apps/fft/main.cpp Func bench_c2c = fft2d_c2c(c2c_in, W, H, -1, target, fwd_desc); H 159 apps/fft/main.cpp Realization R_c2c = bench_c2c.realize(W, H, reps, target); H 170 apps/fft/main.cpp std::vector<std::pair<float, float>> fftw_c1(W * H); H 171 apps/fft/main.cpp std::vector<std::pair<float, float>> fftw_c2(W * H); H 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); H 180 apps/fft/main.cpp 5*W*H*(log2(W) + log2(H))/halide_t, H 182 apps/fft/main.cpp 5*W*H*(log2(W) + log2(H))/fftw_t, H 188 apps/fft/main.cpp Func bench_r2c = fft2d_r2c(r2c_in, W, H, target, fwd_desc); H 190 apps/fft/main.cpp Realization R_r2c = bench_r2c.realize(W, H/2 + 1, reps, target); H 197 apps/fft/main.cpp std::vector<float> fftw_r(W * H); H 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); H 206 apps/fft/main.cpp 2.5*W*H*(log2(W) + log2(H))/halide_t, H 208 apps/fft/main.cpp 2.5*W*H*(log2(W) + log2(H))/fftw_t, H 214 apps/fft/main.cpp Func bench_c2r = fft2d_c2r(c2r_in, W, H, target, inv_desc); H 216 apps/fft/main.cpp Realization R_c2r = bench_c2r.realize(W, H, reps, target); H 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); H 230 apps/fft/main.cpp 2.5*W*H*(log2(W) + log2(H))/halide_t, H 232 apps/fft/main.cpp 2.5*W*H*(log2(W) + log2(H))/fftw_t, H 15 apps/glsl/opengl_test.cpp const int W = 12, H = 32, C = 3; H 16 apps/glsl/opengl_test.cpp Buffer<uint8_t> input(W, H, C); H 17 apps/glsl/opengl_test.cpp Buffer<uint8_t> output(W, H, C); H 25 apps/glsl/opengl_test.cpp const int W = 12, H = 32, C = 3; H 26 apps/glsl/opengl_test.cpp Buffer<uint8_t> input(W, H, C); H 27 apps/glsl/opengl_test.cpp Buffer<uint8_t> output(W, H, C); H 35 apps/glsl/opengl_test.cpp const int W = 12, H = 32, C = 3; H 36 apps/glsl/opengl_test.cpp Buffer<uint8_t> temp(W, H, C); H 31 apps/hexagon_benchmarks/process.cpp const int H = 1024; H 71 apps/hexagon_benchmarks/process.cpp Conv3x3a16Descriptor conv3x3a16_pipeline(W, H); H 72 apps/hexagon_benchmarks/process.cpp Dilate3x3Descriptor dilate3x3_pipeine(W, H); H 73 apps/hexagon_benchmarks/process.cpp Median3x3Descriptor median3x3_pipeline(W, H); H 74 apps/hexagon_benchmarks/process.cpp Gaussian5x5Descriptor gaussian5x5_pipeline(W, H); H 75 apps/hexagon_benchmarks/process.cpp SobelDescriptor sobel_pipeline(W, H); H 76 apps/hexagon_benchmarks/process.cpp Conv3x3a32Descriptor conv3x3a32_pipeline(W, H); H 108 apps/hexagon_benchmarks/process.cpp if (!p->verify(W, H)) { H 62 apps/hexagon_benchmarks/process.h virtual bool verify(int W, int H) = 0; H 72 apps/hexagon_benchmarks/process.h Conv3x3a16Descriptor(int W, int H) : u8_in(nullptr, W, H, 2), H 73 apps/hexagon_benchmarks/process.h u8_out(nullptr, W, H, 2), H 110 apps/hexagon_benchmarks/process.h bool verify(const int W, const int H) { H 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))) H 157 apps/hexagon_benchmarks/process.h Dilate3x3Descriptor(int W, int H) : u8_in(nullptr, W, H, 2), H 158 apps/hexagon_benchmarks/process.h u8_out(nullptr, W, H, 2) {} H 180 apps/hexagon_benchmarks/process.h bool verify(const int W, const int H) { H 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)); }; H 225 apps/hexagon_benchmarks/process.h Median3x3Descriptor(int W, int H) : u8_in(nullptr, W, H, 2), H 226 apps/hexagon_benchmarks/process.h u8_out(nullptr, W, H, 2) {} H 248 apps/hexagon_benchmarks/process.h bool verify(const int W, const int H) { H 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)); }; H 291 apps/hexagon_benchmarks/process.h Gaussian5x5Descriptor(int W, int H) : u8_in(nullptr, W, H, 2), H 292 apps/hexagon_benchmarks/process.h u8_out(nullptr, W, H, 2) {} H 314 apps/hexagon_benchmarks/process.h bool verify(const int W, const int H) { H 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))); H 359 apps/hexagon_benchmarks/process.h SobelDescriptor(int W, int H) : u8_in(nullptr, W, H, 2), H 360 apps/hexagon_benchmarks/process.h u8_out(nullptr, W, H, 2) {} H 386 apps/hexagon_benchmarks/process.h bool verify(const int W, const int H) { H 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))); }; H 434 apps/hexagon_benchmarks/process.h Conv3x3a32Descriptor(int W, int H) : u8_in(nullptr, W, H, 2), H 435 apps/hexagon_benchmarks/process.h u8_out(nullptr, W, H, 2), H 471 apps/hexagon_benchmarks/process.h bool verify(const int W, const int H) { H 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))) H 72 apps/simd_op_check/driver.cpp const int W = 1024, H = 128; H 76 apps/simd_op_check/driver.cpp make_buffer<float>(W, H), H 77 apps/simd_op_check/driver.cpp make_buffer<double>(W, H), H 78 apps/simd_op_check/driver.cpp make_buffer<int8_t>(W, H), H 79 apps/simd_op_check/driver.cpp make_buffer<uint8_t>(W, H), H 80 apps/simd_op_check/driver.cpp make_buffer<int16_t>(W, H), H 81 apps/simd_op_check/driver.cpp make_buffer<uint16_t>(W, H), H 82 apps/simd_op_check/driver.cpp make_buffer<int32_t>(W, H), H 83 apps/simd_op_check/driver.cpp make_buffer<uint32_t>(W, H), H 84 apps/simd_op_check/driver.cpp make_buffer<int64_t>(W, H), H 85 apps/simd_op_check/driver.cpp make_buffer<uint64_t>(W, H) H 178 test/correctness/boundary_conditions.cpp const int H = 32; H 179 test/correctness/boundary_conditions.cpp Buffer<uint8_t> input(W, H); H 180 test/correctness/boundary_conditions.cpp for (int32_t y = 0; y < H; y++) { H 197 test/correctness/boundary_conditions.cpp repeat_edge(input_f, 0, W, 0, H), H 203 test/correctness/boundary_conditions.cpp repeat_edge(input, 0, W, 0, H), H 209 test/correctness/boundary_conditions.cpp repeat_edge(input, Expr(), Expr(), 0, H), H 215 test/correctness/boundary_conditions.cpp test_min, test_extent, 0, H, H 235 test/correctness/boundary_conditions.cpp constant_exterior(input_f, exterior, 0, W, 0, H), H 241 test/correctness/boundary_conditions.cpp constant_exterior(input, exterior, 0, W, 0, H), H 247 test/correctness/boundary_conditions.cpp constant_exterior(input, exterior, Expr(), Expr(), 0, H), H 253 test/correctness/boundary_conditions.cpp test_min, test_extent, 0, H, H 271 test/correctness/boundary_conditions.cpp repeat_image(input_f, 0, W, 0, H), H 277 test/correctness/boundary_conditions.cpp repeat_image(input, 0, W, 0, H), H 283 test/correctness/boundary_conditions.cpp repeat_image(input, Expr(), Expr(), 0, H), H 289 test/correctness/boundary_conditions.cpp test_min, test_extent, 0, H, H 307 test/correctness/boundary_conditions.cpp mirror_image(input_f, 0, W, 0, H), H 313 test/correctness/boundary_conditions.cpp mirror_image(input, 0, W, 0, H), H 319 test/correctness/boundary_conditions.cpp mirror_image(input, Expr(), Expr(), 0, H), H 325 test/correctness/boundary_conditions.cpp test_min, test_extent, 0, H, H 343 test/correctness/boundary_conditions.cpp mirror_interior(input_f, 0, W, 0, H), H 349 test/correctness/boundary_conditions.cpp mirror_interior(input, 0, W, 0, H), H 355 test/correctness/boundary_conditions.cpp mirror_interior(input, Expr(), Expr(), 0, H), H 361 test/correctness/boundary_conditions.cpp test_min, test_extent, 0, H, H 9 test/correctness/convolution.cpp const int W = 128, H = 48; H 11 test/correctness/convolution.cpp Buffer<uint16_t> in(W, H); H 12 test/correctness/convolution.cpp for (int y = 0; y < H; y++) { H 33 test/correctness/convolution.cpp input(x, y) = in(clamp(x, 0, W-1), clamp(y, 0, H-1)); H 100 test/correctness/convolution.cpp Buffer<uint16_t> out1 = blur1.realize(W, H, target); H 101 test/correctness/convolution.cpp Buffer<uint16_t> out2 = blur2.realize(W, H, target); H 103 test/correctness/convolution.cpp for (int y = 1; y < H-1; y++) { H 9 test/correctness/convolution_multiple_kernels.cpp const int W = 64, H = 16; H 11 test/correctness/convolution_multiple_kernels.cpp Buffer<uint16_t> in(W, H); H 12 test/correctness/convolution_multiple_kernels.cpp for (int y = 0; y < H; y++) { H 22 test/correctness/convolution_multiple_kernels.cpp input(x, y) = in(clamp(x, 0, W-1), clamp(y, 0, H-1)); H 52 test/correctness/convolution_multiple_kernels.cpp Buffer<uint16_t> out = blur.realize(W, H, target); H 54 test/correctness/convolution_multiple_kernels.cpp for (int y = 2; y < H-2; y++) { H 8 test/correctness/dilate3x3.cpp const int W = 128, H = 48; H 9 test/correctness/dilate3x3.cpp Buffer<uint8_t> in(W, H); H 10 test/correctness/dilate3x3.cpp for (int y = 0; y < H; y++) { H 40 test/correctness/dilate3x3.cpp Buffer<uint8_t> out = dilate3x3.realize(W, H, target); H 42 test/correctness/dilate3x3.cpp for (int y = 1; y < H-1; y++) { H 49 test/correctness/extern_bounds_inference.cpp const int W = 30, H = 20; H 64 test/correctness/extern_bounds_inference.cpp f.infer_input_bounds(W, H); H 67 test/correctness/extern_bounds_inference.cpp check(input, 3, W, 7, H); H 95 test/correctness/extern_bounds_inference.cpp g.infer_input_bounds(W, H); H 97 test/correctness/extern_bounds_inference.cpp check(input, 3, W + 5, 7, H + 10); H 123 test/correctness/extern_bounds_inference.cpp g.infer_input_bounds(W, H); H 125 test/correctness/extern_bounds_inference.cpp check(input, 3, W + 5, 7, H + 10); H 16 test/correctness/gpu_large_alloc.cpp int W = 1024*10/4, H = 1024; H 32 test/correctness/gpu_large_alloc.cpp Buffer<int> img = g.realize(W, H, target); H 35 test/correctness/gpu_large_alloc.cpp for (int j = 0; j < H; j++) { H 95 test/correctness/halide_buffer.cpp const int W = 5, H = 4, C = 3; H 96 test/correctness/halide_buffer.cpp Buffer<float> a(W, H, C); H 97 test/correctness/halide_buffer.cpp Buffer<float> b = Buffer<float>::make_interleaved(W, H, C); H 107 test/correctness/halide_buffer.cpp if (counter != W * H * C) { H 8 test/correctness/histogram.cpp int W = 128, H = 128; H 16 test/correctness/histogram.cpp Buffer<float> in(W, H); H 17 test/correctness/histogram.cpp for (int y = 0; y < H; y++) { H 8 test/correctness/histogram_equalize.cpp int W = 1000, H = 1000; H 11 test/correctness/histogram_equalize.cpp Buffer<uint8_t> in(W, H); H 12 test/correctness/histogram_equalize.cpp for (int y = 0; y < H; y++) { H 16 test/correctness/median3x3.cpp const int W = 256, H = 256; H 17 test/correctness/median3x3.cpp Buffer<uint8_t> in(W, H); H 19 test/correctness/median3x3.cpp for (int y = 0; y < H; y++) { H 57 test/correctness/median3x3.cpp Buffer<uint8_t> out = median3x3.realize(W, H, target); H 59 test/correctness/median3x3.cpp for (int y = 1; y < H-1; y++) { H 34 test/correctness/reorder_storage.cpp int H = 11; H 35 test/correctness/reorder_storage.cpp expected_allocation = (3*W*H + 1)*sizeof(int); H 37 test/correctness/reorder_storage.cpp g.realize(W, H, 3); H 44 test/correctness/reorder_storage.cpp expected_allocation = (W_aligned*H*3 + 1)*sizeof(int); H 48 test/correctness/reorder_storage.cpp g.realize(W, H, 3); H 391 test/correctness/rfactor.cpp int W = 128, H = 128; H 399 test/correctness/rfactor.cpp Buffer<float> in(W, H); H 400 test/correctness/rfactor.cpp for (int y = 0; y < H; y++) { H 20 test/correctness/simd_op_check.cpp constexpr int H = 128; H 112 test/correctness/simd_op_check.cpp Buffer<> b(p.type(), {W*4+H, H}); H 205 test/correctness/simd_op_check.cpp RDom r(0, W, 0, H); H 57 test/correctness/vector_cast.cpp int H = 1; H 59 test/correctness/vector_cast.cpp Buffer<A> input(W, H); H 60 test/correctness/vector_cast.cpp for (int y = 0; y < H; y++) { H 84 test/correctness/vector_cast.cpp Buffer<B> output = f.realize(W, H); H 94 test/correctness/vector_cast.cpp for (int y = 0; y < H; y++) { H 126 test/correctness/vector_math.cpp const int H = 16; H 132 test/correctness/vector_math.cpp Buffer<A> input(W+16, H+16); H 133 test/correctness/vector_math.cpp for (int y = 0; y < H+16; y++) { H 148 test/correctness/vector_math.cpp Buffer<A> im1 = f1.realize(W, H); H 150 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 165 test/correctness/vector_math.cpp Buffer<A> im2 = f2.realize(W, H); H 167 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 182 test/correctness/vector_math.cpp Buffer<A> im3 = f3.realize(W, H); H 184 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 199 test/correctness/vector_math.cpp Buffer<A> im4 = f4.realize(W, H); H 201 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 216 test/correctness/vector_math.cpp Expr yCoord = clamp(cast<int>(input(x+1, y)), 0, H-1); H 219 test/correctness/vector_math.cpp Buffer<A> im5 = f5.realize(W, H); H 221 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 228 test/correctness/vector_math.cpp if (yCoord >= H) yCoord = H-1; H 244 test/correctness/vector_math.cpp Buffer<A> im5a = f5a.realize(W, H); H 246 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 261 test/correctness/vector_math.cpp f6(x, clamp(x*x, 0, H-1)) = 1; H 265 test/correctness/vector_math.cpp Buffer<int> im6 = f6.realize(W, H); H 269 test/correctness/vector_math.cpp if (yCoord >= H) yCoord = H-1; H 271 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 285 test/correctness/vector_math.cpp Buffer<A> im7 = f7.realize(W, H); H 287 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 301 test/correctness/vector_math.cpp Buffer<float> im8 = f8.realize(W, H); H 303 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 319 test/correctness/vector_math.cpp Buffer<A> im9 = f9.realize(W, H); H 321 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 344 test/correctness/vector_math.cpp Buffer<A> im10 = f10.realize(W, H); H 346 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 367 test/correctness/vector_math.cpp Buffer<A> im11 = f11.realize(W, H); H 369 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 382 test/correctness/vector_math.cpp f12(x, y) = input(W-1-x, H-1-y); H 384 test/correctness/vector_math.cpp Buffer<A> im12 = f12.realize(W, H); H 386 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 388 test/correctness/vector_math.cpp A correct = input(W-1-x, H-1-y); H 401 test/correctness/vector_math.cpp Buffer<A> im13 = f13.realize(W, H); H 403 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 417 test/correctness/vector_math.cpp Buffer<A> im14 = f14.realize(W, H); H 419 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 438 test/correctness/vector_math.cpp Buffer<int32_t> im15 = f15.realize(W, H); H 439 test/correctness/vector_math.cpp Buffer<int32_t> im16 = f16.realize(W, H); H 440 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 466 test/correctness/vector_math.cpp Buffer<float> im15 = f15.realize(W, H); H 467 test/correctness/vector_math.cpp Buffer<float> im16 = f16.realize(W, H); H 468 test/correctness/vector_math.cpp Buffer<float> im17 = f17.realize(W, H); H 469 test/correctness/vector_math.cpp Buffer<float> im18 = f18.realize(W, H); H 470 test/correctness/vector_math.cpp Buffer<float> im19 = f19.realize(W, H); H 471 test/correctness/vector_math.cpp Buffer<float> im20 = f20.realize(W, H); H 480 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 575 test/correctness/vector_math.cpp Buffer<A> im21 = f21.realize(W, H); H 577 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 608 test/correctness/vector_math.cpp Buffer<typename with_unsigned<A>::type> im22 = f22.realize(W, H); H 610 test/correctness/vector_math.cpp for (int y = 0; y < H; y++) { H 8 test/correctness/widening_reduction.cpp const int W = 256, H = 256; H 10 test/correctness/widening_reduction.cpp Buffer<uint8_t> in(W, H); H 12 test/correctness/widening_reduction.cpp for (int y = 0; y < H; y++) { H 50 test/correctness/widening_reduction.cpp Buffer<uint8_t> out = f.realize(W, H, target); H 52 test/correctness/widening_reduction.cpp for (int y = 1; y < H-1; y++) { H 92 test/correctness/widening_reduction.cpp Buffer<uint8_t> out = g.realize(W, H, target); H 94 test/correctness/widening_reduction.cpp for (int y = 1; y < H-1; y++) { H 22 test/generator/acquire_release_aottest.cpp const int W = 256, H = 256; H 211 test/generator/acquire_release_aottest.cpp Buffer<float> input(W, H); H 220 test/generator/acquire_release_aottest.cpp Buffer<float> output(W, H); H 16 test/generator/blur2x2_aottest.cpp const int W = 80, H = 80; H 27 test/generator/blur2x2_aottest.cpp Buffer<float> input = factory(W, H, 3); H 38 test/generator/blur2x2_aottest.cpp Buffer<float> output = factory(W, H, 3); H 40 test/generator/blur2x2_aottest.cpp printf("Evaluating output over %d x %d\n", W, H); H 41 test/generator/blur2x2_aottest.cpp blur2x2(input, W, H, output); H 45 test/generator/blur2x2_aottest.cpp blur2x2(input, W, H, output); H 47 test/generator/blur2x2_aottest.cpp const float megapixels = (W * H) / (1024.f * 1024.f); H 48 test/generator/blur2x2_aottest.cpp printf("Benchmark: %d %d -> %f mpix/s\n", W, H, megapixels / t); H 17 test/generator/gpu_only_aottest.cpp const int W = 32, H = 32; H 18 test/generator/gpu_only_aottest.cpp Buffer<int> input(W, H); H 33 test/generator/gpu_only_aottest.cpp Buffer<int> output(W, H); H 52 test/generator/gpu_only_aottest.cpp for (int y = 0; y < H; y++) { H 56 test/generator/multitarget_aottest.cpp const int W = 32, H = 32; H 57 test/generator/multitarget_aottest.cpp Buffer<uint32_t> output(W, H); H 67 test/generator/multitarget_aottest.cpp for (int y = 0; y < H; y++) { H 93 test/generator/multitarget_aottest.cpp Buffer<uint8_t> bad_type(W, H); H 24 test/generator/tiled_blur_aottest.cpp const int W = 80, H = 80; H 37 test/generator/tiled_blur_aottest.cpp assert(min_x >= 0 && min_y >= 0 && max_x < W && max_y < H); H 56 test/generator/tiled_blur_aottest.cpp Buffer<uint8_t> input = factory(W, H, 3); H 67 test/generator/tiled_blur_aottest.cpp Buffer<uint8_t> output = factory(W, H, 3); H 69 test/generator/tiled_blur_aottest.cpp printf("Evaluating output over %d x %d in tiles of size 32 x 32\n", W, H); H 76 test/generator/tiled_blur_aottest.cpp const float megapixels = (W * H) / (1024.f * 1024.f); H 77 test/generator/tiled_blur_aottest.cpp printf("Benchmark: %d %d -> %f mpix/s\n", W, H, megapixels / t); H 36 test/opengl/special_funcs.cpp const int W = 256, H = 256; H 37 test/opengl/special_funcs.cpp Buffer<T> cpu_result(W, H, 3); H 38 test/opengl/special_funcs.cpp Buffer<T> gpu_result(W, H, 3); H 65 test/opengl/special_funcs.cpp const int W = 256, H = 256; H 66 test/opengl/special_funcs.cpp Buffer<T> cpu_result(W, H, 3); H 67 test/opengl/special_funcs.cpp Buffer<T> gpu_result(W, H, 3); H 78 test/opengl/special_funcs.cpp err = sqrt(err / (W * H)); H 6 test/performance/boundary_conditions.cpp const int W = 4000, H = 2400; H 31 test/performance/boundary_conditions.cpp Buffer<float> out = g.realize(W, H); H 57 test/performance/boundary_conditions.cpp Buffer<float> out = g.realize(W, H); H 78 test/performance/boundary_conditions.cpp Buffer<float> in(W, H); H 81 test/performance/boundary_conditions.cpp Buffer<float> padded_in(W + 16, H + 16); H 43 test/performance/packed_planar_fusion.cpp Buffer<uint8_t> make_packed(uint8_t *host, int W, int H) { H 44 test/performance/packed_planar_fusion.cpp return Buffer<uint8_t>::make_interleaved(host, W, H, 3); H 47 test/performance/packed_planar_fusion.cpp Buffer<uint8_t> make_planar(uint8_t *host, int W, int H) { H 48 test/performance/packed_planar_fusion.cpp return Buffer<uint8_t>(host, W, H, 3); H 53 test/performance/packed_planar_fusion.cpp const int W = 1<<11, H = 1<<11; H 56 test/performance/packed_planar_fusion.cpp uint8_t *storage_1(new uint8_t[W * H * 3 + 32]); H 57 test/performance/packed_planar_fusion.cpp uint8_t *storage_2(new uint8_t[W * H * 3 + 32]); H 63 test/performance/packed_planar_fusion.cpp double t_packed_packed = test_copy(make_packed(ptr_1, W, H), H 64 test/performance/packed_planar_fusion.cpp make_packed(ptr_2, W, H)); H 65 test/performance/packed_planar_fusion.cpp double t_packed_planar = test_copy(make_packed(ptr_1, W, H), H 66 test/performance/packed_planar_fusion.cpp make_planar(ptr_2, W, H)); H 67 test/performance/packed_planar_fusion.cpp double t_planar_packed = test_copy(make_planar(ptr_1, W, H), H 68 test/performance/packed_planar_fusion.cpp make_packed(ptr_2, W, H)); H 69 test/performance/packed_planar_fusion.cpp double t_planar_planar = test_copy(make_planar(ptr_1, W, H), H 70 test/performance/packed_planar_fusion.cpp make_planar(ptr_2, W, H)); H 22 test/performance/parallel_performance.cpp Buffer<float> imf = f.realize(W, H); H 27 test/performance/parallel_performance.cpp Buffer<float> img = g.realize(W, H); H 32 test/performance/parallel_performance.cpp for (int y = 0; y < H; y++) { H 74 test/performance/rfactor.cpp int W = 1024*N1, H = 1024*N2; H 76 test/performance/rfactor.cpp Buffer<uint8_t> in(W, H); H 77 test/performance/rfactor.cpp for (int y = 0; y < H; y++) { H 86 test/performance/rfactor.cpp RDom r(0, W, 0, H); H 119 test/performance/rfactor.cpp double gbits = in.type().bits() * W * H / 1e9; // bits per seconds H 28 test/performance/vectorize.cpp int H = 10000; H 30 test/performance/vectorize.cpp Buffer<A> input(W, H+20); H 31 test/performance/vectorize.cpp for (int y = 0; y < H+20; y++) { H 58 test/performance/vectorize.cpp Buffer<A> outputg = g.realize(W, H); H 59 test/performance/vectorize.cpp Buffer<A> outputf = f.realize(W, H); H 68 test/performance/vectorize.cpp for (int y = 0; y < H; y++) { H 21 test/performance/vectorize_pred.cpp int H = 50000; H 23 test/performance/vectorize_pred.cpp Buffer<A> input(W, H+20); H 24 test/performance/vectorize_pred.cpp for (int y = 0; y < H+20; y++) { H 33 test/performance/vectorize_pred.cpp RDom r(0, W, 0, H); H 51 test/performance/vectorize_pred.cpp Buffer<A> outputg = g.realize(W, H); H 52 test/performance/vectorize_pred.cpp Buffer<A> outputf = f.realize(W, H); H 61 test/performance/vectorize_pred.cpp for (int y = 0; y < H; y++) {