Home
last modified time | relevance | path

Searched refs:MemoryType (Results 1 – 16 of 16) sorted by relevance

/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DUtils.h113 enum class MemoryType { ASHMEM, BLOB_AHWB, DEVICE }; enum
115 std::string toString(MemoryType type);
129 MemoryType memoryType = MemoryType::ASHMEM);
DUtils.cpp186 std::string toString(MemoryType type) { in toString()
188 case MemoryType::ASHMEM: in toString()
190 case MemoryType::BLOB_AHWB: in toString()
192 case MemoryType::DEVICE: in toString()
197 Request ExecutionContext::createRequest(const TestModel& testModel, MemoryType memoryType) { in createRequest()
198 CHECK(memoryType == MemoryType::ASHMEM || memoryType == MemoryType::BLOB_AHWB); in createRequest()
239 if (memoryType == MemoryType::ASHMEM) { in createRequest()
DGeneratedTestHarness.cpp62 MemoryType memoryType;
70 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType, in TestConfig()
79 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType, in TestConfig()
88 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType, in TestConfig()
370 std::optional<Request> createRequest(const TestModel& testModel, MemoryType memoryType);
396 MemoryType memoryType) { in createRequest()
415 } else if (memoryType == MemoryType::DEVICE) { in createRequest()
444 if (memoryType == MemoryType::DEVICE) { in createRequest()
476 if (memoryType == MemoryType::DEVICE && mBuffers.empty()) { in createRequest()
481 if (memoryType == MemoryType::BLOB_AHWB) { in createRequest()
[all …]
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp83 MemoryType memoryType;
89 MemoryType memoryType) in TestConfig()
96 MemoryType memoryType, bool reportSkipping) in TestConfig()
342 std::optional<Request> createRequest(const TestModel& testModel, MemoryType memoryType);
361 MemoryType memoryType) { in createRequest()
380 } else if (memoryType == MemoryType::DEVICE) { in createRequest()
406 if (memoryType == MemoryType::DEVICE) { in createRequest()
435 if (memoryType == MemoryType::DEVICE && mBuffers.empty()) { in createRequest()
441 if (memoryType == MemoryType::BLOB_AHWB) { in createRequest()
793 std::vector<MemoryType> memoryTypeList; in EvaluatePreparedModel()
[all …]
/hardware/interfaces/neuralnetworks/1.0/vts/functional/include/1.0/
DUtils.h79 enum class MemoryType { ASHMEM, BLOB_AHWB, DEVICE }; enum
93 MemoryType memoryType = MemoryType::ASHMEM);
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DUtils.cpp102 Request ExecutionContext::createRequest(const TestModel& testModel, MemoryType memoryType) { in createRequest()
103 CHECK(memoryType == MemoryType::ASHMEM || memoryType == MemoryType::BLOB_AHWB); in createRequest()
144 if (memoryType == MemoryType::ASHMEM) { in createRequest()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DGeneratedTestHarness.cpp71 MemoryType memoryType;
342 std::vector<MemoryType> memoryTypeList; in EvaluatePreparedModel()
348 memoryTypeList = {MemoryType::ASHMEM}; in EvaluatePreparedModel()
353 memoryTypeList = {MemoryType::ASHMEM}; in EvaluatePreparedModel()
359 for (const MemoryType memoryType : memoryTypeList) { in EvaluatePreparedModel()
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndVkTests.cpp397 const vkhpp::MemoryType& memoryType = memoryProperties.memoryTypes[i]; in TEST_P()
/hardware/google/gfxstream/common/vulkan/include/vulkan/
Dvulkansc_static_assertions.hpp103 VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::MemoryType ) == sizeof( VkMemoryType ), "st…
104 VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::MemoryType>::value, "struct…
105 VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::MemoryType>::val…
Dvulkansc_structs.hpp26565 struct MemoryType struct
26573 VULKAN_HPP_CONSTEXPR MemoryType(VULKAN_HPP_NAMESPACE::MemoryPropertyFlags propertyFlags_ = {}, uint… in MemoryType() function
26577 VULKAN_HPP_CONSTEXPR MemoryType( MemoryType const & rhs ) VULKAN_HPP_NOEXCEPT = default;
26579 MemoryType( VkMemoryType const & rhs ) VULKAN_HPP_NOEXCEPT in MemoryType() function
26580 : MemoryType( *reinterpret_cast<MemoryType const *>( &rhs ) ) in MemoryType()
26584 MemoryType & operator=( MemoryType const & rhs ) VULKAN_HPP_NOEXCEPT = default;
26587 MemoryType & operator=( VkMemoryType const & rhs ) VULKAN_HPP_NOEXCEPT in operator =()
26589 *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::MemoryType const *>( &rhs ); in operator =() argument
26618 auto operator<=>( MemoryType const & ) const = default;
26620 bool operator==( MemoryType const & rhs ) const VULKAN_HPP_NOEXCEPT in operator ==() argument
[all …]
Dvulkan_static_assertions.hpp103 VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::MemoryType ) == sizeof( VkMemoryType ), "st…
104 VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::MemoryType>::value, "struct…
105 VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::MemoryType>::val…
Dvulkansc_hash.hpp3594 template <> struct hash<VULKAN_HPP_NAMESPACE::MemoryType>
3596 …std::size_t operator()(VULKAN_HPP_NAMESPACE::MemoryType const & memoryType) const VULKAN_HPP_NOEXC… in operator ()()
Dvulkan_structs.hpp48515 struct MemoryType struct
48523 VULKAN_HPP_CONSTEXPR MemoryType(VULKAN_HPP_NAMESPACE::MemoryPropertyFlags propertyFlags_ = {}, uint… in MemoryType() function
48527 VULKAN_HPP_CONSTEXPR MemoryType( MemoryType const & rhs ) VULKAN_HPP_NOEXCEPT = default;
48529 MemoryType( VkMemoryType const & rhs ) VULKAN_HPP_NOEXCEPT in MemoryType() function
48530 : MemoryType( *reinterpret_cast<MemoryType const *>( &rhs ) ) in MemoryType()
48534 MemoryType & operator=( MemoryType const & rhs ) VULKAN_HPP_NOEXCEPT = default;
48537 MemoryType & operator=( VkMemoryType const & rhs ) VULKAN_HPP_NOEXCEPT in operator =()
48539 *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::MemoryType const *>( &rhs ); in operator =() argument
48568 auto operator<=>( MemoryType const & ) const = default;
48570 bool operator==( MemoryType const & rhs ) const VULKAN_HPP_NOEXCEPT in operator ==() argument
[all …]
Dvulkansc_handles.hpp40 struct MemoryType;
Dvulkan_hash.hpp6209 template <> struct hash<VULKAN_HPP_NAMESPACE::MemoryType>
6211 …std::size_t operator()(VULKAN_HPP_NAMESPACE::MemoryType const & memoryType) const VULKAN_HPP_NOEXC… in operator ()()
Dvulkan_handles.hpp40 struct MemoryType;