/third_party/mindspore/mindspore/ccsrc/runtime/device/ |
D | memory_manager.h | 68 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()
|
D | memory_scheduler.cc | 43 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/ |
D | node_wasi.cc | 58 #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/ |
D | grcboxprivate.h | 29 gsize mem_size; member 43 gsize mem_size; member
|
D | gslice.c | 1155 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/ |
D | tensor_construct_utils.cc | 26 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/ |
D | ascend_memory_manager.cc | 78 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/ |
D | ac_msgpack.h | 31 uint32_t mem_size; member
|
/third_party/mindspore/mindspore/core/ops/ |
D | fill.cc | 50 auto mem_size = IntToSize(tensor->ElementsNum()); in FillInfer() local
|
/third_party/mesa3d/src/broadcom/drm-shim/ |
D | v3d.h | 41 size_t mem_size; member
|
/third_party/mindspore/tests/ut/cpp/ops/ |
D | test_ops_logical_not.cc | 53 auto mem_size = IntToSize(tensor->ElementsNum()); in TEST_F() local
|
D | test_ops_assert.cc | 83 auto mem_size = IntToSize(tensor->ElementsNum()); in TEST_F() local
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/ |
D | gpu_memory_manager.cc | 88 …size_t mem_size = FloatToSize(GPUMemoryAllocator::GetInstance().free_mem_size() * init_gpu_mem_rat… in MallocDeviceMemory() local
|
/third_party/gstreamer/gstplugins_bad/sys/msdk/ |
D | gstmsdksystemmemory.c | 307 gsize mem_size; in gst_msdk_system_memory_copy() local
|
D | gstmsdkvideomemory.c | 366 gsize mem_size; in gst_msdk_video_memory_copy() local
|
/third_party/mindspore/mindspore/ccsrc/utils/system/ |
D | sha256.cc | 100 size_t mem_size = digest_size * sizeof(uint32_t); in ProcessInner() local
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/ |
D | cpu_memory_manager.cc | 111 void *CPUMemoryManager::StaticMemMalloc(size_t mem_size) { in StaticMemMalloc()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/ |
D | akg_kernel_build.cc | 114 auto mem_size = sizeof(size_t) * kListNum_ * (kMaxKernelNum_ + 1) + 512; in CreateSharedMem() local
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_simulator.c | 69 ssize_t mem_size; member
|
/third_party/flutter/skia/third_party/externals/sdl/src/file/ |
D | SDL_rwops.c | 379 mem_size(SDL_RWops * context) in mem_size() function
|
/third_party/gstreamer/gstplugins_bad/sys/va/ |
D | gstvaallocator.c | 293 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/ |
D | special_op_eliminate.h | 400 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/ |
D | cordz_info_statistics_test.cc | 485 size_t mem_size = 0; in TEST() local
|
/third_party/mindspore/mindspore/ccsrc/cxx_api/ |
D | types.cc | 256 size_t mem_size = 0; in CharStringsToTensor() local
|
/third_party/mesa3d/src/broadcom/simulator/ |
D | v3d_simulator.c | 82 uint32_t mem_size; member
|