File PlatformValidator.hpp¶
↰ Parent directory (PlatformValidator)
Contents
Definition (PlatformValidator/PlatformValidator.hpp)¶
Includes¶
DlSystem/DlEnums.hpp(File DlEnums.hpp)PlatformValidator/PlatformValidator.h(File PlatformValidator.hpp)string
Namespaces¶
Classes¶
Full File Listing¶
-
namespace SNPE¶
-
class PlatformValidator¶
- #include <PlatformValidator.hpp>
Public Functions
-
PlatformValidator()¶
-
void setRuntime(DlSystem::Runtime_t runtime, bool unsignedPD = true)¶
Sets the runtime processor for compatibility check.
- Parameters
runtime – [in] : Runtime to be set
unsignedPD – [in] : Bool value to set unsignedPD as true or false. By default, true
- Returns
Void
-
bool isRuntimeAvailable(bool unsignedPD = true)¶
Checks if the Runtime prerequisites for SNPE are available.
- Parameters
unsignedPD – [in] : Bool value to indicate if unsignedPD is true or false. By default true
- Returns
1 if the Runtime prerequisites are available, else 0.
-
std::string getCoreVersion()¶
Returns the core version for the Runtime selected.
- Returns
char* which contains the actual core version value
-
std::string getLibVersion()¶
Returns the library version for the Runtime selected.
- Returns
char* which contains the actual lib version value
-
PlatformValidator()¶
-
class PlatformValidator¶