P4 to Git Change 1193032 by emankov@em-hsa-amd on 2015/09/22 11:03:08

SWDEV-17662 - ORCA RT: fix for continuing work after Program link failure.

	[Synopsis]
	If program link is failed RT continues its work and fails further (for example, in symbol.setDeviceKernel).

	[Testing] pre check-in

	Reviewer: German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#207 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#70 edit


[ROCm/clr commit: ca0a125f97]
This commit is contained in:
foreman
2015-09-22 11:22:00 -04:00
والد 98131ac83e
کامیت 4da46684d8
2فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
@@ -354,6 +354,10 @@ Program::link(
}
}
if (retval != CL_SUCCESS) {
return retval;
}
// Rebuild the symbol table
deviceprograms_t::iterator sit;
for (sit = devicePrograms_.begin(); sit != devicePrograms_.end(); ++sit) {