-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code clean, add internal header and cleanup script for android build. Signed-off-by: Jaeyun Jung <[email protected]>
- Loading branch information
1 parent
cc4fa1c
commit dd9e8b1
Showing
5 changed files
with
64 additions
and
25 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
/** | ||
* @file mlops-agent-internal.h | ||
* @date 14 January 2025 | ||
* @brief Internal header for ml-agent interface. | ||
* @see https://github.com/nnstreamer/deviceMLOps.MLAgent | ||
* @author Jaeyun Jung <[email protected]> | ||
* @bug No known bugs except for NYI items | ||
*/ | ||
|
||
#ifndef __MLOPS_AGENT_INTERNAL_H__ | ||
#define __MLOPS_AGENT_INTERNAL_H__ | ||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif /* __cplusplus */ | ||
|
||
#include <stdint.h> | ||
|
||
#define STR_IS_VALID(s) ((s) && (s)[0] != '\0') | ||
|
||
/** | ||
* @brief Internal enumeration for service type. | ||
*/ | ||
typedef enum | ||
{ | ||
ML_AGENT_SERVICE_PIPELINE = 0, | ||
ML_AGENT_SERVICE_MODEL, | ||
ML_AGENT_SERVICE_RESOURCE, | ||
ML_AGENT_SERVICE_END | ||
} ml_agent_service_type_e; | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif /* __cplusplus */ | ||
#endif /* __MLOPS_AGENT_INTERNAL_H__ */ |
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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
ifndef MLOPS_AGENT_ROOT | ||
$(error MLOPS_AGENT_ROOT is not defined!) | ||
endif | ||
|
||
# mlops agent headers | ||
MLOPS_AGENT_INCLUDE := $(MLOPS_AGENT_ROOT)/daemon/include | ||
|
||
# mlops agent sources | ||
MLOPS_AGENT_SRCS := $(MLOPS_AGENT_ROOT)/daemon/mlops-agent-android.c | ||
|