Start seperating out RS compute implementation. Create hal
layer to seperate from runtime.
Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp
index a7c0180..7dc26d2 100644
--- a/libs/rs/rsContext.cpp
+++ b/libs/rs/rsContext.cpp
@@ -688,6 +688,10 @@
timerInit();
timerSet(RS_TIMER_INTERNAL);
+ if (!rsdHalInit(this, 0, 0)) {
+ return false;
+ }
+
int cpu = sysconf(_SC_NPROCESSORS_ONLN);
LOGV("RS Launching thread(s), reported CPU count %i", cpu);
if (cpu < 2) cpu = 0;