Merge "Enable flags for ARMNN compute"

This commit is contained in:
TreeHugger Robot 2022-08-10 20:44:57 +00:00 committed by Android (Google) Code Review
commit a8575970a8

View file

@ -340,15 +340,14 @@ BOARD_VNDK_VERSION := current
BOARD_EXYNOS_S10B_FORMAT_ALIGN := 64
# NeuralNetworks
#GPU_SOURCE_PRESENT := $(wildcard vendor/arm/mali/valhall)
#GPU_PREBUILD_PRESENT := $(wildcard vendor/google_devices/zebu/prebuilts/libs)
GPU_SOURCE_PRESENT := $(wildcard vendor/arm/mali/valhall)
GPU_PREBUILD_PRESENT := $(wildcard vendor/google_devices/zuma/prebuilts/gpu)
ifneq (,$(strip $(GPU_SOURCE_PRESENT) $(GPU_PREBUILD_PRESENT)))
ARMNN_COMPUTE_CL_ENABLE := 1
else
ARMNN_COMPUTE_CL_ENABLE := 0
endif
ARMNN_COMPUTE_NEON_ENABLE := 1
ARMNN_COMPUTE_CL_ENABLE := 0
# Boot.img
BOARD_RAMDISK_USE_LZ4 := true