specialize 38 apps/HelloAndroid/jni/hello_generator.cpp curved.specialize(input.dim(0).stride() == 1); specialize 39 apps/HelloAndroid/jni/hello_generator.cpp curved.specialize(input.dim(0).stride() == -1); specialize 24 apps/HelloAndroidCamera2/jni/deinterleave_generator.cpp result.specialize(uvInterleaved.dim(0).stride() == 1); specialize 25 apps/HelloAndroidCamera2/jni/deinterleave_generator.cpp result.specialize(uvInterleaved.dim(0).stride() == -1); specialize 42 apps/HelloAndroidCamera2/jni/edge_detect_generator.cpp result.specialize(input.dim(0).stride() == 1); specialize 43 apps/HelloAndroidCamera2/jni/edge_detect_generator.cpp result.specialize(input.dim(0).stride() == -1); specialize 231 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp render.specialize(output_bgra == true); specialize 232 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp render.specialize(output_bgra == false); specialize 77 apps/linear_algebra/src/blas_l2_generators.cpp result.specialize((sum_size / vec_size) * vec_size == sum_size) specialize 78 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(size >= unroll_size).vectorize(i, unroll_size) specialize 79 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(size >= block_size_) specialize 83 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(size >= unroll_size).vectorize(i, unroll_size) specialize 84 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(size >= block_size_) specialize 104 apps/linear_algebra/src/blas_l2_generators.cpp sum_lanes.specialize(size >= vec_size).vectorize(i, vec_size);//.unroll(i); specialize 105 apps/linear_algebra/src/blas_l2_generators.cpp sum_lanes.update().specialize(size >= vec_size).vectorize(i, vec_size);//.unroll(i); specialize 107 apps/linear_algebra/src/blas_l2_generators.cpp sum_tail.specialize(size >= vec_size).vectorize(i, vec_size);//.unroll(i); specialize 108 apps/linear_algebra/src/blas_l2_generators.cpp sum_tail.update().specialize(size >= vec_size).vectorize(i, vec_size);//.unroll(i); specialize 131 apps/linear_algebra/src/blas_l2_generators.cpp result.specialize(tail_size == 0) specialize 132 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(size >= vec_size).vectorize(i, vec_size) specialize 133 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(size >= unroll_size * vec_size).unroll(i, unroll_size) specialize 134 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(size >= block_size_) specialize 137 apps/linear_algebra/src/blas_l2_generators.cpp result.specialize(size >= vec_size).vectorize(i, vec_size) specialize 138 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(size >= unroll_size * vec_size).unroll(i, unroll_size) specialize 139 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(size >= block_size_) specialize 143 apps/linear_algebra/src/blas_l2_generators.cpp block.specialize(size >= vec_size).vectorize(i, vec_size); specialize 144 apps/linear_algebra/src/blas_l2_generators.cpp block.update().specialize(size >= vec_size && sum_size >= unroll_size) specialize 149 apps/linear_algebra/src/blas_l2_generators.cpp block.update().specialize(size >= vec_size).vectorize(i, vec_size); specialize 151 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(size >= vec_size).vectorize(i, vec_size) specialize 152 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(sum_size >= unroll_size).unroll(i, unroll_size); specialize 166 apps/linear_algebra/src/blas_l2_generators.cpp output.specialize(size >= vec_size).vectorize(i, vec_size) specialize 167 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(size >= unroll_size * vec_size).unroll(i, unroll_size) specialize 168 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(size >= block_size_) specialize 220 apps/linear_algebra/src/blas_l2_generators.cpp result.specialize(num_rows >= vec_size).vectorize(i, vec_size) specialize 221 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(num_cols >= unroll_size).unroll(j, unroll_size) specialize 222 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(num_rows >= block_size_ && num_cols >= block_size_) specialize 224 apps/linear_algebra/src/blas_l2_generators.cpp .specialize(num_rows >= 2 * block_size_ && num_cols >= 2 * block_size_) specialize 111 apps/linear_algebra/src/blas_l3_generators.cpp result.specialize(num_rows >= 512 && num_cols >= 512) specialize 116 apps/linear_algebra/src/blas_l3_generators.cpp result.specialize(num_rows >= 128 && num_cols >= 128) specialize 127 apps/linear_algebra/src/blas_l3_generators.cpp .specialize(A_.width() >= 256 && A_.height() >= 256).parallel(jo, 4); specialize 41 apps/templates/tests/example_generator.cpp .specialize(condition) specialize 667 python_bindings/python/Func.cpp func_class.def("specialize", &Func::specialize, p::args("self", "condition"), specialize 110 python_bindings/python/Func_Stage.cpp stage_class.def("specialize", &Stage::specialize, p::args("self", "condition"), specialize 1886 src/Func.cpp return Stage(func.definition(), name(), args(), func.schedule().storage_dims()).specialize(c); specialize 203 src/Func.h EXPORT Stage specialize(Expr condition); specialize 1388 src/Func.h EXPORT Stage specialize(Expr condition); specialize 1642 src/Generator.h HALIDE_OUTPUT_FORWARD(specialize) specialize 34 test/correctness/cascaded_filters.cpp stages.back().specialize(divisor == i); specialize 28 test/correctness/gpu_specialize.cpp h.compute_root().specialize(use_gpu).gpu_tile(x, y, xi, yi, 4, 4); specialize 35 test/correctness/gpu_specialize.cpp h.specialize(use_gpu).split(x, x, t, 1).serial(t); specialize 41 test/correctness/gpu_specialize.cpp g.specialize(use_gpu).gpu_threads(x, y); specialize 44 test/correctness/gpu_specialize.cpp g.specialize(use_gpu).split(x, x, xi, 1).serial(xi); specialize 82 test/correctness/gpu_specialize.cpp f.specialize(p).tile(x, y, xi, yi, 4, 4).gpu_threads(x, y); specialize 260 test/correctness/image_wrap.cpp g.specialize(param).vectorize(x, 8).unroll(x, 2).split(x, x, xi, 4).parallel(x); specialize 727 test/correctness/reduction_non_rectangular.cpp f.update(0).specialize(p >= 2).gpu_tile(r1.x, r1.y, r1xi, r1yi, 4, 4); specialize 298 test/correctness/rfactor.cpp Func intm = g.update(0).specialize(p >= 10).rfactor(r.y, u); specialize 617 test/correctness/rfactor.cpp Func intm1 = g.update(0).specialize(p >= 5).rfactor({{r.y, v}, {r.z, w}}); specialize 624 test/correctness/rfactor.cpp Func intm2 = intm1.update(0).specialize(q).rfactor(rxi, t).compute_root(); specialize 625 test/correctness/rfactor.cpp Func intm3 = intm1.update(0).specialize(!q).rfactor(rxo, t).compute_root(); specialize 85 test/correctness/specialize.cpp f.specialize(cond).vectorize(x, 4); specialize 92 test/correctness/specialize.cpp f.specialize(cond).specialize(param); specialize 95 test/correctness/specialize.cpp f.specialize(param); specialize 183 test/correctness/specialize.cpp out.specialize(param); specialize 222 test/correctness/specialize.cpp f.specialize(im.dim(0).stride() == 1 && im.width() >= 8).vectorize(x, 8); specialize 264 test/correctness/specialize.cpp f.specialize(param); specialize 295 test/correctness/specialize.cpp f.update().specialize(size == 1); specialize 298 test/correctness/specialize.cpp f.update().specialize(size == 0); specialize 317 test/correctness/specialize.cpp f.specialize(param); specialize 343 test/correctness/specialize.cpp f.specialize(cond).vectorize(x, 4); specialize 375 test/correctness/specialize.cpp f.compute_root().specialize(w >= 4).vectorize(x, 4); specialize 378 test/correctness/specialize.cpp out.specialize(w >= 4).vectorize(x, 4); specialize 395 test/correctness/specialize.cpp f.compute_at(out, x).specialize(cond1 && cond2).vectorize(x, 4); specialize 396 test/correctness/specialize.cpp out.compute_root().specialize(cond1 && cond2).vectorize(x, 4); specialize 424 test/correctness/specialize.cpp f.compute_at(out, x).specialize(cond1).vectorize(x, 4); specialize 425 test/correctness/specialize.cpp out.compute_root().specialize(cond1 && cond2).vectorize(x, 4); specialize 457 test/correctness/specialize.cpp f.specialize(test); specialize 495 test/correctness/specialize.cpp f.specialize(test); specialize 535 test/correctness/specialize.cpp f.specialize(p == 0).vectorize(x, 32); // will *not* be pruned specialize 536 test/correctness/specialize.cpp f.specialize(const_false).vectorize(x, 8); // will be pruned specialize 574 test/correctness/specialize.cpp f.specialize(p == 0).vectorize(x, 32); // will *not* be pruned specialize 575 test/correctness/specialize.cpp f.specialize(const_true).vectorize(x, 16); // will *not* be pruned specialize 576 test/correctness/specialize.cpp f.specialize(const_false).vectorize(x, 4); // will be pruned specialize 577 test/correctness/specialize.cpp f.specialize(p == 42).vectorize(x, 8); // will be pruned specialize 578 test/correctness/specialize.cpp f.specialize(const_true); // dupe of call above, won't add new specialization specialize 583 test/correctness/specialize.cpp f.specialize(different_const_true); // will be pruned specialize 622 test/correctness/specialize.cpp f.specialize(p == 0).vectorize(x, 32); // will *not* be pruned specialize 623 test/correctness/specialize.cpp f.specialize(const_true).vectorize(x, 16); specialize 646 test/correctness/specialize.cpp f.specialize(p == 0); specialize 649 test/correctness/specialize.cpp f.specialize(p == 0).vectorize(x, 32); specialize 23 test/correctness/specialize_to_gpu.cpp f.compute_root().specialize(gpu_f).gpu_tile(x, x, xi, 16); specialize 24 test/correctness/specialize_to_gpu.cpp g.compute_root().specialize(gpu_g).gpu_tile(x, x, xi, 16); specialize 25 test/correctness/specialize_to_gpu.cpp h.compute_root().specialize(gpu_h).gpu_tile(x, x, xi, 16); specialize 51 test/correctness/storage_folding.cpp g.specialize(g.output_buffer().width() > 4).vectorize(x, 4); specialize 73 test/correctness/storage_folding.cpp g.specialize(g.output_buffer().width() > 4).vectorize(x, 4); specialize 42 test/correctness/truncated_pyramid.cpp .specialize(max(width, height) > 32) specialize 60 test/correctness/truncated_pyramid.cpp .specialize(max(width, height) > 32) specialize 241 test/correctness/wrap.cpp g.specialize(param).vectorize(x, 8).unroll(x, 2).split(x, x, xi, 4).parallel(x); specialize 12 test/error/specialize_fail.cpp f.specialize(p == 0).vectorize(x, 8); specialize 49 test/generator/blur2x2_generator.cpp blur.specialize(is_planar(input) && is_planar(blur)) specialize 53 test/generator/blur2x2_generator.cpp blur.specialize(is_interleaved(input) && is_interleaved(blur)) specialize 88 test/generator/example_generator.cpp .specialize(vectorize) specialize 32 test/generator/pyramid_generator.cpp p.specialize(p.output_buffer().width() >= v).vectorize(x, v); specialize 77 test/generator/stubtest_generator.cpp intermediate.specialize(vectorize).vectorize(x, natural_vector_size<float>()); specialize 58 test/generator/tiled_blur_generator.cpp output.specialize(is_planar(input) && is_planar(output)) specialize 62 test/generator/tiled_blur_generator.cpp output.specialize(is_interleaved(input) && is_interleaved(output)); specialize 197 tutorial/lesson_16_rgb_generate.cpp brighter.specialize(input_is_planar && output_is_planar); specialize 206 tutorial/lesson_16_rgb_generate.cpp brighter.specialize(input_is_interleaved && output_is_interleaved)