summaryrefslogtreecommitdiff
path: root/cpu_ref/rsCpuScript.h
diff options
context:
space:
mode:
authorYang Ni <yangni@google.com>2015-01-12 13:03:40 -0800
committerYang Ni <yangni@google.com>2015-02-02 17:37:03 -0800
commitda0f069871343119251d6b0586be356dc2146a62 (patch)
tree3b3727ac5ff30a598b33a926e2536cc7c6190b05 /cpu_ref/rsCpuScript.h
parentf5e39bba1d0e7be4adfa7364d92ba3f541420fdd (diff)
downloadrs-da0f069871343119251d6b0586be356dc2146a62.tar.gz
Runtime support for compiler kernel fusion.
The runtime will start a seperate process to call the new bcc to fuse kernels. Change-Id: Ia73ea917a126a5055ec97f13d90a5feaafd6a2f5
Diffstat (limited to 'cpu_ref/rsCpuScript.h')
-rw-r--r--cpu_ref/rsCpuScript.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/cpu_ref/rsCpuScript.h b/cpu_ref/rsCpuScript.h
index e4ae4d36..39bf53e8 100644
--- a/cpu_ref/rsCpuScript.h
+++ b/cpu_ref/rsCpuScript.h
@@ -237,6 +237,13 @@ protected:
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 @@ Allocation * rsdScriptGetAllocationForPointer(
const Script *script,
const void *);
-
-
}
+#ifdef __LP64__
+#define SYSLIBPATH "/system/lib64"
+#else
+#define SYSLIBPATH "/system/lib"
+#endif
+
}
#endif