diff options
Diffstat (limited to 'cpu_ref/rsCpuScript.cpp')
| -rw-r--r-- | cpu_ref/rsCpuScript.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp index ca852c1f..d9e0044c 100644 --- a/cpu_ref/rsCpuScript.cpp +++ b/cpu_ref/rsCpuScript.cpp @@ -153,6 +153,7 @@ bool RsdCpuScriptImpl::init(char const *resName, char const *cacheDir, if (mCtx->getContext()->getContextType() == RS_CONTEXT_TYPE_DEBUG) { // Use the libclcore_debug.bc instead of the default library. core_lib = bcc::RSInfo::LibCLCoreDebugPath; + mCompilerDriver->setDebugContext(true); } exec = mCompilerDriver->build(*mCompilerContext, cacheDir, resName, (const char *)bitcode, bitcodeSize, core_lib, |
