Home
last modified time | relevance | path

Searched refs:hostPtr (Results 1 – 25 of 33) sorted by relevance

12

/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp96 Allocation::Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr) in Allocation() argument
99 , m_hostPtr (hostPtr) in Allocation()
180 SimpleAllocation (Move<VkDeviceMemory> mem, MovePtr<HostPtr> hostPtr);
188 SimpleAllocation::SimpleAllocation (Move<VkDeviceMemory> mem, MovePtr<HostPtr> hostPtr) in SimpleAllocation() argument
189 : Allocation (*mem, (VkDeviceSize)0, hostPtr ? hostPtr->get() : DE_NULL) in SimpleAllocation()
191 , m_hostPtr (hostPtr) in SimpleAllocation()
211 MovePtr<HostPtr> hostPtr; in allocate() local
214 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocate()
216 return MovePtr<Allocation>(new SimpleAllocation(mem, hostPtr)); in allocate()
245 MovePtr<HostPtr> hostPtr; in allocate() local
[all …]
DvkMemUtil.hpp69 Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr);
/external/angle/src/libANGLE/
DCLMemory.cpp157 void *hostPtr, in Memory() argument
162 mHostPtr(flags.isSet(CL_MEM_USE_HOST_PTR) ? hostPtr : nullptr), in Memory()
163 mImpl(context.getImpl().createBuffer(buffer, size, hostPtr, errorCode)), in Memory()
192 void *hostPtr, in Memory() argument
197 mHostPtr(flags.isSet(CL_MEM_USE_HOST_PTR) ? hostPtr : nullptr), in Memory()
199 mImpl(context.getImpl().createImage(image, flags, format, desc, hostPtr, errorCode)), in Memory()
DCLContext.cpp121 void *hostPtr, in createBuffer() argument
124 return Object::Create<Buffer>(errorCode, *this, Memory::PropArray{}, flags, size, hostPtr); in createBuffer()
131 void *hostPtr, in createImage() argument
144 Memory::Cast(desc->buffer), hostPtr); in createImage()
152 void *hostPtr, in createImage2D() argument
158 nullptr, hostPtr); in createImage2D()
168 void *hostPtr, in createImage3D() argument
174 nullptr, hostPtr); in createImage3D()
DCLContext.h39 void *hostPtr,
46 void *hostPtr,
54 void *hostPtr,
64 void *hostPtr,
DCLBuffer.cpp28 void *hostPtr, in Buffer() argument
30 : Memory(*this, context, std::move(properties), flags, size, hostPtr, errorCode) in Buffer()
DCLMemory.h61 void *hostPtr,
78 void *hostPtr,
DCLImage.cpp145 void *hostPtr, in Image() argument
154 hostPtr, in Image()
DCLBuffer.h43 void *hostPtr,
DCLImage.h49 void *hostPtr,
/external/OpenCL-CTS/test_conformance/basic/
Dtest_enqueue_map.cpp61 void *hostPtr = nullptr; in test_enqueue_map_buffer() local
64 if (hasHostPtr) hostPtr = hostPtrData; in test_enqueue_map_buffer()
65 memObject = clCreateBuffer(context, flags, bufferSize, hostPtr, &error); in test_enqueue_map_buffer()
155 void *hostPtr = nullptr; in test_enqueue_map_image() local
156 if (hasHostPtr) hostPtr = hostPtrData; in test_enqueue_map_image()
158 imageSize, imageSize, 0, hostPtr, &error ); in test_enqueue_map_image()
/external/angle/src/libANGLE/renderer/cl/
DCLContextCL.cpp111 void *hostPtr, in createBuffer() argument
118 hostPtr, &errorCode); in createBuffer()
123 mNative, buffer.getProperties().data(), buffer.getFlags().get(), size, hostPtr, in createBuffer()
134 void *hostPtr, in createImage() argument
151 &nativeDesc, hostPtr, &errorCode); in createImage()
156 mNative, image.getProperties().data(), flags.get(), &format, &nativeDesc, hostPtr, in createImage()
166 mNative, flags.get(), &format, desc.width, desc.height, desc.rowPitch, hostPtr, in createImage()
172 desc.rowPitch, desc.slicePitch, hostPtr, &errorCode); in createImage()
DCLContextCL.h40 void *hostPtr,
47 void *hostPtr,
/external/pigweed/pw_target_runner/go/src/pigweed.dev/pw_target_runner_client/
Dmain.go84 hostPtr := flag.String("host", "localhost", "Server host")
94 cli, err := NewClient(*hostPtr, *portPtr)
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DRequestCallContextSafeHandle.cs72 IntPtr hostPtr = Native.grpcsharp_request_call_context_host(this, out hostLen); in GetServerRpcNew()
73 var host = Marshal.PtrToStringAnsi(hostPtr, (int) hostLen.ToUInt32()); in GetServerRpcNew()
/external/angle/src/libANGLE/renderer/
DCLContextImpl.h35 void *hostPtr,
42 void *hostPtr,
/external/llvm-project/mlir/tools/mlir-rocm-runner/
Drocm-runtime-wrappers.cpp154 void mgpuMemGetDevicePointer(T *hostPtr, T **devicePtr) { in mgpuMemGetDevicePointer() argument
157 hipHostGetDevicePointer((void **)devicePtr, hostPtr, /*flags=*/0)); in mgpuMemGetDevicePointer()
/external/ImageMagick/MagickCore/
Daccelerate.c1010 *hostPtr, in ComputeContrastStretchImage() local
1096 hostPtr = histogram; in ComputeContrastStretchImage()
1101 hostPtr = histogram; in ComputeContrastStretchImage()
1105 …library->clCreateBuffer(device->context, mem_flags, length * sizeof(cl_uint4), hostPtr, &clStatus); in ComputeContrastStretchImage()
1378 hostPtr = stretch_map; in ComputeContrastStretchImage()
1383 hostPtr = stretch_map; in ComputeContrastStretchImage()
1387 …rary->clCreateBuffer(device->context, mem_flags, length * sizeof(PixelPacket), hostPtr, &clStatus); in ComputeContrastStretchImage()
1577 *hostPtr; in ComputeConvolveImage() local
1640 hostPtr = filteredPixels; in ComputeConvolveImage()
1645 hostPtr = NULL; in ComputeConvolveImage()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp161 void* const hostPtr = destAlloc->getHostPtr(); in setMemory() local
163 deMemcpy((deUint8*)hostPtr, data, numBytes); in setMemory()
171 void* const hostPtr = destAlloc->getHostPtr(); in fillMemoryWithValue() local
173 deMemset((deUint8*)hostPtr, value, numBytes); in fillMemoryWithValue()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryBindingTests.cpp74 , hostPtr (DE_NULL) in MemoryMappingRAII()
77 vk.mapMemory(dev, memory, offset, size, flags, &hostPtr); in MemoryMappingRAII()
83 hostPtr = DE_NULL; in ~MemoryMappingRAII()
88 return hostPtr; in ptr()
108 void* hostPtr; member in vkt::memory::__anon912718e30111::MemoryMappingRAII
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferMarkerTests.cpp105 …eDeviceWithExtension (Context& context, WorkingDevice& wd, VkQueueFlagBits testQueue, bool hostPtr) in createDeviceWithExtension() argument
143 if (hostPtr) in createDeviceWithExtension()
224 …nalHostAllocation(Move<VkDeviceMemory> mem, void* hostPtr) : Allocation(*mem, (VkDeviceSize)0, hos… in ExternalHostAllocation() argument
/external/deqp/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.cpp963 void initializeMemory(deqp::Context& context, glw::GLvoid *hostPtr, subgroups::SSBOData& data) in initializeMemory() argument
982 deUint32* ptr = reinterpret_cast<deUint32*>(hostPtr); in initializeMemory()
1000 deUint32* ptr = reinterpret_cast<deUint32*>(hostPtr); in initializeMemory()
1013 float* ptr = reinterpret_cast<float*>(hostPtr); in initializeMemory()
1026 double* ptr = reinterpret_cast<double*>(hostPtr); in initializeMemory()
1038 deUint32* ptr = reinterpret_cast<deUint32*>(hostPtr); in initializeMemory()
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktExternalMemoryUtil.hpp60 void setHostPtr (void* hostPtr);
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBindPointTests.cpp299 void* hostPtr = alloc.getHostPtr(); in zeroOutAndFlush() local
301 deMemset(hostPtr, 0, static_cast<size_t>(bufferSize)); in zeroOutAndFlush()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorCopyTests.cpp599 deUint32* hostPtr = (deUint32*)m_buffer->getAllocation().getHostPtr(); in init() local
616 hostPtr[(256 / 4) * (m_numDynamicAreas * arrayIdx + dynamicAreaIdx)] = bufferValue.uintValue; in init()
658 deInt32* hostPtr = (deInt32*)m_buffer->getAllocation().getHostPtr(); in getData() local
661 data.push_back(hostPtr[i]); in getData()

12