P4 to Git Change 1725623 by gandryey@gera-w8 on 2019/01/03 10:32:08

SWDEV-79445 - OCL generic changes and code clean-up
	- Chnage the scope of SchedulerSourceCode variable

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#109 edit
这个提交包含在:
foreman 于 2019-01-03 11:02:36 -05:00 提交
1 父节点 9faff0597a
当前提交 63a1a63a75
1 个文件已更改
+1 -1
+1 -1
查看文件
@@ -645,8 +645,8 @@ bool Device::create() {
const char* scheduler = nullptr;
#if defined(WITH_LIGHTNING_COMPILER) || defined(USE_COMGR_LIBRARY)
std::string sch = SchedulerSourceCode;
if (settings().useLightning_) {
std::string sch = SchedulerSourceCode;
scheduler = sch.c_str();
}
// create compilation object with cache support