ONE - On-device Neural Engine
Loading...
Searching...
No Matches
ggma_types.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Samsung Electronics Co., Ltd. All Rights Reserved
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
21#ifndef __GGMA_GGMA_TYPES_H__
22#define __GGMA_GGMA_TYPES_H__
23
24#include <stddef.h>
25#include <stdint.h>
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
50
51/* Forward declarations */
53typedef int32_t ggma_token;
55
56#ifdef __cplusplus
57}
58#endif
59
60#endif // __GGMA_GGMA_TYPES_H__
struct ggma_context ggma_context
Opaque handle to a GGMA inference context.
struct ggma_tokenizer ggma_tokenizer
Opaque handle to a GGMA tokenizer.
GGMA_STATUS
Enumeration of status codes returned by GGMA API functions.
Definition ggma_types.h:35
@ GGMA_STATUS_NO_ERROR
Definition ggma_types.h:37
@ GGMA_STATUS_UNEXPECTED_NULL
Definition ggma_types.h:44
@ GGMA_STATUS_DEPRECATED_API
Definition ggma_types.h:48
@ GGMA_STATUS_ERROR
Definition ggma_types.h:42
@ GGMA_STATUS_OUT_OF_MEMORY
Definition ggma_types.h:46
int32_t ggma_token
Definition ggma_types.h:53