Runtime support for compiler kernel fusion.
The runtime will start a seperate process to call the new bcc to fuse kernels.
Change-Id: Ia73ea917a126a5055ec97f13d90a5feaafd6a2f5
diff --git a/cpu_ref/rsCpuScript.h b/cpu_ref/rsCpuScript.h
index e4ae4d3..39bf53e 100644
--- a/cpu_ref/rsCpuScript.h
+++ b/cpu_ref/rsCpuScript.h
@@ -237,6 +237,13 @@
Allocation **mBoundAllocs;
void * mIntrinsicData;
bool mIsThreadable;
+
+ public:
+ static const char* BCC_EXE_PATH;
+ const std::string& getBitcodeFilePath() const { return mBitcodeFilePath; }
+
+ private:
+ std::string mBitcodeFilePath;
};
Allocation * rsdScriptGetAllocationForPointer(
@@ -244,10 +251,14 @@
const Script *script,
const void *);
-
-
}
+#ifdef __LP64__
+#define SYSLIBPATH "/system/lib64"
+#else
+#define SYSLIBPATH "/system/lib"
+#endif
+
}
#endif