Home
last modified time | relevance | path

Searched defs:mem_size (Results 1 – 25 of 40) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dmemory_manager.h68 void *MallocDevice(size_t mem_size) override { return MallocMemFromMemPool(mem_size); } in MallocDevice()
73 void *MallocHost(size_t mem_size) override { in MallocHost()
96 auto mem_size = iter->second->size(); in FreeHost() local
99 void SwapIn(const void *host_ptr, void *device_ptr, size_t mem_size, void *stream) override { in SwapIn()
102 void SwapOut(const void *device_ptr, void *host_ptr, size_t mem_size, void *stream) override { in SwapOut()
Dmemory_scheduler.cc43 void MemScheduler::Record(const void *key, const EventType &event_type, size_t mem_size) { in Record()
53 void MemScheduler::Init(const void *key, void *host_ptr, size_t mem_size, MemPriority priority) { in Init()
62 void *MemScheduler::GetOrMalloc(const void *key, size_t mem_size, MemPriority priority) { in GetOrMalloc()
/third_party/node/src/
Dnode_wasi.cc58 #define GET_BACKING_STORE_OR_RETURN(wasi, args, mem_ptr, mem_size) \ argument
67 #define CHECK_BOUNDS_OR_RETURN(args, mem_size, offset, buf_size) \ argument
261 size_t mem_size; in ArgsGet() local
300 size_t mem_size; in ArgsSizesGet() local
334 size_t mem_size; in ClockResGet() local
362 size_t mem_size; in ClockTimeGet() local
391 size_t mem_size; in EnvironGet() local
433 size_t mem_size; in EnvironSizesGet() local
525 size_t mem_size; in FdFdstatGet() local
585 size_t mem_size; in FdFilestatGet() local
[all …]
/third_party/glib/glib/
Dgrcboxprivate.h29 gsize mem_size; member
43 gsize mem_size; member
Dgslice.c1155 g_slice_alloc (gsize mem_size) in g_slice_alloc()
1214 g_slice_alloc0 (gsize mem_size) in g_slice_alloc0()
1238 g_slice_copy (gsize mem_size, in g_slice_copy()
1265 g_slice_free1 (gsize mem_size, in g_slice_free1()
1328 g_slice_free_chain_with_offset (gsize mem_size, in g_slice_free_chain_with_offset()
/third_party/mindspore/mindspore/core/utils/
Dtensor_construct_utils.cc26 size_t mem_size = IntToSize(tensor->ElementsNum()); in CreateZerosTensor() local
39 const size_t &mem_size = IntToSize(tensor->ElementsNum()); in CreateOnesTensor() local
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_memory_manager.cc78 auto mem_size = GetDeviceMemSizeFromContext(); in GetDeviceMemSize() local
225 void AscendMemoryManager::SwapIn(const void *host_ptr, void *device_ptr, size_t mem_size, void *str… in SwapIn()
242 void AscendMemoryManager::SwapOut(const void *device_ptr, void *host_ptr, size_t mem_size, void *st… in SwapOut()
/third_party/mesa3d/src/amd/common/
Dac_msgpack.h31 uint32_t mem_size; member
/third_party/mindspore/mindspore/core/ops/
Dfill.cc50 auto mem_size = IntToSize(tensor->ElementsNum()); in FillInfer() local
/third_party/mesa3d/src/broadcom/drm-shim/
Dv3d.h41 size_t mem_size; member
/third_party/mindspore/tests/ut/cpp/ops/
Dtest_ops_logical_not.cc53 auto mem_size = IntToSize(tensor->ElementsNum()); in TEST_F() local
Dtest_ops_assert.cc83 auto mem_size = IntToSize(tensor->ElementsNum()); in TEST_F() local
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_memory_manager.cc88 …size_t mem_size = FloatToSize(GPUMemoryAllocator::GetInstance().free_mem_size() * init_gpu_mem_rat… in MallocDeviceMemory() local
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdksystemmemory.c307 gsize mem_size; in gst_msdk_system_memory_copy() local
Dgstmsdkvideomemory.c366 gsize mem_size; in gst_msdk_video_memory_copy() local
/third_party/mindspore/mindspore/ccsrc/utils/system/
Dsha256.cc100 size_t mem_size = digest_size * sizeof(uint32_t); in ProcessInner() local
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/
Dcpu_memory_manager.cc111 void *CPUMemoryManager::StaticMemMalloc(size_t mem_size) { in StaticMemMalloc()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/
Dakg_kernel_build.cc114 auto mem_size = sizeof(size_t) * kListNum_ * (kMaxKernelNum_ + 1) + 512; in CreateSharedMem() local
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator.c69 ssize_t mem_size; member
/third_party/flutter/skia/third_party/externals/sdl/src/file/
DSDL_rwops.c379 mem_size(SDL_RWops * context) in mem_size() function
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvaallocator.c293 gsize mem_size; in gst_va_dmabuf_mem_copy() local
1279 gsize mem_size; in _va_copy() local
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dspecial_op_eliminate.h400 size_t mem_size = GetTypeByte(tensor_type_ptr) * IntToSize(new_tensor_ptr->ElementsNum()); in operator() local
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcordz_info_statistics_test.cc485 size_t mem_size = 0; in TEST() local
/third_party/mindspore/mindspore/ccsrc/cxx_api/
Dtypes.cc256 size_t mem_size = 0; in CharStringsToTensor() local
/third_party/mesa3d/src/broadcom/simulator/
Dv3d_simulator.c82 uint32_t mem_size; member

12