| /third_party/mesa3d/src/gallium/frontends/clover/core/ |
| D | memory.cpp | 32 size_t size, void *host_ptr) : in memory_obj() 72 memory_obj::host_ptr() const { in host_ptr() function in memory_obj 79 size_t size, void *host_ptr) : in buffer() 91 size_t size, void *host_ptr) : in root_buffer() 176 void *host_ptr) : in image() 257 void *host_ptr) : in image1d() 272 void *host_ptr) : in image2d() 288 void *host_ptr) : in image3d()
|
| /third_party/boost/libs/compute/include/boost/compute/container/ |
| D | mapped_view.hpp | 63 mapped_view(T *host_ptr, in mapped_view() 75 mapped_view(const T *host_ptr, in mapped_view() 217 static buffer _make_mapped_buffer(T *host_ptr, in _make_mapped_buffer() 230 static buffer _make_mapped_buffer(const T *host_ptr, in _make_mapped_buffer()
|
| /third_party/boost/boost/compute/container/ |
| D | mapped_view.hpp | 63 mapped_view(T *host_ptr, in mapped_view() 75 mapped_view(const T *host_ptr, in mapped_view() 217 static buffer _make_mapped_buffer(T *host_ptr, in _make_mapped_buffer() 230 static buffer _make_mapped_buffer(const T *host_ptr, in _make_mapped_buffer()
|
| /third_party/mesa3d/src/gallium/frontends/clover/api/ |
| D | memory.cpp | 107 void *host_ptr, cl_int *r_errcode) try { in clCreateBufferWithProperties() 113 if (bool(host_ptr) != bool(flags & (CL_MEM_USE_HOST_PTR | in clCreateBufferWithProperties() local 133 void *host_ptr, cl_int *r_errcode) { in clCreateBuffer() 174 void *host_ptr, cl_int *r_errcode) try { in clCreateImageWithProperties() 201 if (bool(host_ptr) != bool(d_flags & (CL_MEM_USE_HOST_PTR | in clCreateImageWithProperties() local 287 void *host_ptr, cl_int *r_errcode) { in clCreateImage() 296 void *host_ptr, cl_int *r_errcode) { in clCreateImage2D() 308 void *host_ptr, cl_int *r_errcode) { in clCreateImage3D()
|
| /third_party/mindspore/mindspore/lite/src/runtime/gpu/opencl/ |
| D | opencl_allocator.cc | 80 void *host_ptr = ocl_runtime_->MapBuffer(**buffer, CL_MAP_READ | CL_MAP_WRITE, size); in CreateBuffer() local 98 cl::Buffer **buffer, cl::Image2D **image, void **host_ptr) { in CreateImage2D() 211 void *host_ptr = MinimumFit(mem_type, size, img_size); in _Malloc() local 441 void *OpenCLAllocator::MapBuffer(void *host_ptr, int flags, void *command_queue, bool sync) { in MapBuffer() 506 int OpenCLAllocator::UnmapBuffer(void *host_ptr, void *command_queue) { in UnmapBuffer() 530 MemType OpenCLAllocator::GetMemType(void *host_ptr) { in GetMemType() 546 int OpenCLAllocator::GetImageSize(void *host_ptr, ImageSize *img_size) { in GetImageSize()
|
| D | opencl_runtime_wrapper.cc | 89 void *OpenCLRuntimeWrapper::MapBuffer(void *host_ptr, int flags, bool sync) { in MapBuffer() 95 Status OpenCLRuntimeWrapper::UnmapBuffer(void *host_ptr) { in UnmapBuffer()
|
| D | opencl_runtime.cc | 590 int OpenCLRuntime::MapBuffer(void *host_ptr, int flags, size_t size, cl::CommandQueue *command_queu… in MapBuffer() 615 int OpenCLRuntime::UnmapBuffer(const cl::Memory &buffer, void *host_ptr, cl::CommandQueue *command_… in UnmapBuffer() 622 int OpenCLRuntime::UnmapBuffer(void *host_ptr, cl::CommandQueue *command_queue) const { in UnmapBuffer() 782 cl::Buffer *OpenCLRuntime::CreateSharedMemoryBuffer(size_t size, void *host_ptr) { in CreateSharedMemoryBuffer()
|
| D | opencl_wrapper.cc | 407 cl_mem clCreateBuffer(cl_context context, cl_mem_flags flags, size_t size, void *host_ptr, cl_int *… in clCreateBuffer() 589 … size_t imageHeight, size_t image_row_pitch, void *host_ptr, cl_int *errcode_ret) { in clCreateImage2D() 598 void *host_ptr, cl_int *errcode_ret) { in clCreateImage3D() 669 const cl_image_desc *image_desc, void *host_ptr, cl_int *errcode_ret) { in clCreateImage() 723 …EnqueueSVMMap(cl_command_queue command_queue, cl_bool blocking, cl_map_flags flags, void *host_ptr, in clEnqueueSVMMap() 731 cl_int clEnqueueSVMUnmap(cl_command_queue command_queue, void *host_ptr, cl_uint num_events_in_wait… in clEnqueueSVMUnmap() 739 cl_int clSetKernelArgSVMPointer(cl_kernel kernel, cl_uint index, const void *host_ptr) { in clSetKernelArgSVMPointer()
|
| /third_party/mindspore/mindspore/core/ir/ |
| D | device_sync.h | 35 virtual bool SyncDeviceToHost(size_t size, void *host_ptr) const { return true; } in SyncDeviceToHost() 36 virtual bool SyncHostToDevice(size_t size, const void *host_ptr) const { return true; } in SyncHostToDevice()
|
| /third_party/mindspore/mindspore/ccsrc/runtime/device/ |
| D | memory_scheduler.cc | 53 void MemScheduler::Init(const void *key, void *host_ptr, size_t mem_size, MemPriority priority) { in Init() 96 auto host_ptr = init_host_ptr_[event->key]; in PreCompute() local 125 auto host_ptr = init_host_ptr_[event->key]; in PreCompute() local 172 auto host_ptr = init_host_ptr_[event->key]; in PostCompute() local
|
| D | memory_manager.h | 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()
|
| /third_party/boost/libs/compute/include/boost/compute/image/ |
| D | image2d.hpp | 56 void *host_ptr = 0, in image2d() 107 void *host_ptr = 0) in image2d()
|
| D | image3d.hpp | 51 void *host_ptr = 0, in image3d() 107 void *host_ptr = 0) in image3d()
|
| D | image1d.hpp | 51 void *host_ptr = 0) in image1d()
|
| /third_party/boost/boost/compute/image/ |
| D | image2d.hpp | 56 void *host_ptr = 0, in image2d() 107 void *host_ptr = 0) in image2d()
|
| D | image3d.hpp | 51 void *host_ptr = 0, in image3d() 107 void *host_ptr = 0) in image3d()
|
| D | image1d.hpp | 51 void *host_ptr = 0) in image1d()
|
| /third_party/boost/boost/compute/ |
| D | command_queue.hpp | 300 void *host_ptr, in enqueue_read_buffer() 338 void *host_ptr, in enqueue_read_buffer_async() 382 void *host_ptr, in enqueue_read_buffer_rect() 429 void *host_ptr, in enqueue_read_buffer_rect_async() 471 const void *host_ptr, in enqueue_write_buffer() 509 const void *host_ptr, in enqueue_write_buffer_async() 553 void *host_ptr, in enqueue_write_buffer_rect() 600 void *host_ptr, in enqueue_write_buffer_rect_async() 898 void *host_ptr, in enqueue_read_image() 931 void *host_ptr, in enqueue_read_image() [all …]
|
| D | buffer.hpp | 77 void *host_ptr = 0) in buffer()
|
| /third_party/boost/libs/compute/include/boost/compute/ |
| D | command_queue.hpp | 300 void *host_ptr, in enqueue_read_buffer() 338 void *host_ptr, in enqueue_read_buffer_async() 382 void *host_ptr, in enqueue_read_buffer_rect() 429 void *host_ptr, in enqueue_read_buffer_rect_async() 471 const void *host_ptr, in enqueue_write_buffer() 509 const void *host_ptr, in enqueue_write_buffer_async() 553 void *host_ptr, in enqueue_write_buffer_rect() 600 void *host_ptr, in enqueue_write_buffer_rect_async() 898 void *host_ptr, in enqueue_read_image() 931 void *host_ptr, in enqueue_read_image() [all …]
|
| D | buffer.hpp | 77 void *host_ptr = 0) in buffer()
|
| /third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/ |
| D | ascend_memory_manager.cc | 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/ffmpeg/libavfilter/ |
| D | opencl.h | 197 #define CL_CREATE_BUFFER_FLAGS(ctx, buffer_name, flags, size, host_ptr) do { \ argument 214 #define CL_BLOCKING_WRITE_BUFFER(queue, buffer, size, host_ptr, event) do { \ argument
|
| /third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/ |
| D | cpu_device_address.cc | 101 …eviceAddress::SyncHostToDevice(const ShapeVector &, size_t size, TypeId type, const void *host_ptr, in SyncHostToDevice()
|
| /third_party/opencl-headers/src/ |
| D | opencl_wrapper.cpp | 409 cl_mem clCreateBuffer(cl_context context, cl_mem_flags flags, size_t size, void *host_ptr, cl_int *… in clCreateBuffer() 613 … size_t imageHeight, size_t image_row_pitch, void *host_ptr, cl_int *errcode_ret) { in clCreateImage2D() 623 void *host_ptr, cl_int *errcode_ret) { in clCreateImage3D() 702 const cl_image_desc *image_desc, void *host_ptr, cl_int *errcode_ret) { in clCreateImage() 763 …EnqueueSVMMap(cl_command_queue command_queue, cl_bool blocking, cl_map_flags flags, void *host_ptr, in clEnqueueSVMMap() 772 cl_int clEnqueueSVMUnmap(cl_command_queue command_queue, void *host_ptr, cl_uint num_events_in_wait… in clEnqueueSVMUnmap() 781 cl_int clSetKernelArgSVMPointer(cl_kernel kernel, cl_uint index, const void *host_ptr) { in clSetKernelArgSVMPointer()
|