Home
last modified time | relevance | path

Searched refs:memory_type (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dmemory_types_test.cc78 MemoryType memory_type; in TEST() local
80 TF_EXPECT_OK(MemoryTypeForOutput(DEVICE_CPU, g, sf, 0, &memory_type)); in TEST()
82 EXPECT_EQ(memory_type, DEVICE_MEMORY); in TEST()
85 TF_EXPECT_OK(MemoryTypeForOutput(DEVICE_GPU, g, si, 0, &memory_type)); in TEST()
87 EXPECT_EQ(memory_type, HOST_MEMORY); in TEST()
91 TF_EXPECT_OK(MemoryTypeForOutput(DEVICE_SYCL, g, si, 0, &memory_type)); in TEST()
93 EXPECT_EQ(memory_type, HOST_MEMORY); in TEST()
Dmemory_types.h44 const Node* n, int index, MemoryType* memory_type);
Dmemory_types.cc206 const Node* n, int index, MemoryType* memory_type) { in MemoryTypeForOutput() argument
216 *memory_type = out_mvec[index]; in MemoryTypeForOutput()
Dconstant_folding.cc502 MemoryType memory_type = output_mvec[i]; in ReplaceTensorWithConstant() local
504 if ((memory_type == HOST_MEMORY && !is_int32) || in ReplaceTensorWithConstant()
505 (memory_type == DEVICE_MEMORY && is_int32)) { in ReplaceTensorWithConstant()
/external/u-boot/lib/efi_loader/
Defi_memory.c151 uint64_t efi_add_memory_map(uint64_t start, uint64_t pages, int memory_type, in efi_add_memory_map() argument
160 start, pages, memory_type, overlap_only_ram ? "yes" : "no"); in efi_add_memory_map()
166 newlist->desc.type = memory_type; in efi_add_memory_map()
171 switch (memory_type) { in efi_add_memory_map()
288 efi_status_t efi_allocate_pages(int type, int memory_type, in efi_allocate_pages() argument
326 ret = efi_add_memory_map(addr, pages, memory_type, true); in efi_allocate_pages()
338 void *efi_alloc(uint64_t len, int memory_type) in efi_alloc() argument
344 r = efi_allocate_pages(EFI_ALLOCATE_ANY_PAGES, memory_type, pages, in efi_alloc()
Defi_device_path.c893 struct efi_device_path *efi_dp_from_mem(uint32_t memory_type, in efi_dp_from_mem() argument
908 mdp->memory_type = memory_type; in efi_dp_from_mem()
Defi_device_path_to_text.c49 mdp->memory_type, in dp_hardware()
Defi_boottime.c303 static efi_status_t EFIAPI efi_allocate_pages_ext(int type, int memory_type, in efi_allocate_pages_ext() argument
309 EFI_ENTRY("%d, %d, 0x%zx, %p", type, memory_type, pages, memory); in efi_allocate_pages_ext()
310 r = efi_allocate_pages(type, memory_type, pages, memory); in efi_allocate_pages_ext()
/external/u-boot/arch/arm/include/asm/arch-tegra20/
Dsdram_param.h16 enum memory_type { enum
28 enum memory_type memory_type; member
/external/u-boot/arch/arm/mach-tegra/tegra20/
Dwarmboot.c96 u32 memory_type:3; member
167 scratch2.memory_type = sdram.memory_type; in warmboot_save_sdram_params()
/external/u-boot/include/
Defi_loader.h299 void *efi_alloc(uint64_t len, int memory_type);
301 efi_status_t efi_allocate_pages(int type, int memory_type, efi_uintn_t pages,
317 uint64_t efi_add_memory_map(uint64_t start, uint64_t pages, int memory_type,
Defi_api.h369 u32 memory_type; member
/external/u-boot/arch/arm/cpu/armv7/ls102xa/
Dcpu.c108 u32 memory_type) in set_pgsection() argument
113 value |= PMD_ATTRINDX(memory_type); in set_pgsection()
/external/tensorflow/tensorflow/core/debug/
Ddebug_graph_utils.cc144 MemoryType memory_type; in InsertNodes() local
146 src_output_slot, &memory_type)); in InsertNodes()
151 graph, device_type, memory_type == HOST_MEMORY, src_node->name(), in InsertNodes()
/external/mesa3d/src/gallium/state_trackers/va/
Dsurface.c633 int memory_type; in vlVaCreateSurfaces2() local
656 memory_type = VA_SURFACE_ATTRIB_MEM_TYPE_VA; in vlVaCreateSurfaces2()
676 memory_type = attrib_list[i].value.value.i; in vlVaCreateSurfaces2()
699 switch (memory_type) { in vlVaCreateSurfaces2()
753 switch (memory_type) { in vlVaCreateSurfaces2()
/external/u-boot/arch/x86/include/asm/arch-braswell/fsp/
Dfsp_vpd.h26 u8 memory_type; /* Offset 0x0041 */ member
/external/u-boot/arch/x86/cpu/braswell/
Dfsp_configs.c89 memory_upd->memory_type = fdtdec_get_int(blob, node, in update_fsp_configs()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.c823 unsigned memory_type) in ureg_DECL_memory() argument
825 struct ureg_src reg = ureg_src_register(TGSI_FILE_MEMORY, memory_type); in ureg_DECL_memory()
827 ureg->use_memory[memory_type] = true; in ureg_DECL_memory()
1760 emit_decl_memory(struct ureg_program *ureg, unsigned memory_type) in emit_decl_memory() argument
1769 out[0].decl.MemType = memory_type; in emit_decl_memory()
1772 out[1].decl_range.First = memory_type; in emit_decl_memory()
1773 out[1].decl_range.Last = memory_type; in emit_decl_memory()
Dtgsi_ureg.h382 ureg_DECL_memory(struct ureg_program *ureg, unsigned memory_type);
/external/u-boot/cmd/
Dbootefi.c318 mdp->memory_type = loaded_image_info.image_code_type; in do_bootefi_exec()
/external/u-boot/drivers/ddr/marvell/axp/
Dddr3_spd.c135 enum memory_type { enum