Commit Graph

969 Commits

Author SHA1 Message Date
foreman 1633e2c95d P4 to Git Change 1219878 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/11 03:00:20
SWDEV-2 - Change OpenCL version number from 1970 to 1971.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1717 edit
2015-12-11 03:16:39 -05:00
foreman 9b2fc7a77e P4 to Git Change 1219652 by asalmanp@asalmanp-opencl-stg on 2015/12/10 14:20:26
SWDEV-82296 - [CQE OCL][2.0][HWSC][16.10]SDK Sample "AtomicCounters" 32/64bit failed with HWSC driver

	Disabling the cl_ext_atomic_counters_32 extension since there is no support for this extension on HSAIL and HWS.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/9221/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#265 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#538 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#338 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsasettings.cpp#11 edit
2015-12-10 14:27:54 -05:00
foreman b4dd604375 P4 to Git Change 1219421 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/10 03:00:11
SWDEV-2 - Change OpenCL version number from 1969 to 1970.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1716 edit
2015-12-10 03:09:17 -05:00
foreman f71d4a0f85 P4 to Git Change 1219002 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/09 03:00:11
SWDEV-2 - Change OpenCL version number from 1968 to 1969.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1715 edit
2015-12-09 03:07:43 -05:00
foreman dfb086584f P4 to Git Change 1218642 by ashi1@ashi1_win50 on 2015/12/08 10:02:04
SWDEV-83237 - Remove R800/900 from SC build. Disable EG/NI as supported GPU in compiler library
	SC will soon remove support of R800/900. We need to get ready for it.
	Two thing needs to be done:
	1. update opencldefs to change R800_BUILD and R900_BUILD to 0
	2. update compiler/lib/utils/target_mappings.h and v0_8/target_mappings*.h to disable EG/NI GPUs as not supported.
	Update all ocltsts.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#32 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#165 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIF2xTo3x.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Barts.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_BeaverCreek.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Caicos.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Cayman.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Cedar.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Cypress.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Devastator.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Juniper.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Loveland.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Redwood.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Scrapper.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Turks.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_WinterPark.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/build/Makefile.binary#20 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/aclAPI.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/bif21_Barts.bin#3 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/build/Makefile.complib#38 edit
2015-12-08 10:11:59 -05:00
foreman 689df36770 P4 to Git Change 1218559 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/08 03:00:11
SWDEV-2 - Change OpenCL version number from 1967 to 1968.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1714 edit
2015-12-08 03:09:24 -05:00
foreman 86fe69e9ef P4 to Git Change 1218185 by smekhano@stas-rampitec-hsa on 2015/12/07 11:46:59
SWDEV-83242 - RT: disable ADL reload in app detect
	Reload is disabled in ADL with the change list 1198904 and ticket
	SWDEV-59442 - The ADL_ApplicationProfiles_System_Reload Function is not Re-entrant.
	Returned value of the call is ADL_ERR_NOT_SUPPORTED on Windows.
	Thus appprofiles do not currently work with the OpenCL.
	This change removes reload call result check and profiles work again.

	Testing: smoke, precheckin, use of customized app profile
	Reviewed by German Andreev

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#11 edit
2015-12-07 11:53:23 -05:00
foreman e9b3baa3d0 P4 to Git Change 1218081 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/07 03:00:11
SWDEV-2 - Change OpenCL version number from 1966 to 1967.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1713 edit
2015-12-07 03:06:41 -05:00
foreman 74654a527b P4 to Git Change 1217975 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/06 03:00:11
SWDEV-2 - Change OpenCL version number from 1965 to 1966.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1712 edit
2015-12-06 03:09:40 -05:00
foreman 59a63e01af P4 to Git Change 1217944 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/05 03:00:11
SWDEV-2 - Change OpenCL version number from 1964 to 1965.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1711 edit
2015-12-05 03:10:09 -05:00
foreman 05ac0307b7 P4 to Git Change 1217843 by gandryey@gera-w8 on 2015/12/04 16:33:36
SWDEV-79445 - Enable CL_AMD_FP16 extension and allow to force CL_KHR_FP16

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#264 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#337 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#247 edit
2015-12-04 16:43:59 -05:00
foreman 137ceadfbb P4 to Git Change 1217582 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/04 03:00:10
SWDEV-2 - Change OpenCL version number from 1963 to 1964.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1710 edit
2015-12-04 03:09:49 -05:00
foreman c28504a63c P4 to Git Change 1217061 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/03 03:00:18
SWDEV-2 - Change OpenCL version number from 1962 to 1963.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1709 edit
2015-12-03 03:10:25 -05:00
foreman 9de775b2f3 P4 to Git Change 1216652 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/02 03:00:13
SWDEV-2 - Change OpenCL version number from 1961 to 1962.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1708 edit
2015-12-02 03:15:43 -05:00
foreman 6b762d400f P4 to Git Change 1216440 by rili@rili_opencl_stg on 2015/12/01 17:23:55
SWDEV-82256 - Limit the workaround for Win 7 only because KMD has fixed TDR issue on Win 8.1/10

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#336 edit
2015-12-01 17:34:48 -05:00
foreman f3a106f125 P4 to Git Change 1216133 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/01 03:00:11
SWDEV-2 - Change OpenCL version number from 1960 to 1961.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1707 edit
2015-12-01 03:08:49 -05:00
foreman ae519cdf56 P4 to Git Change 1215666 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/30 03:00:10
SWDEV-2 - Change OpenCL version number from 1959 to 1960.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1706 edit
2015-11-30 03:09:36 -05:00
foreman 828fe4a2d8 P4 to Git Change 1215590 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/29 03:00:12
SWDEV-2 - Change OpenCL version number from 1958 to 1959.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1705 edit
2015-11-29 03:05:49 -05:00
foreman 6c19b7d71c P4 to Git Change 1215573 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/28 03:00:10
SWDEV-2 - Change OpenCL version number from 1957 to 1958.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1704 edit
2015-11-28 03:10:08 -05:00
foreman 217ef518c4 P4 to Git Change 1215524 by rili@rili_opencl_stg on 2015/11/27 16:00:18
SWDEV-82205 - Increased workloard to pass this test.
	                       - This is workaround because KMD don't have solution to fix TDR issue yet in 15.30.
	                       - This workaround including CL#1201765 should be reverted once KMD has a fix

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#335 edit
2015-11-27 16:07:10 -05:00
foreman ca1ab4b444 P4 to Git Change 1215392 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/27 03:00:15
SWDEV-2 - Change OpenCL version number from 1956 to 1957.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1703 edit
2015-11-27 03:09:02 -05:00
foreman 26c0df5551 P4 to Git Change 1215006 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/26 03:00:12
SWDEV-2 - Change OpenCL version number from 1955 to 1956.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1702 edit
2015-11-26 03:07:44 -05:00
foreman 5e3d4f5a01 P4 to Git Change 1214781 by smekhano@stas-rampitec-hsa on 2015/11/25 14:45:09
SWDEV-82596 - HSA HLC: Create AMDInline pass
	The generic llvm inlining heuristcs do not work well for GPU.
	In particular we have a common problem in several tests:
	If we have a pointer to private array passed into a function it will not be optimized out, leaving scratch usage.
	The pass increases the inline threshold to allow inliniting in this case.

	Also that we can move at least some AMD inlining customizations into this file from the common code.
	Inline hint threshold is moved in this change.

	Performance impact on ocltst sha256, 32 bit, Fiji:

				AMDIL	HSAIL	Diff		HSAIL+Inliner	Diff		Diff
					before	to AMDIL			to HSAIL	to AMDIL
	OCLPerfSHA256[  0]	43.843	40.894	0.93		69.910		1.71		1.59
	OCLPerfSHA256[  1]	53.611	51.083	0.95		80.919		1.58		1.51
	OCLPerfSHA256[  2]	52.127	51.528	0.99		80.640		1.56		1.55
	OCLPerfSHA256[  3]	60.952	57.027	0.94		68.615		1.20		1.13
	OCLPerfSHA256[  4]	76.173	70.150	0.92		80.582		1.15		1.06
	OCLPerfSHA256[  5]	75.886	70.264	0.93		81.000		1.15		1.07

	Testing: smoke, precheckin, ocltst sha256
	Reviewed by Danill Fukalov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/InitializePasses.h#93 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/LinkAllPasses.h#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/Transforms/IPO.h#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDInline.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/CMakeLists.txt#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/IPO.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/Inliner.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/opt/amdopt.inc#28 edit
2015-11-25 15:23:51 -05:00
foreman 4cefa6126f P4 to Git Change 1214529 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/25 03:00:11
SWDEV-2 - Change OpenCL version number from 1954 to 1955.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1701 edit
2015-11-25 11:59:29 -05:00
foreman cf8e10a104 P4 to Git Change 1214087 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/24 03:00:12
SWDEV-2 - Change OpenCL version number from 1953 to 1954.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1700 edit
2015-11-24 03:08:09 -05:00
foreman ccc2b4ce79 P4 to Git Change 1213734 by yaxunl@yaxunl_stg_win50 on 2015/11/23 11:02:59
SWDEV-82054 - [CQE OCL][QR][LNX] RQ Conformance "Integer_Ops" test is crashing on CPU; Faulty CL#1206023.

	In llvm32 by default llvm::DisablePrettyStackTrace is off, which causes a trap handler installed by default and interferes with the trap handler in runtime, causing unhandled SIGFPE exceptions when executing conformance/integer_ops on certain cpu.

	To fix this, put stack trace duping under an env var AMD_DUMP_STACK_TRACE and set llvm::DisablePrettyStackTrace=true by default.

	Here env var is used because there is still no elf binary at this stage to pass the compiler option to if_aclCompilerInit.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/v0_8/if_acl.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#86 edit
2015-11-23 11:13:25 -05:00
foreman 4035e3b21b P4 to Git Change 1213667 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/23 03:00:11
SWDEV-2 - Change OpenCL version number from 1952 to 1953.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1699 edit
2015-11-23 03:11:15 -05:00
foreman 8da0a97e7f P4 to Git Change 1213586 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/22 03:00:10
SWDEV-2 - Change OpenCL version number from 1951 to 1952.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1698 edit
2015-11-22 03:11:46 -05:00
foreman 9db300e6d4 P4 to Git Change 1213569 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/21 03:00:11
SWDEV-2 - Change OpenCL version number from 1950 to 1951.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1697 edit
2015-11-21 03:08:33 -05:00
foreman f697264676 P4 to Git Change 1213547 by skudchad@skudchad_test_win_opencl2 on 2015/11/20 18:45:03
SWDEV-77172 - IOMMUv2 changes for Windows 10 (Part 2)
	- Fix SVM FGS malloc arguments being passed to kernel
	- Move setting allocation attributes to runtime
	- Fix some bugs from my previous checkins

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/9035/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#311 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#232 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.hpp#86 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#393 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#150 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/backend.h#11 edit
2015-11-20 18:51:27 -05:00
foreman 719f92981b P4 to Git Change 1213214 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/20 03:00:11
SWDEV-2 - Change OpenCL version number from 1949 to 1950.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1696 edit
2015-11-20 03:09:21 -05:00
foreman a3c5a06983 P4 to Git Change 1212769 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/19 03:00:14
SWDEV-2 - Change OpenCL version number from 1948 to 1949.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1695 edit
2015-11-19 03:18:38 -05:00
foreman 4f570b1585 P4 to Git Change 1212301 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/18 03:00:16
SWDEV-2 - Change OpenCL version number from 1947 to 1948.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1694 edit
2015-11-18 03:26:39 -05:00
foreman a8257c0b47 P4 to Git Change 1211815 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/17 03:00:10
SWDEV-2 - Change OpenCL version number from 1946 to 1947.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1693 edit
2015-11-17 03:07:04 -05:00
foreman b03a0deeaa P4 to Git Change 1211599 by rili@rili_opencl_stg on 2015/11/16 14:38:36
SWDEV-78240 - Reduce workload for Stoney

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#334 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#392 edit
2015-11-16 14:45:37 -05:00
foreman 2b6f4f6477 P4 to Git Change 1211422 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/16 03:00:13
SWDEV-2 - Change OpenCL version number from 1945 to 1946.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1692 edit
2015-11-16 03:10:31 -05:00
foreman 08e5cc5695 P4 to Git Change 1211336 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/15 03:00:11
SWDEV-2 - Change OpenCL version number from 1944 to 1945.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1691 edit
2015-11-15 03:15:41 -05:00
foreman ced3e2df46 P4 to Git Change 1211313 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/14 03:00:11
SWDEV-2 - Change OpenCL version number from 1943 to 1944.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1690 edit
2015-11-14 03:10:19 -05:00
foreman 768a8e7e78 P4 to Git Change 1211287 by xcui@merged_opencl_jxcwin on 2015/11/13 19:19:52
SWDEV-77172 - temporary disable the FGS optimization for a failure on stg.

	code review:
	http://ocltc.amd.com/reviews/r/8992/
	precheckin:
	http://ocltc.amd.com:8111/viewModification.html?modId=62238&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#263 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#537 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#156 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#310 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#391 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#37 edit
2015-11-13 19:47:56 -05:00
foreman 8a7bac7048 P4 to Git Change 1211165 by gandryey@gera-ubuntu14 on 2015/11/13 14:36:37
SWDEV-78467 - OpenCL LiquidFlash feature
	- Add staging transfer support for invisible memory
	- Don't fallback to USWC memory if persistent allocation failed

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#262 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#231 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#390 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#137 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#80 edit
2015-11-13 15:09:15 -05:00
foreman b70c72025b P4 to Git Change 1210939 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/13 03:00:10
SWDEV-2 - Change OpenCL version number from 1942 to 1943.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1689 edit
2015-11-13 03:11:29 -05:00
foreman 2abb8e1d6a P4 to Git Change 1210812 by emankov@em-hsa-amd on 2015/11/12 18:22:08
SWDEV-77584 - ORCA RT: Preparations for enabling HSAIL on OpenCL 1.2 by default. Fix for rare regressions with AMDIL on CI+, when forcing AMDIL by -legacy.

	[Testing] Pre-checkin:
	http://ocltc.amd.com:8111/viewModification.html?modId=62184&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

	[Reviewers] German Andryeyev, Brian Sumner
	http://ocltc.amd.com/reviews/r/8975

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#536 edit
2015-11-12 20:11:59 -05:00
foreman 56ea6c56a1 P4 to Git Change 1210699 by yaxunl@yaxunl_stg_win50 on 2015/11/12 15:57:00
SWDEV-81805 - Fix compiler lib bug: incorrect type name %opencl.pipe_t0 is generated when using clang.

	Clang does not return llvm::Module. It saves the bitcode to a memory buffer and passed back to compiler lib, then bitcode reader is used to get llvm::Module. Clang and bitcode reader uses the same LLVMContext which is created earlier in aclCompileInternal. Since named struct types are shared between modules in LLVMContext. When bitcode reader loads the module, name collision happens for named struct types, which causes them to be postfixed with a number, e.g. %opencl.pipe_t => %opencl.pipe_t0.

	This causes failure in SPIR-V drop-in conformance test.

	The fix is to let clang uses a separate LLVMContext.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend_clang.cpp#26 edit
2015-11-12 16:28:06 -05:00
foreman 64a7c5df25 P4 to Git Change 1210662 by rili@rili_opencl_stg on 2015/11/12 15:16:48
SWDEV-80061 - Copy flag HostMemoryDirectAccess from parent to view

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#124 edit
2015-11-12 15:31:34 -05:00
foreman 2972bacfc1 P4 to Git Change 1210367 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/12 03:00:12
SWDEV-2 - Change OpenCL version number from 1941 to 1942.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1688 edit
2015-11-12 03:06:56 -05:00
foreman 7237cf514f P4 to Git Change 1210047 by wchau@wchau_WINDOWS7_OCL on 2015/11/11 13:06:48
SWDEV-80450 - Fix the issue of app context reference count > 0 after app termination by using device context for the mapped buffer/image resource.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#155 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#123 edit
2015-11-11 13:14:27 -05:00
foreman 98f48d3a6d P4 to Git Change 1209913 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/11 03:00:12
SWDEV-2 - Change OpenCL version number from 1940 to 1941.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1687 edit
2015-11-11 03:09:17 -05:00
foreman 45746f1d16 P4 to Git Change 1209623 by yaxunl@yaxunl_stg_win50 on 2015/11/10 15:33:51
SWDEV-67990 - SPIR-V: Fix duplicate creation of opaque types in SPIR-V/LLVM translation.
	Fix mem leak in drop-in LLVM/SPIR-V translator.
	Add warning for undefined function in linker.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#135 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/SPIRVReader.cpp#5 edit
2015-11-10 15:57:43 -05:00
foreman eea9bc6733 P4 to Git Change 1209566 by smekhano@stas-nova-hsa on 2015/11/10 14:25:56
SWDEV-80874 - fixed out of bound access to the printf format string
	We do not really need two separate induction variables, pos and i, and we had a bug of not incrementing i as needed.
	The only reason it used to work is because all strings we used for testing ended with '\n'.
	The bug resulted in ignoring this '\n', but the code unconditionally adds '\n', so nobody noticed.
	If you try to print anything having any other escape, '\n' not at the end, or a colon, there will be assertion.

	That is fixed, and newline now is only added if last symbol in user's format was not newline, because otherwise
	we would now print 2 new lines. NB, I prefer to use bool variable rather then addressing last symbol of the string
	which could be empty.

	A side node, why do we run flex scanner past the last colon? If we do not we would not need this double encoding at all.

	Testing: smoke, precheckin, conformance printf with HSAIL forced, custom test
	Reviewed by German Andreev

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#309 edit
2015-11-10 14:33:05 -05:00
foreman 8c29379c3f P4 to Git Change 1209406 by emankov@em-hsa-amd on 2015/11/10 08:12:09
SWDEV-77584 - ORCA RT: Preparations for enabling HSAIL on OpenCL 1.2 by default. Fix regression by CL 1208929 in blit compilation.

	[Regression]
	CL 1208929 causes the following OpenCL Sanity Lnx/Win7/Win8.1 32-bit tests on CI+ GPU (Kalindi, Bonaire, Hawaii):
	BufferBandwidth, CplusplusWrapper, DynamicOpenCLDetection, ImageBandwidth, KernelLaunch
	crashes with:
	:2:..\..\..\gpucompiler.cpp:441: aclCompile failed :
	:1:..\..\..\gpudevice.cpp:955: Couldn't create blit kernels!

	[Testing]
	OCL SDK 2.9 (32bit/64bit), pre-checkin:
	http://ocltc.amd.com:8111/viewModification.html?modId=62012&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#535 edit
2015-11-10 08:17:59 -05:00