Enable flags for ARMNN compute

Bug: 241842929
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
Change-Id: Ib71b7f55482528db9f382dc5698591a5ed5f9c8c
This commit is contained in:
Siddharth Kapoor 2022-08-09 18:29:00 -07:00
parent f709195c0d
commit 08f19d35a5

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