P4 to Git Change 1203829 by emankov@em-hsa-amd on 2015/10/26 11:33:16

SWDEV-77584 - ORCA RT: Preparations for enabling HSAIL on OpenCL 1.2 by default. Set Blits to be always internal kernels.

	[Synopsis] Option -cl-internal-kernel has not been always set for blits, which leads to difficulty/impossibility for their determination.

	[Testing] pre check-in

	[Reviewer] German Andryeyev
		   http://ocltc.amd.com/reviews/r/8799/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#187 edit
Этот коммит содержится в:
foreman
2015-10-26 11:49:00 -04:00
родитель 266e0e3507
Коммит ca9cb09860
+2 -2
Просмотреть файл
@@ -134,12 +134,12 @@ Device::BlitProgram::create(amd::Device* device,
// Build all kernels
std::string opt = "-Wf,--force_disable_spir -fno-lib-no-inline "\
"-fno-sc-keep-calls ";
"-fno-sc-keep-calls -cl-internal-kernel ";
if (extraOptions != NULL) {
opt += extraOptions;
}
if (!GPU_DUMP_BLIT_KERNELS) {
opt += " -fno-enable-dump -cl-internal-kernel";
opt += " -fno-enable-dump";
}
if (CL_SUCCESS != program_->build(devices, opt.c_str(),
NULL, NULL, GPU_DUMP_BLIT_KERNELS)) {