forked from commaai/openpilot
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update SNPE to 1.61.0.3358 (commaai#24253)
* update snpe to snpe-1.61.0.3358 * fix new snpe build * fix snpe dir in files_tici Co-authored-by: Comma Device <device@comma.ai>
- Loading branch information
Showing
45 changed files
with
720 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-1.06 MB
third_party/snpe/aarch64-linux-gcc4.9/libPlatformValidatorShared.so
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127 changes: 127 additions & 0 deletions
127
third_party/snpe/include/DlSystem/IOBufferDataTypeMap.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
//============================================================================= | ||
// | ||
// Copyright (c) 2021-2022 Qualcomm Technologies, Inc. | ||
// All Rights Reserved. | ||
// Confidential and Proprietary - Qualcomm Technologies, Inc. | ||
// | ||
//============================================================================= | ||
|
||
|
||
#ifndef DL_SYSTEM_IOBUFFER_DATATYPE_MAP_HPP | ||
#define DL_SYSTEM_IOBUFFER_DATATYPE_MAP_HPP | ||
|
||
#include <cstddef> | ||
#include <memory> | ||
#include "DlSystem/DlEnums.hpp" | ||
|
||
namespace DlSystem | ||
{ | ||
// Forward declaration of IOBufferDataTypeMapImpl implementation. | ||
class IOBufferDataTypeMapImpl; | ||
} | ||
|
||
namespace zdl | ||
{ | ||
namespace DlSystem | ||
{ | ||
/** @addtogroup c_plus_plus_apis C++ | ||
@{ */ | ||
|
||
/** | ||
* @brief . | ||
* | ||
* The IoBufferDataTypeMap class definition | ||
*/ | ||
class ZDL_EXPORT IOBufferDataTypeMap final | ||
{ | ||
public: | ||
|
||
/** | ||
* @brief . | ||
* | ||
* Creates a new Buffer Data type map | ||
* | ||
*/ | ||
IOBufferDataTypeMap(); | ||
|
||
/** | ||
* @brief Adds a name and the corresponding buffer data type | ||
* to the map | ||
* | ||
* @param[name] name The name of the buffer | ||
* @param[bufferDataType] buffer Data Type of the buffer | ||
* | ||
* @note If a buffer with the same name already exists, no new | ||
* buffer is added. | ||
*/ | ||
void add(const char* name, zdl::DlSystem::IOBufferDataType_t bufferDataType); | ||
|
||
/** | ||
* @brief Removes a buffer name from the map | ||
* | ||
* @param[name] name The name of the buffer | ||
* | ||
*/ | ||
void remove(const char* name); | ||
|
||
/** | ||
* @brief Returns the type of the named buffer | ||
* | ||
* @param[name] name The name of the buffer | ||
* | ||
* @return The type of the buffer, or UNSPECIFIED if the buffer does not exist | ||
* | ||
*/ | ||
zdl::DlSystem::IOBufferDataType_t getBufferDataType(const char* name); | ||
|
||
/** | ||
* @brief Returns the type of the first buffer | ||
* | ||
* @return The type of the first buffer, or UNSPECIFIED if the map is empty. | ||
* | ||
*/ | ||
zdl::DlSystem::IOBufferDataType_t getBufferDataType(); | ||
|
||
/** | ||
* @brief Returns the size of the buffer type map. | ||
* | ||
* @return The size of the map | ||
* | ||
*/ | ||
size_t size(); | ||
|
||
/** | ||
* @brief Checks the existence of the named buffer in the map | ||
* | ||
* @return True if the named buffer exists, false otherwise. | ||
* | ||
*/ | ||
bool find(const char* name); | ||
|
||
/** | ||
* @brief Resets the map | ||
* | ||
*/ | ||
void clear(); | ||
|
||
/** | ||
* @brief Checks whether the map is empty | ||
* | ||
* @return True if the map is empty, false otherwise. | ||
* | ||
*/ | ||
bool empty(); | ||
|
||
/** | ||
* @brief Destroys the map | ||
* | ||
*/ | ||
~IOBufferDataTypeMap(); | ||
|
||
private: | ||
std::shared_ptr<::DlSystem::IOBufferDataTypeMapImpl> m_IOBufferDataTypeMapImpl; | ||
}; | ||
} | ||
|
||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.