Графік комітів

955 Коміти

Автор SHA1 Повідомлення Дата
foreman c99faaee06 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


[ROCm/clr commit: 9de775b2f3]
2015-12-02 03:15:43 -05:00
foreman 354e831515 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


[ROCm/clr commit: 6b762d400f]
2015-12-01 17:34:48 -05:00
foreman fc9b9dd7cf 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


[ROCm/clr commit: f3a106f125]
2015-12-01 03:08:49 -05:00
foreman 5b4914d576 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


[ROCm/clr commit: ae519cdf56]
2015-11-30 03:09:36 -05:00
foreman efcc01d1a5 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


[ROCm/clr commit: 828fe4a2d8]
2015-11-29 03:05:49 -05:00
foreman 4247d50ef8 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


[ROCm/clr commit: 6c19b7d71c]
2015-11-28 03:10:08 -05:00
foreman d846a660a1 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


[ROCm/clr commit: 217ef518c4]
2015-11-27 16:07:10 -05:00
foreman 9055e5aa13 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


[ROCm/clr commit: ca1ab4b444]
2015-11-27 03:09:02 -05:00
foreman 74e3dd4818 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


[ROCm/clr commit: 26c0df5551]
2015-11-26 03:07:44 -05:00
foreman 520cfc439d 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


[ROCm/clr commit: 5e3d4f5a01]
2015-11-25 15:23:51 -05:00
foreman 0f4d9d6942 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


[ROCm/clr commit: 4cefa6126f]
2015-11-25 11:59:29 -05:00
foreman 226df10c70 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


[ROCm/clr commit: cf8e10a104]
2015-11-24 03:08:09 -05:00
foreman 55dcd2f8fd 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


[ROCm/clr commit: ccc2b4ce79]
2015-11-23 11:13:25 -05:00
foreman 664b6c337d 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


[ROCm/clr commit: 4035e3b21b]
2015-11-23 03:11:15 -05:00
foreman 92c0453e31 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


[ROCm/clr commit: 8da0a97e7f]
2015-11-22 03:11:46 -05:00
foreman b128ee1e7b 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


[ROCm/clr commit: 9db300e6d4]
2015-11-21 03:08:33 -05:00
foreman c18704a13f 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


[ROCm/clr commit: f697264676]
2015-11-20 18:51:27 -05:00
foreman 65a8b623b4 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


[ROCm/clr commit: 719f92981b]
2015-11-20 03:09:21 -05:00
foreman fc81603897 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


[ROCm/clr commit: a3c5a06983]
2015-11-19 03:18:38 -05:00
foreman 5e3db782ac 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


[ROCm/clr commit: 4f570b1585]
2015-11-18 03:26:39 -05:00
foreman 3c4e75b79c 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


[ROCm/clr commit: a8257c0b47]
2015-11-17 03:07:04 -05:00
foreman abdac80a86 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


[ROCm/clr commit: b03a0deeaa]
2015-11-16 14:45:37 -05:00
foreman 5ace734c06 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


[ROCm/clr commit: 2b6f4f6477]
2015-11-16 03:10:31 -05:00
foreman d31aa81169 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


[ROCm/clr commit: 08e5cc5695]
2015-11-15 03:15:41 -05:00
foreman c2659df526 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


[ROCm/clr commit: ced3e2df46]
2015-11-14 03:10:19 -05:00
foreman dc82afd21c 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


[ROCm/clr commit: 768a8e7e78]
2015-11-13 19:47:56 -05:00
foreman c446a43d74 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


[ROCm/clr commit: 8a7bac7048]
2015-11-13 15:09:15 -05:00
foreman 1c344cce5c 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


[ROCm/clr commit: b70c72025b]
2015-11-13 03:11:29 -05:00
foreman f1528114ef 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


[ROCm/clr commit: 2abb8e1d6a]
2015-11-12 20:11:59 -05:00
foreman 1f44ace8c5 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


[ROCm/clr commit: 56ea6c56a1]
2015-11-12 16:28:06 -05:00
foreman 80fed67799 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


[ROCm/clr commit: 64a7c5df25]
2015-11-12 15:31:34 -05:00
foreman b10cb5b00c 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


[ROCm/clr commit: 2972bacfc1]
2015-11-12 03:06:56 -05:00
foreman 96e9f89169 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


[ROCm/clr commit: 7237cf514f]
2015-11-11 13:14:27 -05:00
foreman 78e7f09b52 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


[ROCm/clr commit: 98f48d3a6d]
2015-11-11 03:09:17 -05:00
foreman b6160fbb9c 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


[ROCm/clr commit: 45746f1d16]
2015-11-10 15:57:43 -05:00
foreman 4f9ee0a967 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


[ROCm/clr commit: eea9bc6733]
2015-11-10 14:33:05 -05:00
foreman 2adfd0343a 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


[ROCm/clr commit: 8c29379c3f]
2015-11-10 08:17:59 -05:00
foreman f81df8acfb P4 to Git Change 1209302 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/10 03:00:14
SWDEV-2 - Change OpenCL version number from 1939 to 1940.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1686 edit


[ROCm/clr commit: 05ef4a4226]
2015-11-10 03:09:29 -05:00
foreman e7b4236c61 P4 to Git Change 1208996 by bsumner@bsumner-lin-opencl on 2015/11/09 14:14:50
SWDEV-10637 - clean up half_math and merge CI lib into main lib

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/library.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#46 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/Makefile#4 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail-amd-ci/Makefile#2 delete
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail-amd-ci/build/Makefile#2 delete
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail-amd-ci/build/Makefile.hsail-amd-ci#18 delete
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail-amd-ci/src/math32/half_argred.cl#2 delete
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail-amd-ci/src/math32/half_cosF.cl#2 delete
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail-amd-ci/src/math32/half_expF.cl#2 delete
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail-amd-ci/src/math32/half_logF.cl#2 delete
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail-amd-ci/src/math32/half_rsqrtF.cl#2 delete
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail-amd-ci/src/math32/half_sinF.cl#2 delete
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail-amd-ci/src/math32/half_sincos.cl#2 delete
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail-amd-ci/src/math32/half_sqrtF.cl#2 delete
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/argredhalfF.cl#1 add
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/half_cosF.cl#3 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/half_divideF.cl#4 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/half_exp10F.cl#1 add
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/half_exp2F.cl#1 add
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/half_expF.cl#3 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/half_log10F.cl#1 add
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/half_log2F.cl#1 add
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/half_logF.cl#4 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/half_powrF.cl#2 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/half_recipF.cl#3 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/half_rsqrtF.cl#3 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/half_sinF.cl#3 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/half_sincos.cl#2 delete
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/half_sqrtF.cl#3 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/half_tanF.cl#2 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/sincoshalfF.cl#1 add
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/math32/tanredF.cl#1 add
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/hsa_dist.pl#3 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#21 edit


[ROCm/clr commit: a8cd480328]
2015-11-09 14:24:12 -05:00
foreman 105a113d85 P4 to Git Change 1208929 by emankov@em-hsa-amd on 2015/11/09 10:49:06
SWDEV-77584 - ORCA RT: Preparations for enabling HSAIL on OpenCL 1.2 by default. Integrate new algorithm for device program choice.

	[Reasons]
	1. Make the switching change as less as possible.
	2. Give a chance to test HSA_foundation device work on OCL 1.2 beforehand (asked by Nikolay).

	Almost already reviewed:
	http://ocltc.amd.com/reviews/r/8850/

	Additionally:
	1. Linking logic was changed: if the target of one of the binaries is hsail-(64) linking goes through HSAIL, otherwise - through AMDIL. Previously -cl-std=CL2.0 in any of the linking binaries was a criterion for HSAIL, what will be wrong for HSAIL 1.2 after switching. -clang & -edg options are set now to distinguish the path while linking.
	2. -cl-std=CL2.0 as a criterion for HSAIL was returned back in isHSAILProgram() method; -clang & -edg options were also added as a criterion.

	[ToDo] After enabling HSAIL by default remove -cl-std, -clang & -edg checks from the code.

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

	[Reviewers] German Andryeyev, Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#279 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.hpp#93 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#261 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#534 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#154 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#47 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#76 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#38 edit


[ROCm/clr commit: 539fef47eb]
2015-11-09 10:56:13 -05:00
foreman 7abec5d9e5 P4 to Git Change 1208925 by wchau@wchau_WINDOWS7_OCL on 2015/11/09 10:34:19
SWDEV-79957 - use system memory to calculate the largest available memory size on Linux APU system.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#533 edit


[ROCm/clr commit: 6f0457c510]
2015-11-09 10:40:09 -05:00
foreman a7931a3d61 P4 to Git Change 1208822 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/09 03:00:20
SWDEV-2 - Change OpenCL version number from 1938 to 1939.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1685 edit


[ROCm/clr commit: a1146f6e4d]
2015-11-09 03:20:31 -05:00
foreman 076bae8652 P4 to Git Change 1208711 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/08 03:00:11
SWDEV-2 - Change OpenCL version number from 1937 to 1938.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1684 edit


[ROCm/clr commit: b7c9a38645]
2015-11-08 03:07:29 -05:00
foreman 586907445b P4 to Git Change 1208688 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/07 03:00:12
SWDEV-2 - Change OpenCL version number from 1936 to 1937.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1683 edit


[ROCm/clr commit: f0aea225b6]
2015-11-07 03:10:10 -05:00
foreman 1ba573af22 P4 to Git Change 1208618 by skudchad@skudchad_test_win_opencl2 on 2015/11/06 17:27:01
SWDEV-77172 - IOMMUv2 changes for Windows 10
	- Clear passing SVM flag from top level and fix GL interop on SVM
	- Add\Remove gpuvmOffset before WDDM calls as its added manually for SUA model

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#230 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#25 edit


[ROCm/clr commit: b0b6b55051]
2015-11-06 17:35:18 -05:00
foreman 2d0ee10d7b P4 to Git Change 1208596 by smekhano@stas-rampitec-hsa on 2015/11/06 16:26:28
SWDEV-80874 - fixed staging buffer overflow with HSA printf

	Staging buffer is ~2 times smaller than allocated printf buffer, so if amount of data in printf buffer exceeds the size of the staging buffer
	we hit assertion in the memory copy. To hit the assertion that is enough to print 2 integers with 64K workitems.
	Added loop to read printf buffer into staging in portions.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.cpp#41 edit


[ROCm/clr commit: e18cd1d76e]
2015-11-06 16:37:38 -05:00
foreman 0d20de6e7a P4 to Git Change 1208448 by smekhano@stas-rampitec-hsa on 2015/11/06 12:02:54
SWDEV-80874 - Fixed ORCA RT HSA printf buffer indexing issues

	The format of the buffer is: printf_id, <arg1>, <arg2>, ...
	The RT did not advance index for printf_id field, so for example for a format string "%d" we have been printing printf_id instead of actual argument for every other string.
	The other issue is that outputDbgBuffer is adjusting its last argument (idx) by the number of consumed DWORD values,
	but PrintfDbgHSA::output() is also ajusting dbgBufferPtr, so we had adjustment done twice, printing only half of the actual data and then printing zeroes from the buffer.
	The resolution for both is to always pass 1 as index to outputDbgBuffer(). 1 because 0 is printf_id.

	Testing: smoke, precheckin, conformance printf with HSAIL forced, custom tests
	Reviewed by Brian Sumner and German Andreev

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.cpp#40 edit


[ROCm/clr commit: 047f87bb4f]
2015-11-06 12:20:00 -05:00
foreman 771cf1e963 P4 to Git Change 1208254 by nhaustov@nhaustov_hsa on 2015/11/06 03:25:21
SWDEV-77584 - Remove old OpenCL hsa device and loader.

	Reviewed by: Evgeniy Mankov

	Testing: pre-checkin

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#128 edit
... //depot/stg/opencl/drivers/opencl/compiler/loader/Makefile#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/loader/libloader/Makefile#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/loader/libloader/build/Makefile#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/loader/libloader/build/Makefile.libloader#11 delete
... //depot/stg/opencl/drivers/opencl/compiler/loader/libloader/hsacore_symbol_loader.cpp#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/loader/libloader/hsacore_symbol_loader.hpp#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/loader/libloader/loader.cpp#14 delete
... //depot/stg/opencl/drivers/opencl/compiler/loader/libloader/loader.hpp#6 delete
... //depot/stg/opencl/drivers/opencl/runtime/Makefile#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#190 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/Makefile#8 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/build/Makefile#5 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/build/Makefile.oclhsa#23 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsaappprofile.cpp#4 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsaappprofile.hpp#4 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsabinary.cpp#8 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsabinary.hpp#5 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsablit.cpp#10 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsablit.hpp#3 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsacompiler.cpp#27 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsacompilerlib.cpp#13 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsacompilerlib.hpp#10 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsacore_symbol_loader.cpp#8 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsacore_symbol_loader.hpp#8 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsacounters.cpp#5 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsacounters.hpp#3 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadefs.hpp#5 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.cpp#95 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.hpp#51 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsakernel.cpp#27 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsakernel.hpp#20 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsamemory.cpp#43 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsamemory.hpp#28 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsaprogram.cpp#39 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsaprogram.hpp#20 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsasettings.cpp#40 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsasettings.hpp#13 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsavirtual.cpp#99 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsavirtual.hpp#29 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/oclhsa.def#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/oclhsa_common.hpp#4 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/services_symbol_loader.cpp#10 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/services_symbol_loader.hpp#11 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/system_memory.h#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsaappprofile.cpp#2 edit


[ROCm/clr commit: 7df0da7bac]
2015-11-06 03:40:14 -05:00
foreman 4216b5221b P4 to Git Change 1208253 by nhaustov@nhaustov_hsa on 2015/11/06 03:24:59
SWDEV-79309 - Clean up HSAIL backend and compiler library includes.

	Use libHSAIL headers directly, not via libHSAIL/ subdir.
	Also remove no longer present libBRIGDwarf subdir usage.

	Testing: pre-checkin

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/build/Makefile.common#36 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#85 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/build/Makefile.gpu#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/BRIGAsmPrinter.cpp#145 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/BRIGAsmPrinter.h#63 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/CMakeLists.txt#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILGlobalScopeInitializer.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILIPUniformAnalysis.h#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelDAGToDAG.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.cpp#101 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILInstrInfo.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILInstrInfo.h#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILKernelManager.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILKernelManager.h#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILOptimizeMemoryOps.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILUtilityFunctions.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILUtilityFunctions.h#41 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/LibHSAILAdapters.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/build/Makefile.hsail#18 edit


[ROCm/clr commit: a0535772b5]
2015-11-06 03:35:34 -05:00
foreman 78658bcb35 P4 to Git Change 1208234 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/06 03:00:10
SWDEV-2 - Change OpenCL version number from 1935 to 1936.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1682 edit


[ROCm/clr commit: 3206a987aa]
2015-11-06 03:11:20 -05:00