Home
last modified time | relevance | path

Searched refs:patch_offset (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dextract_image_patches_impl.cu32 const int64_t patch_offset = (inner_index - patch_index * patch_stride) / output_depth; in ExtractImagePatches() local
35 const int64_t row_offset = patch_offset / row_stride; in ExtractImagePatches()
43 const int64_t col_offset = patch_offset - row_offset * row_stride; in ExtractImagePatches()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_tess_io_to_mem.c309 nir_ssa_def *patch_offset = nir_imul_imm(b, rel_patch_id, output_patch_stride); in hs_output_lds_offset() local
310 nir_ssa_def *output_patch_offset = nir_iadd_nuw(b, patch_offset, output_patch0_offset); in hs_output_lds_offset()
338 …nir_ssa_def *patch_offset = nir_imul(b, rel_patch_id, nir_imul_imm(b, out_vertices_per_patch, 16u)… in hs_per_vertex_output_vmem_offset() local
343 return nir_iadd_nuw(b, nir_iadd_nuw(b, patch_offset, vertex_index_off), io_offset); in hs_per_vertex_output_vmem_offset()
368 nir_ssa_def *patch_offset = nir_imul_imm(b, rel_patch_id, 16u); in hs_per_patch_output_vmem_offset() local
370 return nir_iadd_nuw(b, off, patch_offset); in hs_per_patch_output_vmem_offset()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tess.c397 nir_ssa_def *patch_offset = nir_imul24(b, patch_id, patch_stride); in build_per_vertex_offset() local
436 return nir_iadd(b, nir_iadd(b, patch_offset, attr_offset), vertex_offset); in build_per_vertex_offset()
477 nir_ssa_def *patch_offset = in build_tessfactor_base() local
495 return nir_iadd(b, patch_offset, nir_imm_int(b, offset)); in build_tessfactor_base()