diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk
index 723b6b6e..f6804417 100644
--- a/BoardConfig-common.mk
+++ b/BoardConfig-common.mk
@@ -352,6 +352,16 @@ BOARD_VNDK_VERSION := current
# H/W align restriction of MM IPs
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)
+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
+
# Boot.img
BOARD_RAMDISK_USE_LZ4 := true
#BOARD_KERNEL_BASE := 0x80000000
diff --git a/device.mk b/device.mk
index b9dcf4cd..30e1ef9e 100644
--- a/device.mk
+++ b/device.mk
@@ -225,6 +225,8 @@ PRODUCT_SOONG_NAMESPACES += \
$(call soong_config_set,pixel_mali,soc,$(TARGET_BOARD_PLATFORM))
+include device/google/gs101/neuralnetwork/neuralnetwork.mk
+
include device/google/gs-common/gpu/gpu.mk
PRODUCT_PACKAGES += \
csffw_image_prebuilt__firmware_prebuilt_todx_mali_csffw.bin \
@@ -998,6 +1000,9 @@ PRODUCT_COPY_FILES += \
device/google/$(TARGET_BOARD_PLATFORM)/radio/config/Pixel_stability.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/modem/Pixel_stability.cfg \
device/google/$(TARGET_BOARD_PLATFORM)/radio/config/Pixel_stability.nprf:$(TARGET_COPY_OUT_VENDOR)/etc/modem/Pixel_stability.nprf \
+# ARM NN files
+ARMNN_COMPUTE_CL_ENABLE := 1
+
# Vibrator Diag
PRODUCT_PACKAGES_DEBUG += \
diag-vibrator \
diff --git a/manifest-gralloc3.xml b/manifest-gralloc3.xml
index 0427aa5e..dc91529d 100644
--- a/manifest-gralloc3.xml
+++ b/manifest-gralloc3.xml
@@ -82,6 +82,16 @@
default
+
+ android.hardware.neuralnetworks
+ hwbinder
+ 1.3
+
+ IDevice
+ google-armnn
+
+ @1.3::IDevice/google-armnn
+
android.hardware.neuralnetworks
hwbinder
diff --git a/manifest.xml b/manifest.xml
index b6e6396b..90af32bd 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -13,6 +13,16 @@
hwbinder
@1.2::IBootControl/default
+
+ android.hardware.neuralnetworks
+ hwbinder
+ 1.3
+
+ IDevice
+ google-armnn
+
+ @1.3::IDevice/google-armnn
+
com.google.input.algos.spd