HomeSort by relevance Sort by last modified time
    Searched defs:DeviceMemory (Results 1 - 10 of 10) sorted by null

  /external/tensorflow/tensorflow/stream_executor/
device_memory.h 22 // DeviceMemory<T>.
38 // DeviceMemory<T>.
105 // For example, DeviceMemory<int> is a simple wrapper around DeviceMemoryBase
110 class DeviceMemory final : public DeviceMemoryBase {
113 DeviceMemory() : DeviceMemoryBase(nullptr, 0) {}
114 DeviceMemory(std::nullptr_t) : DeviceMemory() {}
118 explicit DeviceMemory(const DeviceMemoryBase &other)
129 // Create a typed area of DeviceMemory with a given opaque pointer and the
132 static DeviceMemory<ElemT> MakeFromByteSize(void *opaque, uint64 bytes)
    [all...]
  /external/vulkan-validation-layers/tests/
vktestbinding.cpp 410 DeviceMemory::~DeviceMemory() {
414 void DeviceMemory::init(const Device &dev, const VkMemoryAllocateInfo &info) {
418 const void *DeviceMemory::map(VkFlags flags) const {
425 void *DeviceMemory::map(VkFlags flags) {
432 void DeviceMemory::unmap() const { vkUnmapMemory(device(), handle()); }
434 VkMemoryAllocateInfo DeviceMemory::get_resource_alloc_info(const Device &dev, const VkMemoryRequirements &reqs,
485 internal_mem_.init(dev, DeviceMemory::get_resource_alloc_info(dev, memory_requirements(), mem_props));
502 void Buffer::bind_memory(const DeviceMemory &mem, VkDeviceSize mem_offset) {
518 internal_mem_.init(dev, DeviceMemory::get_resource_alloc_info(dev, memory_requirements(), mem_props))
    [all...]
vktestbinding.h 57 class DeviceMemory;
297 class DeviceMemory : public internal::NonDispHandle<VkDeviceMemory> {
299 ~DeviceMemory();
400 const DeviceMemory &memory() const { return internal_mem_; }
401 DeviceMemory &memory() { return internal_mem_; }
407 void bind_memory(const DeviceMemory &mem, VkDeviceSize mem_offset);
430 DeviceMemory internal_mem_;
468 const DeviceMemory &memory() const { return internal_mem_; }
469 DeviceMemory &memory() { return internal_mem_; }
475 void bind_memory(const DeviceMemory &mem, VkDeviceSize mem_offset)
    [all...]
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/
vktestbinding.cpp 68 VkMemoryAllocateInfo info = vk_testing::DeviceMemory::alloc_info(reqs.size, 0);
409 DeviceMemory::~DeviceMemory() {
414 void DeviceMemory::init(const Device &dev, const VkMemoryAllocateInfo &info) {
418 const void *DeviceMemory::map(VkFlags flags) const {
426 void *DeviceMemory::map(VkFlags flags) {
434 void DeviceMemory::unmap() const { vkUnmapMemory(device(), handle()); }
489 void Buffer::bind_memory(const DeviceMemory &mem, VkDeviceSize mem_offset) {
536 void Image::bind_memory(const DeviceMemory &mem, VkDeviceSize mem_offset) {
vktestbinding.h 38 class DeviceMemory;
240 class DeviceMemory : public internal::NonDispHandle<VkDeviceMemory> {
242 ~DeviceMemory();
338 const DeviceMemory &memory() const { return internal_mem_; }
339 DeviceMemory &memory() { return internal_mem_; }
345 void bind_memory(const DeviceMemory &mem, VkDeviceSize mem_offset);
364 DeviceMemory internal_mem_;
388 const DeviceMemory &memory() const { return internal_mem_; }
389 DeviceMemory &memory() { return internal_mem_; }
395 void bind_memory(const DeviceMemory &mem, VkDeviceSize mem_offset)
    [all...]
  /external/deqp/external/vulkancts/framework/vulkan/
vkNullDriver.cpp 335 class DeviceMemory
338 virtual ~DeviceMemory (void) {}
343 class PrivateDeviceMemory : public DeviceMemory
442 class ExternalDeviceMemoryAndroid : public DeviceMemory
    [all...]
  /frameworks/native/vulkan/nulldrv/
null_driver.cpp 774 // DeviceMemory
776 struct DeviceMemory {
781 DEFINE_OBJECT_HANDLE_CONVERSION(DeviceMemory)
787 if (SIZE_MAX - sizeof(DeviceMemory) <= alloc_info->allocationSize)
792 size_t size = sizeof(DeviceMemory) + size_t(alloc_info->allocationSize);
793 DeviceMemory* mem = static_cast<DeviceMemory*>(allocator->pfnAllocation(
794 allocator->pUserData, size, alignof(DeviceMemory),
808 DeviceMemory* mem = GetDeviceMemoryFromHandle(mem_handle);
818 DeviceMemory* mem = GetDeviceMemoryFromHandle(mem_handle)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/api/
vktApiObjectManagementTests.cpp 703 struct DeviceMemory
729 return getSafeObjectCount<DeviceMemory>(context,
750 DeviceMemory::Parameters getDeviceMemoryParameters (const VkMemoryRequirements& memReqs)
752 return DeviceMemory::Parameters(memReqs.size, deCtz32(memReqs.memoryTypeBits));
755 DeviceMemory::Parameters getDeviceMemoryParameters (const Environment& env, VkImage image)
760 DeviceMemory::Parameters getDeviceMemoryParameters (const Environment& env, VkBuffer image)
842 Dependency<DeviceMemory> memory;
985 Dependency<DeviceMemory> memory;
    [all...]
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/include/vulkan/
vulkan.hpp 915 class DeviceMemory
918 DeviceMemory()
923 DeviceMemory(VkDeviceMemory deviceMemory)
924 : m_deviceMemory(deviceMemory)
927 DeviceMemory& operator=(VkDeviceMemory deviceMemory)
929 m_deviceMemory = deviceMemory;
934 bool operator==(DeviceMemory const &rhs) const
939 bool operator!=(DeviceMemory const &rhs) cons
    [all...]
  /external/vulkan-validation-layers/include/vulkan/
vulkan.hpp     [all...]

Completed in 635 milliseconds