76333 Commits

Author SHA1 Message Date
Ben Sander fdeb477822 iScript cleanup, add --full 2016-02-08 21:44:55 -06:00
Ben Sander ff36d32095 iScript cleanup, add --full
[ROCm/hip commit: 7cb5412ff4]
2016-02-08 21:44:55 -06:00
Ben Sander 7cb5412ff4 iScript cleanup, add --full 2016-02-08 21:44:55 -06:00
Peng Sun b86252bc0d fix merging conflicts
[ROCm/clr commit: b3b0bbdddc]
2016-02-08 15:35:49 -06:00
Peng Sun b3b0bbdddc fix merging conflicts 2016-02-08 15:35:49 -06:00
Peng Sun f28e3eedc5 fix merging conflicts
[ROCm/hip commit: fb3b11774b]
2016-02-08 15:35:49 -06:00
Peng Sun fb3b11774b fix merging conflicts 2016-02-08 15:35:49 -06:00
Ding, Wei (xN/A) TX df99562905 Changes 5 hsail apps for supporting gfx803.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1235366]
2016-02-08 15:39:18 -05:00
Ding, Wei (xN/A) TX a1837859ef Changes 5 hsail apps for supporting gfx803.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1235366]


[ROCm/ROCR-Runtime commit: df99562905]
2016-02-08 15:39:18 -05:00
foreman 85d849e72b P4 to Git Change 1235269 by asalmanp@asalmanp-opencl-stg on 2016/02/08 12:27:46
SWDEV-79278 - [OpenCL][Baffin BU] Exposing Baffin in mainline for 16.20 release
	ReviewBoardURL = http://ocltc.amd.com/reviews/r/8969/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILSubtarget.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/InternalProcessors.td#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#132 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#32 edit


[ROCm/clr commit: c22b282854]
2016-02-08 12:36:54 -05:00
foreman c22b282854 P4 to Git Change 1235269 by asalmanp@asalmanp-opencl-stg on 2016/02/08 12:27:46
SWDEV-79278 - [OpenCL][Baffin BU] Exposing Baffin in mainline for 16.20 release
	ReviewBoardURL = http://ocltc.amd.com/reviews/r/8969/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILSubtarget.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/InternalProcessors.td#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#132 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#32 edit
2016-02-08 12:36:54 -05:00
foreman 0d7f39abb3 P4 to Git Change 1235185 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/08 03:00:10
SWDEV-2 - Change OpenCL version number from 2029 to 2030.

Affected files ...

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


[ROCm/clr commit: e536df62e9]
2016-02-08 03:10:50 -05:00
foreman e536df62e9 P4 to Git Change 1235185 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/08 03:00:10
SWDEV-2 - Change OpenCL version number from 2029 to 2030.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1776 edit
2016-02-08 03:10:50 -05:00
foreman bb78eeded3 P4 to Git Change 1235159 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/07 03:00:11
SWDEV-2 - Change OpenCL version number from 2028 to 2029.

Affected files ...

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


[ROCm/clr commit: 3c0eef3228]
2016-02-07 03:10:34 -05:00
foreman 3c0eef3228 P4 to Git Change 1235159 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/07 03:00:11
SWDEV-2 - Change OpenCL version number from 2028 to 2029.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1775 edit
2016-02-07 03:10:34 -05:00
foreman 8614a89060 P4 to Git Change 1235131 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/06 03:00:09
SWDEV-2 - Change OpenCL version number from 2027 to 2028.

Affected files ...

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


[ROCm/clr commit: e5cbfbac36]
2016-02-06 03:11:52 -05:00
foreman e5cbfbac36 P4 to Git Change 1235131 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/06 03:00:09
SWDEV-2 - Change OpenCL version number from 2027 to 2028.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1774 edit
2016-02-06 03:11:52 -05:00
foreman d77a64f47a P4 to Git Change 1234990 by bcrane@MSDNBCRANE99-OCL on 2016/02/05 15:44:10
SWDEV-86885 - [CQE OCL][2.0][QR][CFX] Few SDK 64 and 32 bit Samples resulting in Soft/hard hangs with faulty cl: 1233743

	Unsubmit CL1233743 because of problems with CFX.

	I have not been able to figure out how Cl1233743 would cause a problem.  It sets a flag, to disable new code... I would expect the new code to be the problem, not the disable.

	So, in case this unsubmit does not elminate the problem, CL1233686 is shelved, to use #ifndef CAL_SUPPORT around the new code in CL1226184.

	CL1233743 was submitted for:
	SWDEV-86253 - [QR] 6 to 7% performance drop is observed in BasemarkCL test

	CL1226184 adds serialization to LHIO, because pxproxy accesses global state, without locks, leading to crash, etc.

	To fix OpenCL perf regressions, allow unserialized access to pxproxy.  It may be that OpenCL design leads away from racy behavior, so it may be safe.  This was checked in to gather information.  What software gets perf drops?  Does any software get fixed?

	The dangerous functions are CreateDevice, CreateContext, because the handles from the OS are saved in global caches, and if those global caches are modified in one thread, while other threads are looking-up from the caches - that is a problem.

	CL1226184 was submitted for:
	SWDEV-80442 - [QR][Adobe Premier Pro CS6] TDR/App Crash observed while resizing the video window within workspace

	TC: http://ocltc:8111/viewModification.html?modId=66278&personal=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#159 edit


[ROCm/clr commit: 27c1ec4857]
2016-02-05 15:55:28 -05:00
foreman 27c1ec4857 P4 to Git Change 1234990 by bcrane@MSDNBCRANE99-OCL on 2016/02/05 15:44:10
SWDEV-86885 - [CQE OCL][2.0][QR][CFX] Few SDK 64 and 32 bit Samples resulting in Soft/hard hangs with faulty cl: 1233743

	Unsubmit CL1233743 because of problems with CFX.

	I have not been able to figure out how Cl1233743 would cause a problem.  It sets a flag, to disable new code... I would expect the new code to be the problem, not the disable.

	So, in case this unsubmit does not elminate the problem, CL1233686 is shelved, to use #ifndef CAL_SUPPORT around the new code in CL1226184.

	CL1233743 was submitted for:
	SWDEV-86253 - [QR] 6 to 7% performance drop is observed in BasemarkCL test

	CL1226184 adds serialization to LHIO, because pxproxy accesses global state, without locks, leading to crash, etc.

	To fix OpenCL perf regressions, allow unserialized access to pxproxy.  It may be that OpenCL design leads away from racy behavior, so it may be safe.  This was checked in to gather information.  What software gets perf drops?  Does any software get fixed?

	The dangerous functions are CreateDevice, CreateContext, because the handles from the OS are saved in global caches, and if those global caches are modified in one thread, while other threads are looking-up from the caches - that is a problem.

	CL1226184 was submitted for:
	SWDEV-80442 - [QR][Adobe Premier Pro CS6] TDR/App Crash observed while resizing the video window within workspace

	TC: http://ocltc:8111/viewModification.html?modId=66278&personal=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#159 edit
2016-02-05 15:55:28 -05:00
Ben Sander a1bbf9aa3d Fix HIP_PLATFORM detection
[ROCm/clr commit: 26854bb31c]
2016-02-05 07:15:46 -06:00
Ben Sander 26854bb31c Fix HIP_PLATFORM detection 2016-02-05 07:15:46 -06:00
Ben Sander c54d10e92a Fix HIP_PLATFORM detection
[ROCm/hip commit: 272ae52506]
2016-02-05 07:15:46 -06:00
Ben Sander 272ae52506 Fix HIP_PLATFORM detection 2016-02-05 07:15:46 -06:00
foreman 4c2ce7295e P4 to Git Change 1234720 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/05 03:00:10
SWDEV-2 - Change OpenCL version number from 2026 to 2027.

Affected files ...

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


[ROCm/clr commit: ecdfb00a01]
2016-02-05 03:10:23 -05:00
foreman ecdfb00a01 P4 to Git Change 1234720 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/05 03:00:10
SWDEV-2 - Change OpenCL version number from 2026 to 2027.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1773 edit
2016-02-05 03:10:23 -05:00
Ben Sander 0f1752e720 Fix getdeviceattr compilation for NVCC
[ROCm/clr commit: 9aec91a3b7]
2016-02-04 16:26:33 -06:00
Ben Sander 9aec91a3b7 Fix getdeviceattr compilation for NVCC 2016-02-04 16:26:33 -06:00
Ben Sander 9cb14a455c Fix getdeviceattr compilation for NVCC
[ROCm/hip commit: 76ebe6dcfd]
2016-02-04 16:26:33 -06:00
Ben Sander 76ebe6dcfd Fix getdeviceattr compilation for NVCC 2016-02-04 16:26:33 -06:00
shaoyunl 4e6c25e55b libhsaKmt: Add CWSR support on dGPU
This is thunk part of the  CWSR support.
1. SDMA queue don't support CWSR , no necessary to allocate the context save/restore memory
2. Allocate the context save/restore memory in local frame buffer for dGPU

Change-Id: Ie83506f0cced2a5a537c49d68125796d831c2764
2016-02-04 15:00:58 -05:00
shaoyunl 60bbf00fb1 libhsaKmt: Add CWSR support on dGPU
This is thunk part of the  CWSR support.
1. SDMA queue don't support CWSR , no necessary to allocate the context save/restore memory
2. Allocate the context save/restore memory in local frame buffer for dGPU

Change-Id: Ie83506f0cced2a5a537c49d68125796d831c2764


[ROCm/ROCR-Runtime commit: 4e6c25e55b]
2016-02-04 15:00:58 -05:00
shaoyunl 7e40877e81 libhsakmt: Use GPU ID instead of Node ID in set_process_dgpu_aperture
Change-Id: I0e66ca4a018c15c009a3516d250f0044a4407878
2016-02-04 10:32:23 -05:00
shaoyunl 4c5a3ca774 libhsakmt: Use GPU ID instead of Node ID in set_process_dgpu_aperture
Change-Id: I0e66ca4a018c15c009a3516d250f0044a4407878


[ROCm/ROCR-Runtime commit: 7e40877e81]
2016-02-04 10:32:23 -05:00
Sam Kolton 136baccbe5 Implementation of hipDeviceGetAttribute()
[ROCm/clr commit: afe45964ae]
2016-02-04 17:39:27 +03:00
Sam Kolton afe45964ae Implementation of hipDeviceGetAttribute() 2016-02-04 17:39:27 +03:00
Sam Kolton 2306293526 Implementation of hipDeviceGetAttribute()
[ROCm/hip commit: 0a27507208]
2016-02-04 17:39:27 +03:00
Sam Kolton 0a27507208 Implementation of hipDeviceGetAttribute() 2016-02-04 17:39:27 +03:00
foreman 37b8e91715 P4 to Git Change 1234278 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/04 03:00:12
SWDEV-2 - Change OpenCL version number from 2025 to 2026.

Affected files ...

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


[ROCm/clr commit: 3251b63346]
2016-02-04 03:08:01 -05:00
foreman 3251b63346 P4 to Git Change 1234278 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/04 03:00:12
SWDEV-2 - Change OpenCL version number from 2025 to 2026.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1772 edit
2016-02-04 03:08:01 -05:00
foreman 1918801f41 P4 to Git Change 1234219 by smekhano@stas-rampitec-hsa on 2016/02/03 22:29:28
SWDEV-86849 - HSA HLC: add AssertZExt to get_local_id/get_local_size calls if workrgoup size is know to fit i8 or i16
	Testing: smoke, precheckin
	Reviewed by Valery Pykhtin

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#138 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.cpp#110 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.h#27 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/llc/opt/mul24/local_size.cl#1 add
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/llc_opt.tlst#80 edit


[ROCm/clr commit: bf45e6549f]
2016-02-03 22:33:51 -05:00
foreman bf45e6549f P4 to Git Change 1234219 by smekhano@stas-rampitec-hsa on 2016/02/03 22:29:28
SWDEV-86849 - HSA HLC: add AssertZExt to get_local_id/get_local_size calls if workrgoup size is know to fit i8 or i16
	Testing: smoke, precheckin
	Reviewed by Valery Pykhtin

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#138 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.cpp#110 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.h#27 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/llc/opt/mul24/local_size.cl#1 add
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/llc_opt.tlst#80 edit
2016-02-03 22:33:51 -05:00
foreman 72b7ad81cb P4 to Git Change 1234162 by xcui@merged_opencl_jxcwin on 2016/02/03 18:17:16
SWDEV-84299 - added support for svmmemcpy to handle the situation that src/dst pointers may or may not in the SVM space

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#394 edit


[ROCm/clr commit: bb433385db]
2016-02-03 18:24:32 -05:00
foreman bb433385db P4 to Git Change 1234162 by xcui@merged_opencl_jxcwin on 2016/02/03 18:17:16
SWDEV-84299 - added support for svmmemcpy to handle the situation that src/dst pointers may or may not in the SVM space

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#394 edit
2016-02-03 18:24:32 -05:00
Peng Sun 05dd336805 Additional typo and extra space fix
[ROCm/clr commit: 30dc087238]
2016-02-03 09:42:16 -06:00
Peng Sun 30dc087238 Additional typo and extra space fix 2016-02-03 09:42:16 -06:00
Peng Sun 8347c2163d Additional typo and extra space fix
[ROCm/hip commit: 3d5608ea84]
2016-02-03 09:42:16 -06:00
Peng Sun 3d5608ea84 Additional typo and extra space fix 2016-02-03 09:42:16 -06:00
Ben Sander 054598a1b3 Merge branch 'master' into privatestaging
[ROCm/clr commit: 2faf1dfe6e]
2016-02-03 09:39:19 -06:00
Ben Sander 2faf1dfe6e Merge branch 'master' into privatestaging 2016-02-03 09:39:19 -06:00
Ben Sander 2bf594e928 Merge branch 'master' into privatestaging
[ROCm/hip commit: 1327d3e03d]
2016-02-03 09:39:19 -06:00