Merge pull request #12074 from GPUCode/yuwu-on-the-metal

Implement Native Code Execution (NCE)
This commit is contained in:
liamwhite 2023-11-30 09:20:55 -05:00 committed by GitHub
commit 57a391e71d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
58 changed files with 2389 additions and 143 deletions

View file

@ -260,6 +260,11 @@ if (UNIX)
add_definitions(-DYUZU_UNIX=1)
endif()
if (ARCHITECTURE_arm64 AND (ANDROID OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux"))
set(HAS_NCE 1)
add_definitions(-DHAS_NCE=1)
endif()
# Configure C++ standard
# ===========================