foreman d68ce71f32 P4 to Git Change 1120039 by emankov@em-hsa-amd on 2015/02/09 06:57:34
EPR #414091 - Compiler Lib/HSAIL: Fix for -fno-bin-cg on multiple kernels

	[Problem] If CL or BRIG contains multiple kernels, compilation with option -fno-bin-cg leads to finalizer error.

	[Solution] Check that all kernels are finalized before deleting BRIG from BIF. Actual deletion occurs after finalizing the last kernel.

	[Misc]
	+ fix erroneous successful exit from finalizing BRIG -> ISA function when BRIG is not extracted successfully
	+ string constants for symbol prefixes replaced on using findBIF30SymStruct
	+ obsolete __AMP_ is removed from code
	+ cosmetic changes in hsail_be
	+ test for the fix is added: ursa.pl -t complib -M-fno-bin-cg-g_multiple_kernels

	[Tests] pre check-in, make smoke, ursa complib, bingen test (from Benjamin Coquelle)

	[Reviewers] Brian Sumner, Artem Tamazov, Matthew Arsenault

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/complib/options/-fbin-cg-g/HelloWorld_Kernel_cl.cl#2 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/complib/options/-fbin-cg/HelloWorld_Kernel_cl.cl#2 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/complib/options/-fno-bin-cg-g/HelloWorld_Kernel_cl.cl#2 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/complib/options/-fno-bin-cg-g_multiple_kernels/MM_Kernels.cl#1 add
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/complib/options/-fno-bin-cg/HelloWorld_Kernel_cl.cl#2 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/complib.tlst#6 edit
2015-02-09 07:02:35 -05:00
S
Описание
No description provided
282 MiB
Languages
C++ 67.5%
C 20.6%
Python 6.6%
CMake 3.4%
Shell 0.6%
Разное 1.1%