lib: remove kleidi-llama related namings
This commit is contained in:
parent
266fc314ef
commit
cadaf8044b
|
|
@ -24,7 +24,7 @@ target_link_libraries(cpu-detector
|
||||||
log)
|
log)
|
||||||
|
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
# 2. Kleidi Llama library
|
# 2. AI Chat library
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
|
|
||||||
if(DEFINED ANDROID_ABI)
|
if(DEFINED ANDROID_ABI)
|
||||||
|
|
@ -46,7 +46,7 @@ set(LLAMA_SRC ${CMAKE_CURRENT_LIST_DIR}/../../../../../../)
|
||||||
add_subdirectory(${LLAMA_SRC} build-llama)
|
add_subdirectory(${LLAMA_SRC} build-llama)
|
||||||
|
|
||||||
add_library(${CMAKE_PROJECT_NAME} SHARED
|
add_library(${CMAKE_PROJECT_NAME} SHARED
|
||||||
kleidi_llama.cpp)
|
ai_chat.cpp)
|
||||||
|
|
||||||
target_compile_definitions(${CMAKE_PROJECT_NAME} PRIVATE
|
target_compile_definitions(${CMAKE_PROJECT_NAME} PRIVATE
|
||||||
GGML_SYSTEM_ARCH=${GGML_SYSTEM_ARCH}
|
GGML_SYSTEM_ARCH=${GGML_SYSTEM_ARCH}
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ import java.io.IOException
|
||||||
*
|
*
|
||||||
* State transitions are managed automatically and validated at each operation.
|
* State transitions are managed automatically and validated at each operation.
|
||||||
*
|
*
|
||||||
* @see kleidi-llama.cpp for the native implementation details
|
* @see ai_chat.cpp for the native implementation details
|
||||||
*/
|
*/
|
||||||
internal class InferenceEngineImpl private constructor(
|
internal class InferenceEngineImpl private constructor(
|
||||||
private val nativeLibDir: String
|
private val nativeLibDir: String
|
||||||
|
|
@ -75,7 +75,7 @@ internal class InferenceEngineImpl private constructor(
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JNI methods
|
* JNI methods
|
||||||
* @see kleidi-llama.cpp
|
* @see ai_chat.cpp
|
||||||
*/
|
*/
|
||||||
@FastNative
|
@FastNative
|
||||||
private external fun init(nativeLibDir: String)
|
private external fun init(nativeLibDir: String)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue