dim 35 apps/HelloAndroid/jni/hello_generator.cpp input.dim(0).set_stride(Expr()); dim 38 apps/HelloAndroid/jni/hello_generator.cpp curved.specialize(input.dim(0).stride() == 1); dim 39 apps/HelloAndroid/jni/hello_generator.cpp curved.specialize(input.dim(0).stride() == -1); dim 82 apps/HelloAndroid/jni/hello_wrapper.cpp srcBuf.dim = srcDim; dim 83 apps/HelloAndroid/jni/hello_wrapper.cpp srcBuf.dim[0].min = 0; dim 84 apps/HelloAndroid/jni/hello_wrapper.cpp srcBuf.dim[0].extent = w; dim 85 apps/HelloAndroid/jni/hello_wrapper.cpp srcBuf.dim[0].stride = 1; dim 86 apps/HelloAndroid/jni/hello_wrapper.cpp srcBuf.dim[1].min = 0; dim 87 apps/HelloAndroid/jni/hello_wrapper.cpp srcBuf.dim[1].extent = h; dim 88 apps/HelloAndroid/jni/hello_wrapper.cpp srcBuf.dim[1].stride = w; dim 94 apps/HelloAndroid/jni/hello_wrapper.cpp srcBuf.dim[0].stride = -1; dim 95 apps/HelloAndroid/jni/hello_wrapper.cpp srcBuf.dim[1].stride = -w; dim 99 apps/HelloAndroid/jni/hello_wrapper.cpp dstBuf.dim = dstDim; dim 100 apps/HelloAndroid/jni/hello_wrapper.cpp dstBuf.dim[0].min = 0; dim 101 apps/HelloAndroid/jni/hello_wrapper.cpp dstBuf.dim[0].extent = w; dim 102 apps/HelloAndroid/jni/hello_wrapper.cpp dstBuf.dim[0].stride = 1; dim 103 apps/HelloAndroid/jni/hello_wrapper.cpp dstBuf.dim[1].min = 0; dim 104 apps/HelloAndroid/jni/hello_wrapper.cpp dstBuf.dim[1].extent = h; dim 105 apps/HelloAndroid/jni/hello_wrapper.cpp dstBuf.dim[1].stride = w; dim 44 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp chromaU_.dim(0).stride() == chromaV_.dim(0).stride() && dim 45 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp chromaU_.dim(1).stride() == chromaV_.dim(1).stride()) { dim 47 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp if (chromaU_.dim(0).stride() == 2 && dim 48 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp chromaV_.dim(0).stride() == 2) { dim 54 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp } else if (chromaU_.dim(0).stride() == 1 && dim 55 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp chromaV_.dim(0).stride() == 1) { dim 59 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp if (chromaU_.width() == chromaU_.dim(1).stride() && dim 60 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp chromaV_.width() == chromaV_.dim(1).stride()) { dim 162 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp {0, buf.dim(0).extent(), -buf.dim(0).stride()}, dim 163 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp {0, buf.dim(1).extent(), -buf.dim(1).stride()}, dim 23 apps/HelloAndroidCamera2/jni/deinterleave_generator.cpp uvInterleaved.dim(0).set_stride(Expr()); dim 24 apps/HelloAndroidCamera2/jni/deinterleave_generator.cpp result.specialize(uvInterleaved.dim(0).stride() == 1); dim 25 apps/HelloAndroidCamera2/jni/deinterleave_generator.cpp result.specialize(uvInterleaved.dim(0).stride() == -1); dim 41 apps/HelloAndroidCamera2/jni/edge_detect_generator.cpp input.dim(0).set_stride(Expr()); dim 42 apps/HelloAndroidCamera2/jni/edge_detect_generator.cpp result.specialize(input.dim(0).stride() == 1); dim 43 apps/HelloAndroidCamera2/jni/edge_detect_generator.cpp result.specialize(input.dim(0).stride() == -1); dim 51 apps/HelloHexagon/pipeline.cpp input.dim(2).set_bounds(0, 3); dim 80 apps/HelloHexagon/pipeline.cpp input.dim(0).set_bounds(0, (input.dim(0).extent()/vector_size)*vector_size); dim 81 apps/HelloHexagon/pipeline.cpp blur.dim(0).set_bounds(0, (blur.dim(0).extent()/vector_size)*vector_size); dim 84 apps/HelloHexagon/pipeline.cpp input.dim(i).set_stride((input.dim(i).stride()/vector_size)*vector_size); dim 85 apps/HelloHexagon/pipeline.cpp blur.dim(i).set_stride((blur.dim(i).stride()/vector_size)*vector_size); dim 21 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp .dim(0).set_stride(3) dim 22 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp .dim(2).set_bounds(0, 3).set_stride(1); dim 90 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp new_state(x, state.dim(1).min(), c) = random_float(frame)*0.2f; dim 91 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp new_state(x, state.dim(1).max(), c) = random_float(frame)*0.2f; dim 92 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp new_state(state.dim(0).min(), y, c) = random_float(frame)*0.2f; dim 93 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp new_state(state.dim(0).max(), y, c) = random_float(frame)*0.2f; dim 96 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp Expr min_x = clamp(mouse_x - 20, 0, state.dim(0).extent()-1); dim 97 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp Expr max_x = clamp(mouse_x + 20, 0, state.dim(0).extent()-1); dim 98 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp Expr min_y = clamp(mouse_y - 20, 0, state.dim(1).extent()-1); dim 99 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp Expr max_y = clamp(mouse_y + 20, 0, state.dim(1).extent()-1); dim 111 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp state.dim(2).set_bounds(0, 3); dim 143 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp .dim(0).set_stride(3) dim 144 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp .dim(2).set_stride(1).set_extent(3); dim 146 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp .dim(0).set_stride(3) dim 147 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp .dim(2).set_stride(1).set_extent(3); dim 212 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp .dim(0).set_stride(4) dim 213 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp .dim(2).set_stride(1).set_bounds(0, 4); dim 216 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp .dim(0).set_stride(3) dim 217 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp .dim(2).set_stride(1).set_bounds(0, 3); dim 18 apps/c_backend/run.cpp in->dim[0].extent = 10; dim 19 apps/c_backend/run.cpp in->dim[1].extent = 10; dim 20 apps/c_backend/run.cpp in->dim[0].min = 0; dim 21 apps/c_backend/run.cpp in->dim[1].min = 0; dim 26 apps/c_backend/run.cpp origin -= in->dim[0].min * in->dim[0].stride; dim 27 apps/c_backend/run.cpp origin -= in->dim[1].min * in->dim[1].stride; dim 30 apps/c_backend/run.cpp result += origin[x * in->dim[0].stride + y * in->dim[1].stride]; dim 322 apps/camera_pipe/camera_pipe_generator.cpp strip_size = processed.output_buffer().dim(1).extent() / 2; dim 324 apps/camera_pipe/camera_pipe_generator.cpp strip_size = processed.output_buffer().dim(1).extent() / 4; dim 46 apps/cuda_mat_mul/mat_mul_generator.cpp .dim(0).set_bounds(0, size) dim 47 apps/cuda_mat_mul/mat_mul_generator.cpp .dim(1).set_stride(size); dim 144 apps/fft/fft_generator.cpp input.dim(0).set_stride(input_comps) dim 145 apps/fft/fft_generator.cpp .dim(2).set_min(0).set_extent(input_comps).set_stride(1); dim 147 apps/fft/fft_generator.cpp output.dim(0).set_stride(output_comps) dim 148 apps/fft/fft_generator.cpp .dim(2).set_min(0).set_extent(output_comps).set_stride(1); dim 165 apps/fft/main.cpp R_c2c[0].raw_buffer()->dim[2].stride = 0; dim 166 apps/fft/main.cpp R_c2c[1].raw_buffer()->dim[2].stride = 0; dim 192 apps/fft/main.cpp R_r2c[0].raw_buffer()->dim[2].stride = 0; dim 193 apps/fft/main.cpp R_r2c[1].raw_buffer()->dim[2].stride = 0; dim 218 apps/fft/main.cpp R_c2r[0].raw_buffer()->dim[2].stride = 0; dim 23 apps/glsl/halide_blur_glsl_generator.cpp input8.dim(2).set_bounds(0, 3); dim 33 apps/glsl/halide_ycc_glsl_generator.cpp input8.dim(2).set_bounds(0, 3); dim 29 apps/hexagon_benchmarks/conv3x3_generator.cpp input.dim(0).set_min(0); dim 30 apps/hexagon_benchmarks/conv3x3_generator.cpp input.dim(1).set_min(0); dim 32 apps/hexagon_benchmarks/conv3x3_generator.cpp output.dim(0).set_min(0); dim 33 apps/hexagon_benchmarks/conv3x3_generator.cpp output.dim(1).set_min(0); dim 37 apps/hexagon_benchmarks/conv3x3_generator.cpp Expr input_stride = input.dim(1).stride(); dim 38 apps/hexagon_benchmarks/conv3x3_generator.cpp input.dim(1).set_stride((input_stride/vector_size) * vector_size); dim 40 apps/hexagon_benchmarks/conv3x3_generator.cpp Expr output_stride = output.dim(1).stride(); dim 41 apps/hexagon_benchmarks/conv3x3_generator.cpp output.dim(1).set_stride((output_stride/vector_size) * vector_size); dim 22 apps/hexagon_benchmarks/dilate3x3_generator.cpp input.dim(0).set_min(0); dim 23 apps/hexagon_benchmarks/dilate3x3_generator.cpp input.dim(1).set_min(0); dim 25 apps/hexagon_benchmarks/dilate3x3_generator.cpp output.dim(0).set_min(0); dim 26 apps/hexagon_benchmarks/dilate3x3_generator.cpp output.dim(1).set_min(0); dim 30 apps/hexagon_benchmarks/dilate3x3_generator.cpp Expr input_stride = input.dim(1).stride(); dim 31 apps/hexagon_benchmarks/dilate3x3_generator.cpp input.dim(1).set_stride((input_stride/vector_size) * vector_size); dim 33 apps/hexagon_benchmarks/dilate3x3_generator.cpp Expr output_stride = output.dim(1).stride(); dim 34 apps/hexagon_benchmarks/dilate3x3_generator.cpp output.dim(1).set_stride((output_stride/vector_size) * vector_size); dim 25 apps/hexagon_benchmarks/gaussian5x5_generator.cpp input.dim(0).set_min(0); dim 26 apps/hexagon_benchmarks/gaussian5x5_generator.cpp input.dim(1).set_min(0); dim 28 apps/hexagon_benchmarks/gaussian5x5_generator.cpp output.dim(0).set_min(0); dim 29 apps/hexagon_benchmarks/gaussian5x5_generator.cpp output.dim(1).set_min(0); dim 33 apps/hexagon_benchmarks/gaussian5x5_generator.cpp Expr input_stride = input.dim(1).stride(); dim 34 apps/hexagon_benchmarks/gaussian5x5_generator.cpp input.dim(1).set_stride((input_stride/vector_size) * vector_size); dim 36 apps/hexagon_benchmarks/gaussian5x5_generator.cpp Expr output_stride = output.dim(1).stride(); dim 41 apps/hexagon_benchmarks/gaussian5x5_generator.cpp output.dim(1).set_stride((output_stride/vector_size) * vector_size); dim 33 apps/hexagon_benchmarks/median3x3_generator.cpp input.dim(0).set_min(0); dim 34 apps/hexagon_benchmarks/median3x3_generator.cpp input.dim(1).set_min(0); dim 36 apps/hexagon_benchmarks/median3x3_generator.cpp output.dim(0).set_min(0); dim 37 apps/hexagon_benchmarks/median3x3_generator.cpp output.dim(1).set_min(0); dim 41 apps/hexagon_benchmarks/median3x3_generator.cpp Expr input_stride = input.dim(1).stride(); dim 42 apps/hexagon_benchmarks/median3x3_generator.cpp input.dim(1).set_stride((input_stride/vector_size) * vector_size); dim 44 apps/hexagon_benchmarks/median3x3_generator.cpp Expr output_stride = output.dim(1).stride(); dim 45 apps/hexagon_benchmarks/median3x3_generator.cpp output.dim(1).set_stride((output_stride/vector_size) * vector_size); dim 30 apps/hexagon_benchmarks/sobel_generator.cpp input.dim(0).set_min(0); dim 31 apps/hexagon_benchmarks/sobel_generator.cpp input.dim(1).set_min(0); dim 35 apps/hexagon_benchmarks/sobel_generator.cpp Expr input_stride = input.dim(1).stride(); dim 36 apps/hexagon_benchmarks/sobel_generator.cpp input.dim(1).set_stride((input_stride/vector_size) * vector_size); dim 38 apps/hexagon_benchmarks/sobel_generator.cpp Expr output_stride = output.dim(1).stride(); dim 39 apps/hexagon_benchmarks/sobel_generator.cpp output.dim(1).set_stride((output_stride/vector_size) * vector_size); dim 23 apps/hexagon_matmul/pipeline.cpp Expr k_extent = A.dim(0).extent(); dim 127 apps/hexagon_matmul/pipeline.cpp A.dim(0) dim 129 apps/hexagon_matmul/pipeline.cpp A.dim(1) dim 130 apps/hexagon_matmul/pipeline.cpp .set_bounds(0, (A.dim(1).extent()/tile_rows)*tile_rows) dim 131 apps/hexagon_matmul/pipeline.cpp .set_stride((A.dim(1).stride()/vector_size_u8)*vector_size_u8); dim 132 apps/hexagon_matmul/pipeline.cpp B.dim(0) dim 133 apps/hexagon_matmul/pipeline.cpp .set_bounds(0, (B.dim(0).extent()/vector_size_u8)*vector_size_u8); dim 134 apps/hexagon_matmul/pipeline.cpp B.dim(1) dim 136 apps/hexagon_matmul/pipeline.cpp .set_stride((B.dim(1).stride()/vector_size_u8)*vector_size_u8); dim 137 apps/hexagon_matmul/pipeline.cpp output.dim(0) dim 138 apps/hexagon_matmul/pipeline.cpp .set_bounds(0, (output.dim(0).extent()/vector_size_u32)*vector_size_u32); dim 139 apps/hexagon_matmul/pipeline.cpp output.dim(1) dim 140 apps/hexagon_matmul/pipeline.cpp .set_bounds(0, (output.dim(1).extent()/tile_rows)*tile_rows) dim 141 apps/hexagon_matmul/pipeline.cpp .set_stride((output.dim(1).stride()/vector_size_u32)*vector_size_u32); dim 25 apps/interpolate/interpolate.cpp input.dim(2).set_bounds(0, 4); dim 16 apps/opengl_demo/sample_filter.cpp input.dim(0).set_stride(4); dim 17 apps/opengl_demo/sample_filter.cpp input.dim(2).set_stride(1).set_bounds(0, 4); dim 19 apps/opengl_demo/sample_filter.cpp filter.output_buffer().dim(0).set_stride(4).dim(2).set_stride(1); dim 6 apps/openglcompute/test_oglc_avg.cpp input.dim(2).set_bounds(0, 4).set_stride(1).dim(0).set_stride(4); dim 23 apps/openglcompute/test_oglc_avg.cpp result.output_buffer().dim(2).set_bounds(0, 4).set_stride(1).dim(0).set_stride(4); dim 7 apps/openglcompute/test_two_kernels.cpp input.dim(2).set_bounds(0, 4).set_stride(1).dim(0).set_stride(4); dim 17 apps/openglcompute/test_two_kernels.cpp f.output_buffer().dim(2).set_bounds(0, 4).set_stride(1).dim(0).set_stride(4); dim 34 apps/openglcompute/test_two_kernels.cpp g.output_buffer().dim(2).set_bounds(0, 4).set_stride(1).dim(0).set_stride(4); dim 52 apps/simd_op_check/driver.cpp buf.dim = (halide_dimension_t *)malloc(sizeof(halide_dimension_t)*2); dim 54 apps/simd_op_check/driver.cpp buf.dim[0].extent = w; dim 55 apps/simd_op_check/driver.cpp buf.dim[1].extent = h; dim 57 apps/simd_op_check/driver.cpp buf.dim[0].stride = 1; dim 58 apps/simd_op_check/driver.cpp buf.dim[1].stride = w; dim 59 apps/simd_op_check/driver.cpp buf.dim[0].min = 0; dim 60 apps/simd_op_check/driver.cpp buf.dim[1].min = 0; dim 113 apps/simd_op_check/driver.cpp free(bufs[i].dim); dim 116 apps/simd_op_check/driver.cpp free(out.dim); dim 532 python_bindings/python/Image.cpp extent[i] = im.dim(i).extent(); dim 533 python_bindings/python/Image.cpp stride[i] = im.dim(i).stride() * im.type().bytes(); dim 50 python_bindings/python/Param.cpp param.dim(0).extent() % dim 51 python_bindings/python/Param.cpp param.dim(1).extent() % dim 52 python_bindings/python/Param.cpp param.dim(2).extent() % dim 53 python_bindings/python/Param.cpp param.dim(3).extent()); dim 121 src/AddImageChecks.cpp string dim = std::to_string(i); dim 123 src/AddImageChecks.cpp Expr min_required = Variable::make(Int(32), name + ".min." + dim + ".required"); dim 124 src/AddImageChecks.cpp replace_with_required[name + ".min." + dim] = min_required; dim 126 src/AddImageChecks.cpp Expr extent_required = Variable::make(Int(32), name + ".extent." + dim + ".required"); dim 127 src/AddImageChecks.cpp replace_with_required[name + ".extent." + dim] = simplify(extent_required); dim 129 src/AddImageChecks.cpp Expr stride_required = Variable::make(Int(32), name + ".stride." + dim + ".required"); dim 130 src/AddImageChecks.cpp replace_with_required[name + ".stride." + dim] = stride_required; dim 248 src/AddImageChecks.cpp string dim = std::to_string(j); dim 249 src/AddImageChecks.cpp string actual_min_name = name + ".min." + dim; dim 250 src/AddImageChecks.cpp string actual_extent_name = name + ".extent." + dim; dim 251 src/AddImageChecks.cpp string actual_stride_name = name + ".stride." + dim; dim 270 src/AddImageChecks.cpp string min_required_name = name + ".min." + dim + ".required"; dim 271 src/AddImageChecks.cpp string extent_required_name = name + ".extent." + dim + ".required"; dim 309 src/AddImageChecks.cpp lets_required.push_back({ name + ".stride." + dim + ".required", stride_required }); dim 329 src/AddImageChecks.cpp lets_overflow.push_back({ name + ".total_extent." + dim, cast<int64_t>(actual_extent) }); dim 334 src/AddImageChecks.cpp Expr this_dim_var = Variable::make(Int(64), name + ".total_extent." + dim); dim 335 src/AddImageChecks.cpp lets_overflow.push_back({ name + ".total_extent." + dim, this_dim }); dim 359 src/AddImageChecks.cpp string dim = std::to_string(i); dim 360 src/AddImageChecks.cpp builder.mins.push_back(Variable::make(Int(32), name + ".min." + dim + ".proposed")); dim 361 src/AddImageChecks.cpp builder.extents.push_back(Variable::make(Int(32), name + ".extent." + dim + ".proposed")); dim 362 src/AddImageChecks.cpp builder.strides.push_back(Variable::make(Int(32), name + ".stride." + dim + ".proposed")); dim 372 src/AddImageChecks.cpp string dim = std::to_string(i); dim 373 src/AddImageChecks.cpp string min_name = name + ".min." + dim; dim 374 src/AddImageChecks.cpp string stride_name = name + ".stride." + dim; dim 375 src/AddImageChecks.cpp string extent_name = name + ".extent." + dim; dim 406 src/AddImageChecks.cpp stride_constrained = image.dim(i).stride(); dim 409 src/AddImageChecks.cpp std::string min0_name = buffer_name + ".0.min." + dim; dim 416 src/AddImageChecks.cpp std::string extent0_name = buffer_name + ".0.extent." + dim; dim 423 src/AddImageChecks.cpp stride_constrained = image.dim(i).stride(); dim 424 src/AddImageChecks.cpp extent_constrained = image.dim(i).extent(); dim 425 src/AddImageChecks.cpp min_constrained = image.dim(i).min(); dim 84 src/AssociativeOpsTable.cpp size_t dim; dim 88 src/AssociativeOpsTable.cpp return (type == other.type) && (root == other.root) && (dim == other.dim); dim 101 src/AssociativeOpsTable.cpp return (dim < other.dim); dim 294 src/AssociativeOpsTable.cpp const vector<AssociativePattern> &get_ops_table_helper(Type t, RootExpr root, size_t dim) { dim 295 src/AssociativeOpsTable.cpp TableKey gen_key(ValType::All, root, dim); dim 296 src/AssociativeOpsTable.cpp TableKey key(convert_halide_type_to_val_type(t), root, dim); dim 93 src/BoundaryConditions.h object_bounds.push_back({ Expr(func_like.dim(i).min()), Expr(func_like.dim(i).extent()) }); dim 139 src/BoundaryConditions.h object_bounds.push_back({ Expr(func_like.dim(i).min()), Expr(func_like.dim(i).extent()) }); dim 175 src/BoundaryConditions.h object_bounds.push_back({ Expr(func_like.dim(i).min()), Expr(func_like.dim(i).extent()) }); dim 210 src/BoundaryConditions.h object_bounds.push_back({ Expr(func_like.dim(i).min()), Expr(func_like.dim(i).extent()) }); dim 248 src/BoundaryConditions.h object_bounds.push_back({ Expr(func_like.dim(i).min()), Expr(func_like.dim(i).extent()) }); dim 1405 src/Bounds.cpp const Definition &def, const Scope<Interval>& scope, const FuncValueBounds &fb, int dim) { dim 1407 src/Bounds.cpp Interval result = bounds_of_expr_in_scope(def.values()[dim], scope, fb); dim 1412 src/Bounds.cpp Interval s_interval = compute_pure_function_definition_value_bounds(s.definition, scope, fb, dim); dim 247 src/BoundsInference.cpp bool is_dim_always_pure(const Definition &def, const string& dim, int dim_idx) { dim 249 src/BoundsInference.cpp if ((!var) || (var->name != dim)) { dim 254 src/BoundsInference.cpp bool pure = is_dim_always_pure(s.definition, dim, dim_idx); dim 308 src/BoundsInference.cpp const string &dim = func_args[i]; dim 309 src/BoundsInference.cpp Expr min = Variable::make(Int(32), last_stage + dim + ".min"); dim 310 src/BoundsInference.cpp Expr max = Variable::make(Int(32), last_stage + dim + ".max"); dim 324 src/Buffer.h HALIDE_BUFFER_FORWARD_CONST(dim) dim 637 src/CodeGen_C.cpp for (int d = 0; b.dim[d].extent; d++) { dim 638 src/CodeGen_C.cpp num_elems += b.dim[d].stride * (b.dim[d].extent - 1); dim 652 src/CodeGen_C.cpp stream << "{" << buffer.dim(i).min() dim 653 src/CodeGen_C.cpp << ", " << buffer.dim(i).extent() dim 654 src/CodeGen_C.cpp << ", " << buffer.dim(i).stride() << "}"; dim 803 src/CodeGen_LLVM.cpp vector<char> shape_blob((char *)buf.raw_buffer()->dim, (char *)buf.raw_buffer()->dim + shape_size); dim 118 src/DebugToFile.cpp string dim = std::to_string(i); dim 119 src/DebugToFile.cpp Expr min = Variable::make(Int(32), out.name() + ".min." + dim); dim 120 src/DebugToFile.cpp Expr extent = Variable::make(Int(32), out.name() + ".extent." + dim); dim 624 src/Func.cpp [&rv](const Dim& dim) { return var_name_match(dim.var, rv.name()); }); dim 635 src/Func.cpp [&v](const Dim& dim) { return var_name_match(dim.var, v.name()); }); dim 829 src/Func.cpp [&v](const Dim& dim) { return var_name_match(dim.var, v.name()); }); dim 2269 src/Func.cpp Func &Func::align_storage(Var dim, Expr alignment) { dim 2274 src/Func.cpp if (var_name_match(dims[i].var, dim.name())) { dim 2279 src/Func.cpp user_error << "Could not find variable " << dim.name() dim 2284 src/Func.cpp Func &Func::fold_storage(Var dim, Expr factor, bool fold_forward) { dim 2289 src/Func.cpp if (var_name_match(dims[i].var, dim.name())) { dim 2295 src/Func.cpp user_error << "Could not find variable " << dim.name() dim 1625 src/Func.h EXPORT Func &align_storage(Var dim, Expr alignment); dim 1657 src/Func.h EXPORT Func &fold_storage(Var dim, Expr extent, bool fold_forward = true); dim 72 src/FuseGPUThreadLoops.cpp void found_for(int dim, Expr extent) { dim 73 src/FuseGPUThreadLoops.cpp internal_assert(dim >= 0 && dim < 4); dim 74 src/FuseGPUThreadLoops.cpp if (!block_extent[dim].defined()) { dim 75 src/FuseGPUThreadLoops.cpp block_extent[dim] = extent; dim 77 src/FuseGPUThreadLoops.cpp block_extent[dim] = simplify(Max::make(extent, block_extent[dim])); dim 194 src/FuseGPUThreadLoops.cpp int dim; dim 195 src/FuseGPUThreadLoops.cpp for (dim = 0; dim < 4; dim++) { dim 196 src/FuseGPUThreadLoops.cpp if (ends_with(op->name, thread_names[dim])) { dim 201 src/FuseGPUThreadLoops.cpp internal_assert(dim >= 0 && dim < block_size.dimensions()); dim 205 src/FuseGPUThreadLoops.cpp Expr var = Variable::make(Int(32), "." + thread_names[dim]); dim 208 src/FuseGPUThreadLoops.cpp if (equal(op->extent, block_size.extent(dim))) { dim 1992 src/Generator.cpp internal_assert(im.dim(0).extent() == 1); dim 1052 src/Generator.h Dimension dim(int i) { dim 1056 src/Generator.h const Dimension dim(int i) const { dim 47 src/OutputImageParam.cpp return dim(0).min(); dim 52 src/OutputImageParam.cpp return dim(0).max(); dim 57 src/OutputImageParam.cpp return dim(1).min(); dim 62 src/OutputImageParam.cpp return dim(1).max(); dim 67 src/OutputImageParam.cpp return dim(0).extent(); dim 72 src/OutputImageParam.cpp return dim(1).extent(); dim 77 src/OutputImageParam.cpp return dim(2).extent(); dim 48 src/OutputImageParam.h EXPORT Internal::Dimension dim(int i); dim 52 src/OutputImageParam.h EXPORT const Internal::Dimension dim(int i) const; dim 58 src/OutputImageParam.h OutputImageParam set_min(int i, Expr e) {dim(i).set_min(e); return *this;} dim 60 src/OutputImageParam.h OutputImageParam set_extent(int i, Expr e) {dim(i).set_extent(e); return *this;} dim 62 src/OutputImageParam.h OutputImageParam set_bounds(int i, Expr a, Expr b) {dim(i).set_bounds(a, b); return *this;} dim 64 src/OutputImageParam.h OutputImageParam set_stride(int i, Expr e) {dim(i).set_stride(e); return *this;} dim 66 src/OutputImageParam.h Expr min(int i) const {return dim(i).min();} dim 68 src/OutputImageParam.h Expr extent(int i) const {return dim(i).extent();} dim 70 src/OutputImageParam.h Expr stride(int i) const {return dim(i).stride();} dim 64 src/Parameter.cpp void Parameter::check_dim_ok(int dim) const { dim 65 src/Parameter.cpp user_assert(dim >= 0 && dim < dimensions()) dim 66 src/Parameter.cpp << "Dimension " << dim << " is not in the range [0, " << dimensions() - 1 << "]\n"; dim 215 src/Parameter.cpp void Parameter::set_min_constraint(int dim, Expr e) { dim 217 src/Parameter.cpp check_dim_ok(dim); dim 218 src/Parameter.cpp contents->min_constraint[dim] = e; dim 221 src/Parameter.cpp void Parameter::set_extent_constraint(int dim, Expr e) { dim 223 src/Parameter.cpp check_dim_ok(dim); dim 224 src/Parameter.cpp contents->extent_constraint[dim] = e; dim 227 src/Parameter.cpp void Parameter::set_stride_constraint(int dim, Expr e) { dim 229 src/Parameter.cpp check_dim_ok(dim); dim 230 src/Parameter.cpp contents->stride_constraint[dim] = e; dim 237 src/Parameter.cpp Expr Parameter::min_constraint(int dim) const { dim 239 src/Parameter.cpp check_dim_ok(dim); dim 240 src/Parameter.cpp return contents->min_constraint[dim]; dim 243 src/Parameter.cpp Expr Parameter::extent_constraint(int dim) const { dim 245 src/Parameter.cpp check_dim_ok(dim); dim 246 src/Parameter.cpp return contents->extent_constraint[dim]; dim 249 src/Parameter.cpp Expr Parameter::stride_constraint(int dim) const { dim 251 src/Parameter.cpp check_dim_ok(dim); dim 252 src/Parameter.cpp return contents->stride_constraint[dim]; dim 28 src/Parameter.h void check_dim_ok(int dim) const; dim 128 src/Parameter.h EXPORT void set_min_constraint(int dim, Expr e); dim 129 src/Parameter.h EXPORT void set_extent_constraint(int dim, Expr e); dim 130 src/Parameter.h EXPORT void set_stride_constraint(int dim, Expr e); dim 132 src/Parameter.h EXPORT Expr min_constraint(int dim) const; dim 133 src/Parameter.h EXPORT Expr extent_constraint(int dim) const; dim 134 src/Parameter.h EXPORT Expr stride_constraint(int dim) const; dim 205 src/Parameter.h EXPORT Dimension dim(int i); dim 206 src/Parameter.h EXPORT const Dimension dim(int i) const; dim 951 src/Pipeline.cpp if (tb.query.dim(i).min() != tb.orig.dim(i).min() || dim 952 src/Pipeline.cpp tb.query.dim(i).extent() != tb.orig.dim(i).extent() || dim 953 src/Pipeline.cpp tb.query.dim(i).stride() != tb.orig.dim(i).stride()) { dim 310 src/Prefetch.cpp ReducePrefetchDimension(size_t dim) : max_dim(dim) {} dim 151 src/RDom.cpp b.dim(i).min(), dim 152 src/RDom.cpp b.dim(i).extent() dim 167 src/RDom.cpp p.dim(i).min(), dim 168 src/RDom.cpp p.dim(i).extent() dim 121 src/ScheduleFunctions.cpp const Dim &dim = s.dims()[i]; dim 122 src/ScheduleFunctions.cpp Container c = {Container::For, i, prefix + dim.var, Expr()}; dim 210 src/ScheduleFunctions.cpp const Dim &dim = s.dims()[nest[i].dim_idx]; dim 213 src/ScheduleFunctions.cpp stmt = For::make(nest[i].name, min, extent, dim.for_type, dim.device_api, stmt); dim 94 src/SlidingWindow.cpp bool is_dim_always_pure(const Definition &def, const string& dim, int dim_idx) { dim 96 src/SlidingWindow.cpp if ((!var) || (var->name != dim)) { dim 101 src/SlidingWindow.cpp bool pure = is_dim_always_pure(s.definition, dim, dim_idx); dim 119 src/SlidingWindow.cpp string dim = ""; dim 141 src/SlidingWindow.cpp if (!dim.empty()) { dim 142 src/SlidingWindow.cpp dim = ""; dim 147 src/SlidingWindow.cpp dim = func_args[i]; dim 166 src/SlidingWindow.cpp pure = is_dim_always_pure(def, dim, dim_idx); dim 196 src/SlidingWindow.cpp << " over dimension " << dim dim 207 src/SlidingWindow.cpp << " over dimension " << dim dim 219 src/SlidingWindow.cpp << " over dimension " << dim dim 239 src/SlidingWindow.cpp debug(3) << "Sliding " << func.name() << ", " << dim << "\n" dim 245 src/SlidingWindow.cpp replacements[prefix + dim + ".min"] = new_min; dim 247 src/SlidingWindow.cpp replacements[prefix + dim + ".max"] = new_max; dim 251 src/SlidingWindow.cpp string n = func.name() + ".s" + std::to_string(i) + "." + dim; dim 252 src/SlidingWindow.cpp replacements[n + ".min"] = Variable::make(Int(32), prefix + dim + ".min"); dim 253 src/SlidingWindow.cpp replacements[n + ".max"] = Variable::make(Int(32), prefix + dim + ".max"); dim 265 src/SlidingWindow.cpp string n = prefix + dim + ".min"; dim 269 src/SlidingWindow.cpp string n = prefix + dim + ".max"; dim 47 src/StorageFlattening.cpp string dim = std::to_string(i); dim 48 src/StorageFlattening.cpp string stride_name = name + ".stride." + dim; dim 49 src/StorageFlattening.cpp string min_name = name + ".min." + dim; dim 56 src/StorageFolding.cpp int dim; dim 67 src/StorageFolding.cpp internal_assert(dim < (int)args.size()); dim 68 src/StorageFolding.cpp args[dim] = is_one(factor) ? 0 : (args[dim] % factor); dim 80 src/StorageFolding.cpp args[dim] = is_one(factor) ? 0 : (args[dim] % factor); dim 87 src/StorageFolding.cpp func(f), dim(d), factor(e) {} dim 256 src/StorageFolding.cpp int dim; dim 332 src/StorageFolding.cpp int d = folder.dims_folded[i].dim; dim 1003 src/VaryingAttributes.cpp const std::vector<Expr>& dim = dims[op->name]; dim 1014 src/VaryingAttributes.cpp Expr coord_expr = select(loop_variable == 0, dim[0], dim[1]); dim 1077 src/VaryingAttributes.cpp stmt = For::make(name, 0, (int)dim.size(), ForType::Serial, DeviceAPI::None, loop_var); dim 207 src/runtime/HalideBuffer.h if (buf.dim != shape) { dim 208 src/runtime/HalideBuffer.h delete[] buf.dim; dim 209 src/runtime/HalideBuffer.h buf.dim = nullptr; dim 215 src/runtime/HalideBuffer.h buf.dim = shape; dim 217 src/runtime/HalideBuffer.h buf.dim = new halide_dimension_t[buf.dimensions]; dim 225 src/runtime/HalideBuffer.h buf.dim[i] = other.dim[i]; dim 231 src/runtime/HalideBuffer.h if (other.shape == other.buf.dim) { dim 234 src/runtime/HalideBuffer.h buf.dim = other.buf.dim; dim 235 src/runtime/HalideBuffer.h other.buf.dim = nullptr; dim 248 src/runtime/HalideBuffer.h buf.dim[next].min = 0; dim 249 src/runtime/HalideBuffer.h buf.dim[next].extent = first; dim 251 src/runtime/HalideBuffer.h buf.dim[next].stride = 1; dim 253 src/runtime/HalideBuffer.h buf.dim[next].stride = buf.dim[next-1].stride * buf.dim[next-1].extent; dim 265 src/runtime/HalideBuffer.h buf.dim[i].min = 0; dim 266 src/runtime/HalideBuffer.h buf.dim[i].extent = sizes[i]; dim 268 src/runtime/HalideBuffer.h buf.dim[i].stride = 1; dim 270 src/runtime/HalideBuffer.h buf.dim[i].stride = buf.dim[i-1].stride * buf.dim[i-1].extent; dim 278 src/runtime/HalideBuffer.h buf.dim[next].min = 0; dim 279 src/runtime/HalideBuffer.h buf.dim[next].extent = (int)N; dim 281 src/runtime/HalideBuffer.h buf.dim[next].stride = 1; dim 284 src/runtime/HalideBuffer.h buf.dim[next].stride = buf.dim[next - 1].stride * buf.dim[next - 1].extent; dim 381 src/runtime/HalideBuffer.h Dimension(const halide_dimension_t &dim) : d(dim) {}; dim 385 src/runtime/HalideBuffer.h HALIDE_ALWAYS_INLINE Dimension dim(int i) const { dim 386 src/runtime/HalideBuffer.h return Dimension(buf.dim[i]); dim 391 src/runtime/HalideBuffer.h int min(int i) const { return dim(i).min(); } dim 392 src/runtime/HalideBuffer.h int extent(int i) const { return dim(i).extent(); } dim 393 src/runtime/HalideBuffer.h int stride(int i) const { return dim(i).stride(); } dim 401 src/runtime/HalideBuffer.h s *= dim(i).extent(); dim 421 src/runtime/HalideBuffer.h if (dim(i).stride() < 0) { dim 422 src/runtime/HalideBuffer.h index += dim(i).stride() * (dim(i).extent() - 1); dim 432 src/runtime/HalideBuffer.h if (dim(i).stride() > 0) { dim 433 src/runtime/HalideBuffer.h index += dim(i).stride() * (dim(i).extent() - 1); dim 467 src/runtime/HalideBuffer.h buf.dim[i].min = old_buf.min[i]; dim 468 src/runtime/HalideBuffer.h buf.dim[i].extent = old_buf.extent[i]; dim 469 src/runtime/HalideBuffer.h buf.dim[i].stride = old_buf.stride[i]; dim 484 src/runtime/HalideBuffer.h old_buf.min[i] = dim(i).min(); dim 485 src/runtime/HalideBuffer.h old_buf.extent[i] = dim(i).extent(); dim 486 src/runtime/HalideBuffer.h old_buf.stride[i] = dim(i).stride(); dim 630 src/runtime/HalideBuffer.h size *= dim(i).extent(); dim 635 src/runtime/HalideBuffer.h size /= dim(i).extent(); dim 847 src/runtime/HalideBuffer.h buf.dim[i] = shape[i]; dim 860 src/runtime/HalideBuffer.h buf.dim[i] = shape[i]; dim 922 src/runtime/HalideBuffer.h return (dimensions() > 0) ? dim(0).extent() : 1; dim 925 src/runtime/HalideBuffer.h return (dimensions() > 1) ? dim(1).extent() : 1; dim 928 src/runtime/HalideBuffer.h return (dimensions() > 2) ? dim(2).extent() : 1; dim 935 src/runtime/HalideBuffer.h return dim(0).min(); dim 939 src/runtime/HalideBuffer.h return dim(0).max(); dim 943 src/runtime/HalideBuffer.h return dim(1).min(); dim 947 src/runtime/HalideBuffer.h return dim(1).max(); dim 980 src/runtime/HalideBuffer.h int min_coord = std::max(dst.dim(i).min(), src.dim(i).min()); dim 981 src/runtime/HalideBuffer.h int max_coord = std::min(dst.dim(i).max(), src.dim(i).max()); dim 1035 src/runtime/HalideBuffer.h int shift = min - dim(d).min(); dim 1039 src/runtime/HalideBuffer.h buf.host += shift * dim(d).stride() * type().bytes(); dim 1040 src/runtime/HalideBuffer.h buf.dim[d].min = min; dim 1041 src/runtime/HalideBuffer.h buf.dim[d].extent = extent; dim 1075 src/runtime/HalideBuffer.h buf.dim[d].min += delta; dim 1101 src/runtime/HalideBuffer.h buf.dim[i].min = x[i]; dim 1111 src/runtime/HalideBuffer.h if (x[i] < dim(i).min() || x[i] > dim(i).max()) { dim 1128 src/runtime/HalideBuffer.h std::swap(buf.dim[d1], buf.dim[d2]); dim 1144 src/runtime/HalideBuffer.h int shift = pos - dim(d).min(); dim 1146 src/runtime/HalideBuffer.h buf.host += shift * dim(d).stride() * type().bytes(); dim 1148 src/runtime/HalideBuffer.h buf.dim[i] = buf.dim[i+1]; dim 1150 src/runtime/HalideBuffer.h buf.dim[buf.dimensions] = {0, 0, 0}; dim 1192 src/runtime/HalideBuffer.h if (buf.dim != shape) { dim 1196 src/runtime/HalideBuffer.h new_shape[i] = buf.dim[i]; dim 1198 src/runtime/HalideBuffer.h delete[] buf.dim; dim 1199 src/runtime/HalideBuffer.h buf.dim = new_shape; dim 1204 src/runtime/HalideBuffer.h buf.dim[i] = shape[i]; dim 1209 src/runtime/HalideBuffer.h buf.dim[dims] = {0, 1, 0}; dim 1211 src/runtime/HalideBuffer.h buf.dim[dims].stride = 1; dim 1213 src/runtime/HalideBuffer.h buf.dim[dims].stride = buf.dim[dims-1].extent * buf.dim[dims-1].stride; dim 1222 src/runtime/HalideBuffer.h buf.dim[buf.dimensions-1].stride = s; dim 1354 src/runtime/HalideBuffer.h if (src.dim(j-1).stride() > src.dim(j).stride()) { dim 1363 src/runtime/HalideBuffer.h halide_dimension_t *shape = src.buf.dim; dim 1390 src/runtime/HalideBuffer.h return offset_of(d+1, rest...) + this->buf.dim[d].stride * (first - this->buf.dim[d].min); dim 1412 src/runtime/HalideBuffer.h offset += this->buf.dim[i].stride * (pos[i] - this->buf.dim[i].min); dim 1540 src/runtime/HalideBuffer.h assert(first->dim(d).min() == dim(d).min() && dim 1541 src/runtime/HalideBuffer.h first->dim(d).max() == dim(d).max()); dim 1542 src/runtime/HalideBuffer.h *strides++ = first->dim(d).stride(); dim 1610 src/runtime/HalideBuffer.h t[i].extent = dim(i).extent(); dim 1835 src/runtime/HalideBuffer.h t[i].min = dim(i).min(); dim 1836 src/runtime/HalideBuffer.h t[i].max = dim(i).max(); dim 1020 src/runtime/HalideRuntime.h halide_dimension_t *dim; dim 1062 src/runtime/HalideRuntime.h s *= dim[i].extent; dim 1072 src/runtime/HalideRuntime.h if (dim[i].stride < 0) { dim 1073 src/runtime/HalideRuntime.h index += dim[i].stride * (dim[i].extent - 1); dim 1083 src/runtime/HalideRuntime.h if (dim[i].stride > 0) { dim 1084 src/runtime/HalideRuntime.h index += dim[i].stride * (dim[i].extent - 1); dim 1100 src/runtime/HalideRuntime.h index += dim[i].stride * (pos[i] - dim[i].min); dim 34 src/runtime/buffer_t.cpp return buf->dim[d].min; dim 39 src/runtime/buffer_t.cpp return buf->dim[d].min + buf->dim[d].extent - 1; dim 44 src/runtime/buffer_t.cpp return buf->dim[d].extent; dim 49 src/runtime/buffer_t.cpp return buf->dim[d].stride; dim 76 src/runtime/buffer_t.cpp return buf->dim; dim 115 src/runtime/buffer_t.cpp dst->dim = dst_shape; dim 116 src/runtime/buffer_t.cpp if (shape != dst->dim) { dim 118 src/runtime/buffer_t.cpp dst->dim[i] = shape[i]; dim 134 src/runtime/buffer_t.cpp dst->dim = dst_shape; dim 137 src/runtime/buffer_t.cpp dst->dim[i] = src->dim[i]; dim 148 src/runtime/buffer_t.cpp dst->dim = dst_shape; dim 151 src/runtime/buffer_t.cpp dst->dim[i] = src->dim[i]; dim 152 src/runtime/buffer_t.cpp dst->dim[i].min = min[i]; dim 153 src/runtime/buffer_t.cpp dst->dim[i].extent = extent[i]; dim 154 src/runtime/buffer_t.cpp offset += (min[i] - src->dim[i].min) * src->dim[i].stride; dim 21 src/runtime/cache.cpp debug(user_context) << "(" << buf.dim[i].min dim 22 src/runtime/cache.cpp << ", " << buf.dim[i].extent dim 23 src/runtime/cache.cpp << ", " << buf.dim[i].stride << ") "; dim 70 src/runtime/cache.cpp if (buf->dim[i] != shape[i]) return false; dim 162 src/runtime/cache.cpp computed_bounds[i] = computed_bounds_buf->dim[i]; dim 168 src/runtime/cache.cpp buf[i].dim = computed_bounds + (i+1)*dimensions; dim 170 src/runtime/cache.cpp buf[i].dim[j] = tuple_buffers[i]->dim[j]; dim 359 src/runtime/cache.cpp all_bounds_equal = buffer_has_shape(tuple_buffers[i], entry->buf[i].dim); dim 456 src/runtime/cache.cpp all_bounds_equal = buffer_has_shape(tuple_buffers[i], entry->buf[i].dim); dim 547 src/runtime/cuda.cpp halide_assert(user_context, buf->dim[i].stride >= 0); dim 98 src/runtime/device_buffer_utils.h uint64_t stride_bytes = buf->dim[i].stride * buf->type.bytes(); dim 113 src/runtime/device_buffer_utils.h c.extent[insert] = stride_bytes != 0 ? buf->dim[i].extent : 1; dim 423 src/runtime/hexagon_host.cpp halide_assert(user_context, buf->dim[i].stride >= 0); dim 297 src/runtime/matlab.cpp buf->dim[i].extent = static_cast<int32_t>(get_dimension(arr, i)); dim 302 src/runtime/matlab.cpp if (buf->dim[i].extent == 0) { dim 303 src/runtime/matlab.cpp buf->dim[i].extent = 1; dim 308 src/runtime/matlab.cpp buf->dim[0].stride = 1; dim 310 src/runtime/matlab.cpp buf->dim[i].stride = buf->dim[i-1].extent * buf->dim[i-1].stride; dim 420 src/runtime/matlab.cpp buf->dim = (halide_dimension_t *)__builtin_alloca(sizeof(halide_dimension_t) * arg_metadata->dimensions); dim 421 src/runtime/matlab.cpp memset(buf->dim, 0, sizeof(halide_dimension_t) * arg_metadata->dimensions); dim 341 src/runtime/metal.cpp halide_assert(user_context, buf->dim[i].stride > 0); dim 56 src/runtime/old_buffer_t.cpp new_buf->dim[i].min = old_buf->min[i]; dim 57 src/runtime/old_buffer_t.cpp new_buf->dim[i].extent = old_buf->extent[i]; dim 58 src/runtime/old_buffer_t.cpp new_buf->dim[i].stride = old_buf->stride[i]; dim 75 src/runtime/old_buffer_t.cpp old_buf->min[i] = new_buf->dim[i].min; dim 76 src/runtime/old_buffer_t.cpp old_buf->extent[i] = new_buf->dim[i].extent; dim 77 src/runtime/old_buffer_t.cpp old_buf->stride[i] = new_buf->dim[i].stride; dim 108 src/runtime/old_buffer_t.cpp new_buf.dim = shape; dim 120 src/runtime/old_buffer_t.cpp new_buf.dim = shape; dim 131 src/runtime/old_buffer_t.cpp new_buf.dim = shape; dim 143 src/runtime/old_buffer_t.cpp new_buf.dim = shape; dim 154 src/runtime/old_buffer_t.cpp new_buf.dim = shape; dim 716 src/runtime/opencl.cpp halide_assert(user_context, buf->dim[i].stride >= 0); dim 817 src/runtime/opengl.cpp const int channels = (buf->dimensions > 2) ? buf->dim[2].extent : 0; dim 893 src/runtime/opengl.cpp *width = buf->dim[0].extent; dim 902 src/runtime/opengl.cpp *height = (buf->dimensions > 1) ? buf->dim[1].extent : 1; dim 903 src/runtime/opengl.cpp *channels = (buf->dimensions > 2) ? buf->dim[2].extent : 1; dim 922 src/runtime/opengl.cpp texinfo->min[i] = (buf->dimensions > i) ? buf->dim[i].min : 0; dim 923 src/runtime/opengl.cpp texinfo->extent[i] = (buf->dimensions > i) ? buf->dim[i].extent : 0; dim 977 src/runtime/opengl.cpp if (width < buf->dim[0].extent || height < buf->dim[1].extent) { dim 981 src/runtime/opengl.cpp << ", buffer size: " << buf->dim[0].extent << "x" << buf->dim[1].extent; dim 1107 src/runtime/opengl.cpp int width = (src_buf->dimensions > 0) ? src_buf->dim[0].extent : 1; dim 1108 src/runtime/opengl.cpp int height = (src_buf->dimensions > 1) ? src_buf->dim[1].extent : 1; dim 1109 src/runtime/opengl.cpp int channels = (src_buf->dimensions > 2) ? src_buf->dim[2].extent : 1; dim 1110 src/runtime/opengl.cpp int x_stride = (src_buf->dimensions > 0) ? src_buf->dim[0].stride : 0; dim 1111 src/runtime/opengl.cpp int y_stride = (src_buf->dimensions > 1) ? src_buf->dim[1].stride : 0; dim 1112 src/runtime/opengl.cpp int c_stride = (src_buf->dimensions > 2) ? src_buf->dim[2].stride : 0; dim 1134 src/runtime/opengl.cpp int width = (dst_buf->dimensions > 0) ? dst_buf->dim[0].extent : 1; dim 1135 src/runtime/opengl.cpp int height = (dst_buf->dimensions > 1) ? dst_buf->dim[1].extent : 1; dim 1136 src/runtime/opengl.cpp int dst_channels = (dst_buf->dimensions > 2) ? dst_buf->dim[2].extent : 1; dim 1137 src/runtime/opengl.cpp int x_stride = (dst_buf->dimensions > 0) ? dst_buf->dim[0].stride : 0; dim 1138 src/runtime/opengl.cpp int y_stride = (dst_buf->dimensions > 1) ? dst_buf->dim[1].stride : 0; dim 1139 src/runtime/opengl.cpp int c_stride = (dst_buf->dimensions > 2) ? dst_buf->dim[2].stride : 0; dim 1205 src/runtime/opengl.cpp bool is_interleaved = (buffer_channels == 1) || (buf->dim[2].stride == 1 && buf->dim[0].stride == buf->dim[2].extent); dim 1206 src/runtime/opengl.cpp bool is_packed = (buf->dim[1].stride == buf->dim[0].extent * buf->dim[0].stride); dim 1324 src/runtime/opengl.cpp bool is_interleaved = (buffer_channels == 1) || (buf->dim[2].stride == 1 && buf->dim[0].stride == buf->dim[2].extent); dim 1325 src/runtime/opengl.cpp bool is_packed = (buf->dim[1].stride == buf->dim[0].extent * buf->dim[0].stride); dim 1331 src/runtime/opengl.cpp global_state.ReadPixels(0, 0, buf->dim[0].extent, buf->dim[1].extent, format, type, buf->host); dim 1356 src/runtime/opengl.cpp global_state.ReadPixels(0, 0, buf->dim[0].extent, buf->dim[1].extent, format, type, tmp.ptr); dim 133 src/runtime/openglcompute.cpp << " extent: " << buf->dim[0].extent << " " << buf->dim[1].extent dim 134 src/runtime/openglcompute.cpp << " " << buf->dim[2].extent << " " << buf->dim[3].extent << "\n" dim 135 src/runtime/openglcompute.cpp << " stride: " << buf->dim[0].stride << " " << buf->dim[1].stride dim 136 src/runtime/openglcompute.cpp << " " << buf->dim[2].stride << " " << buf->dim[3].stride << "\n" dim 137 src/runtime/openglcompute.cpp << " min: " << buf->dim[0].min << " " << buf->dim[1].min dim 138 src/runtime/openglcompute.cpp << " " << buf->dim[2].min << " " << buf->dim[3].min << "\n" dim 255 src/runtime/openglcompute.cpp halide_assert(user_context, buf->dim[i].stride >= 0); dim 260 src/runtime/openglcompute.cpp << "extents: " << buf->dim[0].extent << "x" dim 261 src/runtime/openglcompute.cpp << buf->dim[1].extent << "x" << buf->dim[2].extent << "x" dim 262 src/runtime/openglcompute.cpp << buf->dim[3].extent << " " dim 263 src/runtime/openglcompute.cpp << "strides: " << buf->dim[0].stride << "x" dim 264 src/runtime/openglcompute.cpp << buf->dim[1].stride << "x" << buf->dim[2].stride << "x" dim 265 src/runtime/openglcompute.cpp << buf->dim[3].stride << " " dim 290 src/runtime/to_string.cpp dst = halide_int64_to_string(dst, end, buf->dim[i].min, 1); dim 292 src/runtime/to_string.cpp dst = halide_int64_to_string(dst, end, buf->dim[i].extent, 1); dim 294 src/runtime/to_string.cpp dst = halide_int64_to_string(dst, end, buf->dim[i].stride, 1); dim 118 src/runtime/write_debug_image.cpp shape[i] = buf->dim[i]; dim 37 test/correctness/autotune_bug_2.cpp g.output_buffer().dim(0).set_bounds(0, 2); dim 34 test/correctness/autotune_bug_3.cpp g.output_buffer().dim(0).set_bounds(0, 2); dim 24 test/correctness/buffer_t.cpp CHECK(dim, 32, 40); dim 23 test/correctness/constraints.cpp param.dim(0).set_bounds(0, 128); dim 49 test/correctness/constraints.cpp g.output_buffer().dim(0).set_stride(2); dim 61 test/correctness/constraints.cpp .dim(0) dim 63 test/correctness/constraints.cpp .set_bounds(0, ((h.output_buffer().dim(0).extent())/8)*8) dim 64 test/correctness/constraints.cpp .dim(1) dim 65 test/correctness/constraints.cpp .set_bounds(0, image1.dim(1).extent()); dim 14 test/correctness/extern_bounds_inference.cpp in->dim[0].min = out->dim[0].min + dx; dim 15 test/correctness/extern_bounds_inference.cpp in->dim[1].min = out->dim[1].min + dy; dim 16 test/correctness/extern_bounds_inference.cpp in->dim[0].extent = out->dim[0].extent; dim 17 test/correctness/extern_bounds_inference.cpp in->dim[1].extent = out->dim[1].extent; dim 21 test/correctness/extern_consumer.cpp input->dim[0].min = desired_min; dim 22 test/correctness/extern_consumer.cpp input->dim[0].extent = desired_extent; dim 28 test/correctness/extern_consumer.cpp int *base = ((int *)input->host) - input->dim[0].min; dim 19 test/correctness/extern_output_expansion.cpp out->dim[0].extent = ((out->dim[0].extent + 16)/17)*17; dim 22 test/correctness/extern_output_expansion.cpp in->dim[0].extent = out->dim[0].extent; dim 23 test/correctness/extern_output_expansion.cpp in->dim[0].min = out->dim[0].min; dim 27 test/correctness/extern_output_expansion.cpp assert(out->dim[0].extent % 17 == 0); dim 29 test/correctness/extern_output_expansion.cpp in->dim[0].min, in->dim[0].extent, dim 30 test/correctness/extern_output_expansion.cpp out->dim[0].min, out->dim[0].extent); dim 31 test/correctness/extern_output_expansion.cpp int32_t *in_origin = (int32_t *)in->host - in->dim[0].min; dim 32 test/correctness/extern_output_expansion.cpp int32_t *out_origin = (int32_t *)out->host - out->dim[0].min; dim 33 test/correctness/extern_output_expansion.cpp for (int i = out->dim[0].min; i < out->dim[0].min + out->dim[0].extent; i++) { dim 32 test/correctness/extern_producer.cpp int max_plus_one = out->dim[0].min + out->dim[0].extent; dim 34 test/correctness/extern_producer.cpp out->dim[0].min = round_down(out->dim[0].min, 10); dim 35 test/correctness/extern_producer.cpp out->dim[0].extent = max_plus_one - out->dim[0].min; dim 38 test/correctness/extern_producer.cpp if (out->dim[1].extent < 40) { dim 39 test/correctness/extern_producer.cpp out->dim[1].extent = 40; dim 46 test/correctness/extern_producer.cpp assert(out->dim[0].stride == 1); dim 48 test/correctness/extern_producer.cpp out->dim[0].min, out->dim[0].min + out->dim[0].extent, dim 49 test/correctness/extern_producer.cpp out->dim[1].min, out->dim[1].min + out->dim[1].extent); dim 50 test/correctness/extern_producer.cpp for (int y = 0; y < out->dim[1].extent; y++) { dim 51 test/correctness/extern_producer.cpp float *dst = (float *)out->host + y * out->dim[1].stride; dim 52 test/correctness/extern_producer.cpp for (int x = 0; x < out->dim[0].extent; x++) { dim 53 test/correctness/extern_producer.cpp int x_coord = x + out->dim[0].min; dim 54 test/correctness/extern_producer.cpp int y_coord = y + out->dim[1].min; dim 68 test/correctness/extern_producer.cpp assert(out1->host && out1->type == halide_type_of<float>() && out1->dim[0].stride == 1); dim 69 test/correctness/extern_producer.cpp assert(out2->host && out2->type == halide_type_of<float>() && out2->dim[0].stride == 1); dim 70 test/correctness/extern_producer.cpp assert(out1->dim[0].min == out2->dim[0].min && dim 71 test/correctness/extern_producer.cpp out1->dim[1].min == out2->dim[1].min && dim 72 test/correctness/extern_producer.cpp out1->dim[0].extent == out2->dim[0].extent && dim 73 test/correctness/extern_producer.cpp out1->dim[1].extent == out2->dim[1].extent); dim 75 test/correctness/extern_producer.cpp out1->dim[0].min, out1->dim[0].min + out1->dim[0].extent, dim 76 test/correctness/extern_producer.cpp out1->dim[1].min, out1->dim[1].min + out1->dim[1].extent); dim 77 test/correctness/extern_producer.cpp for (int y = 0; y < out1->dim[1].extent; y++) { dim 78 test/correctness/extern_producer.cpp float *dst1 = (float *)out1->host + y * out1->dim[1].stride; dim 79 test/correctness/extern_producer.cpp float *dst2 = (float *)out2->host + y * out2->dim[1].stride; dim 80 test/correctness/extern_producer.cpp for (int x = 0; x < out1->dim[0].extent; x++) { dim 81 test/correctness/extern_producer.cpp int x_coord = x + out1->dim[0].min; dim 82 test/correctness/extern_producer.cpp int y_coord = y + out1->dim[1].min; dim 16 test/correctness/extern_sort.cpp in->dim[0].min = out->dim[0].min; dim 17 test/correctness/extern_sort.cpp in->dim[0].extent = out->dim[0].extent; dim 19 test/correctness/extern_sort.cpp memcpy(out->host, in->host, out->dim[0].extent * out->type.bytes()); dim 21 test/correctness/extern_sort.cpp float *out_end = out_start + out->dim[0].extent; dim 11 test/correctness/extern_stage.cpp int min = out->dim[0].min; dim 12 test/correctness/extern_stage.cpp int max = out->dim[0].min + out->dim[0].extent - 1; dim 14 test/correctness/extern_stage.cpp int extent = out->dim[0].extent; dim 24 test/correctness/extern_stage.cpp in1->dim[0].min = flipped_min; dim 25 test/correctness/extern_stage.cpp in1->dim[0].extent = extent; dim 28 test/correctness/extern_stage.cpp in2->dim[0].min = flipped_min; dim 29 test/correctness/extern_stage.cpp in2->dim[0].extent = extent; dim 44 test/correctness/extern_stage.cpp assert(in1->dim[0].min <= flipped_min && dim 45 test/correctness/extern_stage.cpp in1->dim[0].min + in1->dim[0].extent > flipped_max); dim 46 test/correctness/extern_stage.cpp assert(in2->dim[0].min <= flipped_min && dim 47 test/correctness/extern_stage.cpp in2->dim[0].min + in2->dim[0].extent > flipped_max); dim 50 test/correctness/extern_stage.cpp assert(in1->dim[0].stride == 1 && in2->dim[0].stride == 1 && out->dim[0].stride == 1); dim 54 test/correctness/extern_stage.cpp uint8_t *dst = (uint8_t *)(out->host) - out->dim[0].min; dim 55 test/correctness/extern_stage.cpp uint8_t *src1 = (uint8_t *)(in1->host) - in1->dim[0].min; dim 56 test/correctness/extern_stage.cpp int *src2 = (int *)(in2->host) - in2->dim[0].min; dim 40 test/correctness/for_each_element.cpp for (int c = im.dim(2).min(); c < im.dim(2).min() + im.dim(2).extent(); c++) { dim 41 test/correctness/for_each_element.cpp for (int y = im.dim(1).min(); y < im.dim(1).min() + im.dim(1).extent(); y++) { dim 42 test/correctness/for_each_element.cpp for (int x = im.dim(0).min(); x < im.dim(0).min() + im.dim(0).extent(); x++) { dim 54 test/correctness/for_each_element.cpp for (int c : im.dim(2)) { dim 55 test/correctness/for_each_element.cpp for (int y : im.dim(1)) { dim 56 test/correctness/for_each_element.cpp for (int x : im.dim(0)) { dim 95 test/correctness/gpu_multi_device.cpp gpu_buffer.dim(2).set_bounds(0, 3); dim 19 test/correctness/gpu_non_contiguous_copy.cpp cropped.raw_buffer()->dim[0].extent = x_size; dim 20 test/correctness/gpu_non_contiguous_copy.cpp cropped.raw_buffer()->dim[1].extent = y_size; dim 21 test/correctness/gpu_non_contiguous_copy.cpp cropped.raw_buffer()->dim[2].extent = z_size; dim 22 test/correctness/gpu_non_contiguous_copy.cpp cropped.raw_buffer()->dim[3].extent = w_size; dim 23 test/correctness/gpu_non_contiguous_copy.cpp cropped.raw_buffer()->dim[0].stride *= 2; dim 24 test/correctness/gpu_non_contiguous_copy.cpp cropped.raw_buffer()->dim[1].stride *= 2; dim 25 test/correctness/gpu_non_contiguous_copy.cpp cropped.raw_buffer()->dim[2].stride *= 2; dim 26 test/correctness/gpu_non_contiguous_copy.cpp cropped.raw_buffer()->dim[3].stride *= 2; dim 50 test/correctness/gpu_non_contiguous_copy.cpp f.output_buffer().dim(0).set_stride(Expr()); dim 10 test/correctness/halide_buffer.cpp if (a.dim(i).min() != b.dim(i).min() || dim 11 test/correctness/halide_buffer.cpp a.dim(i).extent() != b.dim(i).extent()) { dim 27 test/correctness/input_larger_than_two_gigs.cpp grand_total() = cast<uint64_t>(input(0, 0, 0) + input(input.dim(0).extent()-1, input.dim(1).extent()-1, input.dim(2).extent()-1)); dim 144 test/correctness/interleave.cpp .dim(0) dim 146 test/correctness/interleave.cpp .dim(1) dim 192 test/correctness/interleave.cpp .dim(0) dim 194 test/correctness/interleave.cpp .dim(1) dim 232 test/correctness/interleave.cpp .dim(0) dim 234 test/correctness/interleave.cpp .dim(1) dim 371 test/correctness/interleave.cpp .dim(0) dim 375 test/correctness/interleave.cpp .dim(1) dim 381 test/correctness/interleave.cpp .dim(0) dim 385 test/correctness/interleave.cpp .dim(1) dim 20 test/correctness/interleave_rgb.cpp .dim(0).set_stride(3) dim 21 test/correctness/interleave_rgb.cpp .dim(2).set_stride(1).set_extent(3); dim 28 test/correctness/lots_of_dimensions.cpp for (int i0 = in.dim(0).min(); i0 <= in.dim(0).max(); i0++) { dim 29 test/correctness/lots_of_dimensions.cpp for (int i1 = in.dim(1).min(); i1 <= in.dim(1).max(); i1++) { dim 30 test/correctness/lots_of_dimensions.cpp for (int i2 = in.dim(2).min(); i2 <= in.dim(2).max(); i2++) { dim 31 test/correctness/lots_of_dimensions.cpp for (int i3 = in.dim(3).min(); i3 <= in.dim(3).max(); i3++) { dim 32 test/correctness/lots_of_dimensions.cpp for (int i4 = in.dim(4).min(); i4 <= in.dim(4).max(); i4++) { dim 33 test/correctness/lots_of_dimensions.cpp for (int i5 = in.dim(5).min(); i5 <= in.dim(5).max(); i5++) { dim 34 test/correctness/lots_of_dimensions.cpp for (int i6 = in.dim(6).min(); i6 <= in.dim(6).max(); i6++) { dim 35 test/correctness/lots_of_dimensions.cpp for (int i7 = in.dim(7).min(); i7 <= in.dim(7).max(); i7++) { dim 78 test/correctness/lots_of_dimensions.cpp for (int i0 = in.dim(0).min(); i0 <= in.dim(0).max(); i0++) { dim 79 test/correctness/lots_of_dimensions.cpp for (int i1 = in.dim(1).min(); i1 <= in.dim(1).max(); i1++) { dim 80 test/correctness/lots_of_dimensions.cpp for (int i2 = in.dim(2).min(); i2 <= in.dim(2).max(); i2++) { dim 81 test/correctness/lots_of_dimensions.cpp for (int i3 = in.dim(3).min(); i3 <= in.dim(3).max(); i3++) { dim 82 test/correctness/lots_of_dimensions.cpp for (int i4 = in.dim(4).min(); i4 <= in.dim(4).max(); i4++) { dim 83 test/correctness/lots_of_dimensions.cpp for (int i5 = in.dim(5).min(); i5 <= in.dim(5).max(); i5++) { dim 84 test/correctness/lots_of_dimensions.cpp for (int i6 = in.dim(6).min(); i6 <= in.dim(6).max(); i6++) { dim 85 test/correctness/lots_of_dimensions.cpp for (int i7 = in.dim(7).min(); i7 <= in.dim(7).max(); i7++) { dim 12 test/correctness/many_small_extern_stages.cpp printf(" %d %d %d\n", b->dim[i].min, b->dim[i].extent, b->dim[i].stride); dim 27 test/correctness/many_small_extern_stages.cpp in->dim[0] = out->dim[0]; dim 28 test/correctness/many_small_extern_stages.cpp in->dim[1] = out->dim[1]; dim 35 test/correctness/many_small_extern_stages.cpp assert(in->dim[0] == out->dim[0]); dim 36 test/correctness/many_small_extern_stages.cpp assert(in->dim[1] == out->dim[1]); dim 38 test/correctness/many_small_extern_stages.cpp size_t sz = out->type.bytes() * out->dim[0].extent * out->dim[1].extent; dim 41 test/correctness/many_small_extern_stages.cpp assert(out->dim[0].stride == 1 && out->dim[1].stride == out->dim[0].extent); dim 41 test/correctness/memoize.cpp call_count_with_arg_parallel[out->dim[2].min]++; dim 52 test/correctness/memoize.cpp in->dim[i] = out->dim[i]; dim 19 test/correctness/multipass_constraints.cpp in.dim(0).set_bounds(in.dim(1).min() - 5, in.dim(1).extent() + o.dim(0).extent()); dim 21 test/correctness/multipass_constraints.cpp o.dim(0).set_bounds(0, select(o.dim(0).extent() < 22, o.dim(0).extent() + 1, o.dim(0).extent())); dim 29 test/correctness/multipass_constraints.cpp if (in.get().dim(0).min() != -4 || dim 30 test/correctness/multipass_constraints.cpp in.get().dim(0).extent() != 34 || dim 31 test/correctness/multipass_constraints.cpp in.get().dim(1).min() != 1 || dim 32 test/correctness/multipass_constraints.cpp in.get().dim(1).extent() != 10 || dim 33 test/correctness/multipass_constraints.cpp out_buf.dim(0).min() != 0 || dim 34 test/correctness/multipass_constraints.cpp out_buf.dim(0).extent() != 24 || dim 35 test/correctness/multipass_constraints.cpp out_buf.dim(1).min() != 2 || dim 36 test/correctness/multipass_constraints.cpp out_buf.dim(1).extent() != 8) { dim 41 test/correctness/multipass_constraints.cpp in.get().dim(0).min(), in.get().dim(0).extent(), dim 42 test/correctness/multipass_constraints.cpp in.get().dim(1).min(), in.get().dim(1).extent(), dim 43 test/correctness/multipass_constraints.cpp out_buf.dim(0).min(), out_buf.dim(0).extent(), dim 44 test/correctness/multipass_constraints.cpp out_buf.dim(1).min(), out_buf.dim(1).extent()); dim 73 test/correctness/parallel_reductions.cpp out.output_buffer().dim(0).set_bounds(0, 256); dim 30 test/correctness/partition_loops_bug.cpp .dim(0).set_bounds(0, 4) dim 31 test/correctness/partition_loops_bug.cpp .dim(1).set_bounds(0, 4); dim 33 test/correctness/partition_loops_bug.cpp .dim(0).set_bounds(0, 4) dim 34 test/correctness/partition_loops_bug.cpp .dim(1).set_bounds(0, 4); dim 52 test/correctness/process_some_tiles.cpp output.bound(x, 0, (image.dim(0).extent()/tile_size)*tile_size) dim 53 test/correctness/process_some_tiles.cpp .bound(y, 0, (image.dim(0).extent()/tile_size)*tile_size) dim 109 test/correctness/simd_op_check.cpp p.dim(0).set_min(0); dim 17 test/correctness/skip_stages_external_array_functions.cpp input->dim[0] = output->dim[0]; dim 21 test/correctness/skip_stages_external_array_functions.cpp for (int32_t i = 0; i < output->dim[0].extent; i++) { dim 214 test/correctness/specialize.cpp im.dim(0).set_stride(Expr()); // unconstrain the stride dim 222 test/correctness/specialize.cpp f.specialize(im.dim(0).stride() == 1 && im.width() >= 8).vectorize(x, 8); dim 372 test/correctness/specialize.cpp Expr w = out.output_buffer().dim(0).extent(); dim 373 test/correctness/specialize.cpp out.output_buffer().dim(0).set_min(0); dim 33 test/correctness/uninitialized_read.cpp h.output_buffer().dim(0).set_bounds(0, 1); dim 12 test/error/constrain_wrong_output_buffer.cpp f.output_buffers()[1].dim(0).set_min(4); dim 7 test/generator/blur2x2_generator.cpp return p.dim(0).stride() == channels && p.dim(2).stride() == 1 && p.dim(2).extent() == channels; dim 12 test/generator/blur2x2_generator.cpp return p.dim(0).stride() == 1 && p.dim(2).extent() == channels; dim 45 test/generator/blur2x2_generator.cpp input.dim(0).set_stride(Expr()); dim 46 test/generator/blur2x2_generator.cpp blur.dim(0).set_stride(Expr()); dim 30 test/generator/error_codes_aottest.cpp in.dim = shape; dim 35 test/generator/error_codes_aottest.cpp out.dim = shape; dim 52 test/generator/error_codes_aottest.cpp in.dim = smaller; dim 56 test/generator/error_codes_aottest.cpp in.dim = shape; dim 63 test/generator/error_codes_aottest.cpp i.dim = bad_shape; dim 64 test/generator/error_codes_aottest.cpp o.dim = bad_shape; dim 74 test/generator/error_codes_aottest.cpp in.dim = huge; dim 78 test/generator/error_codes_aottest.cpp in.dim = shape; dim 83 test/generator/error_codes_aottest.cpp in.dim = huge_stride; dim 87 test/generator/error_codes_aottest.cpp in.dim = shape; dim 98 test/generator/error_codes_aottest.cpp in.dim = wrong_stride; dim 102 test/generator/error_codes_aottest.cpp in.dim = shape; dim 87 test/generator/image_from_array_aottest.cpp if (img.dim(dimension).extent() == reference) dim 90 test/generator/image_from_array_aottest.cpp << " is " << img.dim(dimension).extent() << " instead of " << reference << "\n"; dim 25 test/generator/msan_aottest.cpp in->dim[0].extent = 4; dim 26 test/generator/msan_aottest.cpp in->dim[1].extent = 4; dim 27 test/generator/msan_aottest.cpp in->dim[2].extent = 3; dim 28 test/generator/msan_aottest.cpp in->dim[0].min = 0; dim 29 test/generator/msan_aottest.cpp in->dim[1].min = 0; dim 30 test/generator/msan_aottest.cpp in->dim[2].min = 0; dim 28 test/generator/msan_generator.cpp msan_output.dim(0).set_stride(Expr()).set_extent(4) dim 29 test/generator/msan_generator.cpp .dim(1).set_extent(4) dim 30 test/generator/msan_generator.cpp .dim(2).set_extent(3); dim 9 test/generator/nested_externs_generator.cpp t.dim(0).set_stride(3) dim 10 test/generator/nested_externs_generator.cpp .dim(2).set_min(0).set_extent(3).set_stride(1); dim 7 test/generator/stubtest_generator.cpp template<typename Type, int size = 32, int dim = 3> dim 9 test/generator/stubtest_generator.cpp Halide::Buffer<Type> im(size, size, dim); dim 12 test/generator/stubtest_generator.cpp for (int c = 0; c < dim; c++) { dim 9 test/generator/tiled_blur_generator.cpp return p.dim(0).stride() == channels && p.dim(2).stride() == 1 && p.dim(2).extent() == channels; dim 14 test/generator/tiled_blur_generator.cpp return p.dim(0).stride() == 1 && p.dim(2).extent() == channels; dim 33 test/generator/tiled_blur_generator.cpp { brightened, input.dim(0).extent(), input.dim(1).extent() }, dim 54 test/generator/tiled_blur_generator.cpp input.dim(0).set_stride(Expr()); dim 55 test/generator/tiled_blur_generator.cpp output.dim(0).set_stride(Expr()); dim 17 test/performance/packed_planar_fusion.cpp .dim(i) dim 18 test/performance/packed_planar_fusion.cpp .set_stride(dst.dim(i).stride()) dim 19 test/performance/packed_planar_fusion.cpp .set_extent(dst.dim(i).extent()) dim 20 test/performance/packed_planar_fusion.cpp .set_min(dst.dim(i).min()); dim 16 test/performance/rgb_interleaved.cpp src.dim(0).set_stride(3) dim 17 test/performance/rgb_interleaved.cpp .dim(2).set_stride(1).set_bounds(0, 3); dim 21 test/performance/rgb_interleaved.cpp .dim(0).set_stride(1) dim 22 test/performance/rgb_interleaved.cpp .dim(2).set_extent(3); dim 90 test/performance/rgb_interleaved.cpp src.dim(0).set_stride(1).dim(2).set_extent(3); dim 93 test/performance/rgb_interleaved.cpp .dim(0).set_stride(3) dim 94 test/performance/rgb_interleaved.cpp .dim(2).set_stride(1).set_bounds(0, 3); dim 40 tools/halide_image_info.h static inline void print_loc(const std::vector<int32_t> &loc, int dim, const int32_t *min) { dim 41 tools/halide_image_info.h for (int d = 0; d < dim; d++) { dim 78 tools/halide_image_info.h int dim = img.dimensions(); dim 91 tools/halide_image_info.h << " dim:" << dim << " bpp:" << img_bpp; dim 92 tools/halide_image_info.h for (int d = 0; d < dim; d++) { dim 119 tools/halide_image_info.h std::cout << tag << " img_dim = " << dim << std::endl; dim 124 tools/halide_image_info.h for (int d = 0; d < dim; d++) { dim 129 tools/halide_image_info.h for (int d = 0; d < dim; d++) { dim 134 tools/halide_image_info.h for (int d = 0; d < dim; d++) { dim 139 tools/halide_image_info.h for (int d = 0; d < dim; d++) { dim 175 tools/halide_image_info.h int dim = img.dimensions(); dim 180 tools/halide_image_info.h << " dim:" << dim << " bpp:" << bpp; dim 181 tools/halide_image_info.h for (int d = 0; d < dim; d++) { dim 188 tools/halide_image_info.h std::vector<int32_t> curloc(dim); dim 189 tools/halide_image_info.h for (int d = 1; d < dim; d++) { dim 196 tools/halide_image_info.h for (int d = 1; d < dim; d++) { dim 215 tools/halide_image_info.h if (dim > 1) { // Multi-dim, just report (x0,y1) on each row dim 239 tools/halide_image_info.h int dim = img.dimensions(); dim 243 tools/halide_image_info.h << " dim:" << dim << " bpp:" << bpp; dim 244 tools/halide_image_info.h for (int d = 0; d < dim; d++) { dim 251 tools/halide_image_info.h std::vector<int32_t> curloc(dim); dim 252 tools/halide_image_info.h for (int d = 1; d < dim; d++) { dim 262 tools/halide_image_info.h std::vector<int32_t> minloc(dim); dim 263 tools/halide_image_info.h std::vector<int32_t> maxloc(dim); dim 264 tools/halide_image_info.h for (int d = 0; d < dim; d++) { dim 271 tools/halide_image_info.h for (int d = 1; d < dim; d++) { dim 286 tools/halide_image_info.h for (int d = 0; d < dim; d++) { dim 292 tools/halide_image_info.h for (int d = 0; d < dim; d++) { dim 303 tools/halide_image_info.h print_loc(minloc, dim, min); dim 306 tools/halide_image_info.h print_loc(maxloc, dim, min); dim 126 tutorial/lesson_16_rgb_generate.cpp .dim(0).set_stride(3) // stride in dimension 0 (x) is three dim 127 tutorial/lesson_16_rgb_generate.cpp .dim(2).set_stride(1); // stride in dimension 2 (c) is one dim 130 tutorial/lesson_16_rgb_generate.cpp .dim(0).set_stride(3) dim 131 tutorial/lesson_16_rgb_generate.cpp .dim(2).set_stride(1); dim 139 tutorial/lesson_16_rgb_generate.cpp input.dim(2).set_bounds(0, 3); // Dimension 2 (c) starts at 0 and has extent 3. dim 140 tutorial/lesson_16_rgb_generate.cpp brighter.output_buffer().dim(2).set_bounds(0, 3); dim 156 tutorial/lesson_16_rgb_generate.cpp input.dim(0).set_stride(Expr()); // Use a default-constructed dim 160 tutorial/lesson_16_rgb_generate.cpp brighter.output_buffer().dim(0).set_stride(Expr()); dim 169 tutorial/lesson_16_rgb_generate.cpp input.dim(0).set_stride(Expr()); // Use an undefined Expr to dim 173 tutorial/lesson_16_rgb_generate.cpp brighter.output_buffer().dim(0).set_stride(Expr()); dim 180 tutorial/lesson_16_rgb_generate.cpp (input.dim(0).stride() == 1); dim 182 tutorial/lesson_16_rgb_generate.cpp (input.dim(0).stride() == 3 && dim 183 tutorial/lesson_16_rgb_generate.cpp input.dim(2).stride() == 1 && dim 184 tutorial/lesson_16_rgb_generate.cpp input.dim(2).extent() == 3); dim 187 tutorial/lesson_16_rgb_generate.cpp (brighter.output_buffer().dim(0).stride() == 1); dim 189 tutorial/lesson_16_rgb_generate.cpp (brighter.output_buffer().dim(0).stride() == 3 && dim 190 tutorial/lesson_16_rgb_generate.cpp brighter.output_buffer().dim(2).stride() == 1 && dim 191 tutorial/lesson_16_rgb_generate.cpp brighter.output_buffer().dim(2).extent() == 3); dim 52 tutorial/lesson_16_rgb_run.cpp assert(planar_input.dim(0).stride() == 1); dim 53 tutorial/lesson_16_rgb_run.cpp assert(planar_output.dim(0).stride() == 1); dim 54 tutorial/lesson_16_rgb_run.cpp assert(interleaved_input.dim(0).stride() == 3); dim 55 tutorial/lesson_16_rgb_run.cpp assert(interleaved_output.dim(0).stride() == 3); dim 56 tutorial/lesson_16_rgb_run.cpp assert(interleaved_input.dim(2).stride() == 1); dim 57 tutorial/lesson_16_rgb_run.cpp assert(interleaved_output.dim(2).stride() == 1);