Home
last modified time | relevance | path

Searched refs:mem_offset (Results 1 – 22 of 22) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/hccl_adapter/
Dall_to_all_v_calc_param.cc86 std::vector<size_t> mem_offset(mem_sizes.size(), 0); in CalcMemOffset() local
88 mem_offset[i] = mem_offset[i - 1] + mem_sizes[i]; in CalcMemOffset()
95 (*displs)[LongToSize(rank_ids[i])] = SizeToLong(mem_offset[i]); in CalcMemOffset()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_image.c193 buffer->mem_offset + in v3dX()
Dv3dv_image.c241 return image->mem_offset + slice->offset + layer * slice->size; in v3dv_layer_offset()
243 return image->mem_offset + slice->offset + layer * image->cube_map_stride; in v3dv_layer_offset()
Dv3dv_queue.c233 info->offset + info->dst->mem_offset; in handle_copy_query_results_cpu_job()
438 info->buffer->mem_offset + info->buffer_offset + in handle_copy_buffer_to_image_cpu_job()
498 const uint32_t offset = info->buffer->mem_offset + info->offset; in handle_csd_indirect_cpu_job()
Dv3dv_meta_copy.c626 image->mem_offset); in copy_image_to_buffer_blit()
662 VkDeviceSize buffer_offset = buffer->mem_offset + region->bufferOffset + in copy_image_to_buffer_blit()
983 image->mem_offset = src->mem_offset; in create_image_alias()
1166 dst_buffer->mem->bo, dst_buffer->mem_offset, in v3dv_CmdCopyBuffer2KHR()
1167 src_buffer->mem->bo, src_buffer->mem_offset, in v3dv_CmdCopyBuffer2KHR()
1217 (cmd_buffer, dst_buffer->mem->bo, dst_buffer->mem_offset, in v3dv_CmdUpdateBuffer()
1350 buffer->mem_offset + region->bufferOffset + in copy_buffer_to_image_tfu()
Dv3dvx_cmd_buffer.c1954 c_vb->buffer->mem_offset + in v3dX()
2129 ibuffer->mem_offset + offset); in v3dX()
2214 buffer->mem_offset + offset); in v3dX()
2243 buffer->mem_offset + offset); in v3dX()
Dv3dv_private.h536 VkDeviceSize mem_offset; member
593 VkDeviceSize mem_offset; member
Dv3dv_uniforms.c289 descriptor->buffer->mem_offset + in write_ubo_ssbo_uniforms()
Dv3dv_device.c2284 image->mem_offset = info->memoryOffset; in bind_image_memory()
2304 .memoryOffset = swapchain_image->mem_offset, in v3dv_BindImageMemory2()
2360 buffer->mem_offset = info->memoryOffset; in bind_buffer_memory()
Dv3dvx_meta_common.c519 uint32_t buffer_offset = buffer->mem_offset + region->bufferOffset + in emit_copy_layer_to_buffer_per_tile_list()
1079 buffer->mem_offset + region->bufferOffset + height * buffer_stride * layer; in emit_copy_buffer_to_layer_per_tile_list()
/third_party/mesa3d/src/amd/vulkan/
Dradv_acceleration_structure.c104 accel->mem_offset = buffer->offset + pCreateInfo->offset; in radv_CreateAccelerationStructureKHR()
150 const struct radv_accel_struct_header *header = (const void*)(base_ptr + accel->mem_offset); in radv_WriteAccelerationStructuresPropertiesKHR()
344 src_base = (const char *)src_base + src_accel_struct->mem_offset; in build_instances()
537 base_ptr = base_ptr + accel->mem_offset; in build_bvh()
696 src_ptr += src_struct->mem_offset; in radv_CopyAccelerationStructureKHR()
697 dst_ptr += dst_struct->mem_offset; in radv_CopyAccelerationStructureKHR()
1928 radv_buffer_get_va(accel_struct->bo) + accel_struct->mem_offset + base, in radv_CmdBuildAccelerationStructuresKHR()
1997 base += accel_struct->mem_offset; in radv_CopyMemoryToAccelerationStructureKHR()
2027 base += accel_struct->mem_offset; in radv_CopyAccelerationStructureToMemoryKHR()
Dradv_private.h2876 uint64_t mem_offset; member
2883 return radv_buffer_get_va(accel->bo) + accel->mem_offset; in radv_accel_struct_get_va()
Dradv_device.c4330 uint32_t mem_offset = bind->pBinds[i].memoryOffset; in radv_sparse_image_bind_memory() local
4367 mem ? mem->bo : NULL, mem_offset); in radv_sparse_image_bind_memory()
4377 mem_offset + mem_increment * y); in radv_sparse_image_bind_memory()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-anc.c420 const guint16 * mem, gsize mem_offset, gsize mem_size) in gst_info_dump_mem16_line() argument
432 mem += mem_offset; in gst_info_dump_mem16_line()
441 (guint) mem_offset, hexstr); in gst_info_dump_mem16_line()
/third_party/gstreamer/gstplugins_bad/tests/examples/mpegts/
Dts-parser.c38 const guint8 * mem, gsize mem_offset, gsize mem_size) in gst_info_dump_mem_line() argument
51 mem += mem_offset; in gst_info_dump_mem_line()
62 (guint) mem_offset, hexstr, ascstr); in gst_info_dump_mem_line()
/third_party/libdrm/tests/amdgpu/
Dbasic_tests.c2811 uint32_t mem_offset, patch_code_offset; in amdgpu_draw_load_ps_shader() local
2845 mem_offset = i * shader_offset; in amdgpu_draw_load_ps_shader()
2846 memcpy(ptr + mem_offset, shader, shader_size); in amdgpu_draw_load_ps_shader()
2851 mem_offset = i * shader_offset + patchcode_offset[0] * sizeof(uint32_t); in amdgpu_draw_load_ps_shader()
2853 memcpy(ptr + mem_offset, in amdgpu_draw_load_ps_shader()
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2allocator.c320 group->planes[i].m.mem_offset); in gst_v4l2_memory_group_new()
845 MAP_SHARED, obj->video_fd, group->planes[i].m.mem_offset); in gst_v4l2_allocator_alloc_mmap()
/third_party/ffmpeg/libavcodec/
Dv4l2_buffers.c532 … buf_to_m2mctx(avbuf)->fd, avbuf->buf.m.planes[i].m.mem_offset); in ff_v4l2_buffer_initialize()
/third_party/gstreamer/gstreamer/gst/
Dgstinfo.c2297 const guint8 * mem, gsize mem_offset, gsize mem_size) in gst_info_dump_mem_line() argument
2310 mem += mem_offset; in gst_info_dump_mem_line()
2321 (guint) mem_offset, hexstr, ascstr); in gst_info_dump_mem_line()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/somas/
Dsomas.cc220 auto mem_offset = somas_json[kMemOffset]; in LoadSomasResult() local
221 mem_offset_ = mem_offset; in LoadSomasResult()
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/linux/
Dvideodev2.h981 __u32 mem_offset; member
/third_party/gstreamer/gstplugins_good/sys/v4l2/ext/
Dvideodev2.h981 __u32 mem_offset; member