Grafico dei commit

421 Commit

Autore SHA1 Messaggio Data
foreman 57fe8db092 P4 to Git Change 1251133 by gandryey@gera-w8 on 2016/03/24 16:36:52
SWDEV-90618 - cl_kernel_info_amd always returns 0 when working via HSAIL path
	- Don't access GPU device specific data for offline compilation

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#313 edit


[ROCm/clr commit: da83b6bcd7]
2016-03-24 16:51:03 -04:00
foreman 647b57099e P4 to Git Change 1250949 by gandryey@gera-w8 on 2016/03/24 12:06:49
SWDEV-90618 - cl_kernel_info_amd always returns 0 when working via HSAIL path
	- Allow null kernel creation for offline compilation

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#312 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#224 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#66 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuscsi.cpp#36 edit


[ROCm/clr commit: 5e7eb30dd7]
2016-03-24 12:15:44 -04:00
foreman a60dcccfec P4 to Git Change 1249992 by weizhang@weizhang-lnx-opencl on 2016/03/22 15:10:37
SWDEV-84070 - Extend the workaround submitted in CL#1242741 to GFX7 generation.

Affected files ...

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


[ROCm/clr commit: 76a96b7f06]
2016-03-22 15:19:12 -04:00
foreman b9bb5cf51e P4 to Git Change 1249828 by kzhuravl@kzhuravl-fiji-oclhsa on 2016/03/22 09:28:38
SWDEV-76911 - Enforce profile checks in executable [integration of CL 1249531] + fix executable creation in orca runtime

	ReviewBoardURL: http://ocltc.amd.com/reviews/r/10061/
	Testing: precheckin (http://ocltc.amd.com:8111/viewModification.html?modId=68662&personal=true&init=1&tab=vcsModificationBuilds)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/amdhsacod/amdhsacod.cpp#12 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.cpp#24 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#223 edit


[ROCm/clr commit: c0d9192ab0]
2016-03-22 09:38:40 -04:00
foreman 1f4061ccbc P4 to Git Change 1249484 by kzhuravl@kzhuravl-kaveri-sc on 2016/03/21 17:26:34
SWDEV-76911 - Fix base/full profile loader issues on SoftCP path [integration of CL 1249449]

	1) Introduce internal API that provides kernel host address given kernel device address
	2) Remove base/full profile loader hacks we have today

	+ runtime changes:
	1) Remove asserts when querying host address of a host address in hsart's loader context

	ReviewBoardURL: http://ocltc.amd.com/reviews/r/10054/
	Testing: precheckin (http://ocltc.amd.com:8111/viewModification.html?modId=68651&personal=true&tab=vcsModificationBuilds)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.cpp#22 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.hpp#11 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_hsa_kernel_code.h#12 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_hsa_loader.hpp#10 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#65 edit


[ROCm/clr commit: 3f6cc5b851]
2016-03-21 17:40:05 -04:00
foreman 8bee1611b9 P4 to Git Change 1247486 by weizhang@weizhang-lnx-opencl on 2016/03/15 11:01:21
SWDEV-89454 - The memory pointed by m_nativeDisplayHandle should be freed at IOL.

	  The memory pointed by m_nativeDisplayHandle is allocated in IOL, so it should be freed at IOL as well. Otherwise, the error of "double free or corruption" happens.

Affected files ...

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


[ROCm/clr commit: c33a49c7f6]
2016-03-15 11:10:14 -04:00
foreman 42c2836e5a P4 to Git Change 1246105 by cpaquot@hog-ocl on 2016/03/10 15:13:37
SWDEV-89711 - Adding EGL interop capability:
	- Remove Context::Info::type_ and only use flags_, it's more accurate and type_ was just redundant
	- Plumbing work for EGL at the top of the API layer.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d10.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl_amd.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.hpp#94 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#269 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#542 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#157 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.hpp#24 edit


[ROCm/clr commit: 269f599f85]
2016-03-10 15:21:20 -05:00
foreman 8b95f29714 P4 to Git Change 1245012 by gandryey@gera-w8 on 2016/03/08 14:41:35
SWDEV-89511 - Enable F16 KHR extension

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#268 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#343 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#253 edit


[ROCm/clr commit: 08721493fa]
2016-03-08 14:51:18 -05:00
foreman 18c6f68b08 P4 to Git Change 1243406 by gandryey@gera-rcf-lnx on 2016/03/03 13:52:23
SWDEV-79445 - Add cache flush if memdependency disabled.

Affected files ...

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


[ROCm/clr commit: fd2bcde17e]
2016-03-03 14:08:00 -05:00
foreman ed9c54e493 P4 to Git Change 1242741 by jatang@jatang-opencl-hsa-stg1 on 2016/03/02 12:04:38
SWDEV-86378 -  Workaround sDMA L2T page fault issue.

	sDMA L2T has a bug that could have the engine access one page ahead of the starting address of the L2T linear address. Workaround it by using kernel bliting instead for conditions that could run into the bug.

Affected files ...

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


[ROCm/clr commit: b646548235]
2016-03-02 12:18:01 -05:00
foreman b506dccb6e P4 to Git Change 1239589 by mtomarov@stg-ocl-mtomarov on 2016/02/23 07:47:15
SWDEV-76870 - Add write feature to AMD extension (Merging //depot/rel/r6/15.30.1023/stream/opencl/... to //depot/stg/opencl/drivers/opencl/...)

	Add clEnqueueReadBufferToFileAMD function to AMD extension (added declaration in cl_context.cpp)
	1. Added clEnqueueReadBufferToFileAMD_fn function declaration to cl_ext.h
	2. Added LiquidFlashFile::writeBlock method who implements transfer from GPU to SSD. In order to avoid code duplication LiquidFlashFile::readBlock and LiquidFlashFile::writeBlock is called from new method LiquidFlashFile::transferBlock (changes in cl_lqdflash_amd.cpp)
	3. clEnqueueWriteBufferFromFileAMD and clEnqueueWriteBufferFromFileAMD call internal function EnqueueTransferBufferFromFileAMD who makes the same preparations as clEnqueueWriteBufferFromFileAMD in the prvious release
	4. WriteBufferFromFileCommand class is renamed to TransferBufferFromFileCommand and new class makes the same preparation except assigning transfer direction (read or write)

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#48 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.h#4 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#24 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#267 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#396 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#138 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#81 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#96 edit


[ROCm/clr commit: 1cb5415538]
2016-02-23 07:57:16 -05:00
foreman bbe34fec40 P4 to Git Change 1239340 by rili@rili-opencl-stg on 2016/02/22 16:50:49
SWDEV-84552 - Flush HSAIL kernel execution if workload is too big.

Affected files ...

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


[ROCm/clr commit: 01f19b6043]
2016-02-22 17:03:42 -05:00
foreman d5ccaf288f P4 to Git Change 1237953 by kzhuravl@win-kzhuravl-stg-sc on 2016/02/17 13:32:36
SWDEV-76911 - Remove HSART_NO_LARGE_BAR_SUPPORT define and do necessary updates (comes in 3 separate parts: stg sc, hsa, opencl changelists) [opencl part]

	ReviewBoardURL: http://ocltc.amd.com/reviews/r/9769/
	Testing: http://ocltc:8111/viewModification.html?modId=66952&personal=true&init=1&tab=vcsModificationBuilds

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.cpp#19 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.cpp#9 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.hpp#9 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_hsa_kernel_code.h#10 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_hsa_loader.hpp#8 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#64 edit


[ROCm/clr commit: e5635ffbe4]
2016-02-17 13:40:22 -05:00
foreman b1845e0784 P4 to Git Change 1236618 by weizhang@msdnweizhang-opencl on 2016/02/11 22:12:34
SWDEV-78299 - Back out changelist 1236441 since OCLCreateBuffer fails.

Affected files ...

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


[ROCm/clr commit: fffbe5bb3b]
2016-02-11 22:20:56 -05:00
foreman 1795e55181 P4 to Git Change 1236441 by weizhang@weizhang-lnx-opencl on 2016/02/11 12:33:49
SWDEV-78299 - [Brahma] Setting max single allocation size by comparing cardMemAvailableBytes with cardExtMemAvailableBytes on Brahma.

Affected files ...

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


[ROCm/clr commit: 31c030ff18]
2016-02-11 12:41:22 -05:00
foreman cd7a3bed15 P4 to Git Change 1236419 by asalmanp@asalmanp-opencl-stg on 2016/02/11 11:36:16
SWDEV-79278 - [OpenCL][Ellesmere BU] Exposing Ellesmere in mainline for 16.20 release

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#39 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILSubtarget.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/InternalProcessors.td#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#133 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#33 edit


[ROCm/clr commit: c16578eb71]
2016-02-11 11:49:08 -05:00
foreman 027f022623 P4 to Git Change 1235782 by asalmanp@asalmanp-opencl-stg on 2016/02/09 15:30:16
SWDEV-68792 - [OpenCL][HWS/CWSR] Adding support for Hardware Scheduler and Compute Wave Save restore (CWSR) feature on ORCA

	Adding a temporary w/a for a CP uCode bug in HWS mode. Due to this bug, CP uCode loops through a RUNLIST unless there is a submission on all queues in HWS mode. This causes some overhead and performance drop in PCMark8 on CZ in HWS mode. To work around this issue, it was suggested to submit a dummy packet during initialization on all available queues on HWS mode so that CP uCode can break the loop. This w/a should be removed once CP uCode provides a final fix for this issue.

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

Affected files ...

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


[ROCm/clr commit: 45715f0c48]
2016-02-09 17:25:20 -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 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 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 2669fce89a P4 to Git Change 1233743 by bcrane@MSDNBCRANE99-OCL on 2016/02/02 20:45:13
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.

	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#158 edit


[ROCm/clr commit: bd54838ca7]
2016-02-02 20:52:50 -05:00
foreman 47f16725d6 P4 to Git Change 1232550 by skudchad@skudchad_test_win_opencl2 on 2016/01/29 14:32:21
SWDEV-77172 - Enable ThreadTrace for SVM.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#342 edit


[ROCm/clr commit: 434a3ff361]
2016-01-29 14:39:05 -05:00
foreman 2677ab713e P4 to Git Change 1232190 by gandryey@gera-w8 on 2016/01/28 15:54:15
SWDEV-86312 - Report correct available LDS size for clGetKernelInfoAMD
	- return LDS size.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuscsi.cpp#35 edit


[ROCm/clr commit: f009f13ac4]
2016-01-28 16:02:41 -05:00
foreman 66ef29e19a P4 to Git Change 1231595 by weizhang@weizhang-lnx-opencl on 2016/01/27 12:13:15
SWDEV-85649 - The return of owner() needs to be casted to get amd::Image.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#125 edit


[ROCm/clr commit: 4ad4539710]
2016-01-27 12:28:37 -05:00
foreman 36632103a6 P4 to Git Change 1231549 by wchau@wchau_WIN_OCL_HSA on 2016/01/27 11:23:48
SWDEV-79308 - Use 64-bit to calculate the scratch buffer size for OCL.  We observed that the computed scratch buffer size could be > 4G when compilier optimization option is not used.
	Cross branch change - requires CL1231547.

Affected files ...

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


[ROCm/clr commit: 80ab916a5b]
2016-01-27 11:36:07 -05:00
foreman 01482fd967 P4 to Git Change 1228972 by smekhano@stas-nova-hsa on 2016/01/19 14:21:26
SWDEV-85602 - rename hsail-64 arch to hsail64
	This is to match other existing llvm targets, such as spir64 and amdil64, as well as to match behavior of open source HSAIL BE.
	For legacy users there is alias "-hsail-64" provided in the aoc2 only.

	Testing: smoke, precheckin
	Reviewed by Matthew Arsenault, Evgeny Mankov and Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/codegen.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/frontend.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILTargetMachine.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/TargetInfo/HSAILTargetInfo.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/aacl/aa.h#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/amp_libm/build/Makefile.amp_libm#4 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/gcn/build/Makefile.gcn#20 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/gcndev/build/Makefile.gcndev#3 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/build/Makefile.hsail#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#153 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#222 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsacompiler.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#25 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/complib.tlst#21 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_debug.tlst#9 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_regression.tlst#25 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRBase.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRVBasic.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRVDropIn.cpp#5 edit


[ROCm/clr commit: 14179df14f]
2016-01-19 14:31:59 -05:00
foreman b13287e477 P4 to Git Change 1228628 by wchau@wchau_WIN_OCL_HSA on 2016/01/18 17:02:40
SWDEV-79308 -  Resubmit of CL1228064 with restriction of mininum scratch buffer size of 64K if a scratch buffer is needed.
	  Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer size exceeds the available local memory.
	  Made sure the scratch buffer size is aligned with 64K boundary

Affected files ...

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


[ROCm/clr commit: db94c3fb66]
2016-01-18 17:19:01 -05:00
foreman db82528d6f P4 to Git Change 1228237 by skudchad@skudchad_test_win_opencl2 on 2016/01/15 22:24:47
SWDEV-77172 - Back out changelist 1228194

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#221 edit


[ROCm/clr commit: e84d8eb04d]
2016-01-15 22:32:16 -05:00
foreman 478b6ed8ae P4 to Git Change 1228194 by skudchad@skudchad_test_win_opencl2 on 2016/01/15 17:13:28
SWDEV-77172 - Choose isa handle on CZ based on whether SVM is supported or not as SVM may need additional SC Options to be passed as default.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#220 edit


[ROCm/clr commit: 3345a97263]
2016-01-15 17:23:45 -05:00
foreman 62c3e09963 P4 to Git Change 1228137 by wchau@wchau_WIN_OCL_HSA on 2016/01/15 14:53:24
SWDEV-79308 - Back out changelist 1228064

Affected files ...

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


[ROCm/clr commit: 01dda0e716]
2016-01-15 15:04:14 -05:00
foreman 90b40c60e1 P4 to Git Change 1228064 by wchau@wchau_WIN_OCL_HSA on 2016/01/15 11:18:23
SWDEV-79308 -  Resubmit of CL1226881 with the fix of the SC sanity check issue.  Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer
	size exceeds the available local memory.

Affected files ...

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


[ROCm/clr commit: 685d1164ee]
2016-01-15 11:26:41 -05:00
foreman acb167fa01 P4 to Git Change 1227495 by skudchad@skudchad_test_win_opencl2 on 2016/01/13 18:12:59
SWDEV-77172 - Disable ThreadTrace on SVM as its causing hang until a solution can be found.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#341 edit


[ROCm/clr commit: ec51f85c8e]
2016-01-13 18:18:51 -05:00
foreman bce32b5c9b P4 to Git Change 1226990 by johtaylo@johtaylo_L7_stg on 2016/01/12 17:44:18
SWDEV-79308 -  Back out changelist 1226881

	Causes failures in execution model, math and pipes

	http://ocltc.amd.com:8111/viewLog.html?buildId=14142599&tab=buildResultsDiv&buildTypeId=TestsOpenCLScSanity_BonaireConformanceWin764bit

	Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer
	size exceeds the available local memory.

Affected files ...

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


[ROCm/clr commit: e66e70e316]
2016-01-12 17:51:14 -05:00
foreman 1f7bf42d03 P4 to Git Change 1226881 by wchau@wchau_WIN_OCL_HSA on 2016/01/12 14:03:39
SWDEV-79308 -  Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer
	size exceeds the available local memory.

Affected files ...

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


[ROCm/clr commit: a319c0e35c]
2016-01-12 14:11:46 -05:00
foreman ae8bbd60ae P4 to Git Change 1226780 by nhaustov@nhaustov_hsa on 2016/01/12 07:20:04
SWDEV-77584 - ORCA RT/Compiler Lib: Add 8:0:4, 8:1:0 and 9:0:1 compute capabilities.

	Changes by Evgeniy Mankov.

	Also cherry-pick CL 1226741 for 8:1:0 compute capability.

	Testing: smoke, pre-checkin

	[Reviewers] Nikolay Haustov, German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/finalizer/program.cpp#20 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.cpp#7 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.hpp#7 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/tests/tlst/finalizer_offline.tlst#15 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#131 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#219 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#63 edit


[ROCm/clr commit: 6a0e72acc5]
2016-01-12 07:27:39 -05:00
foreman cee266b2d8 P4 to Git Change 1226078 by rili@rili_opencl_stg on 2016/01/08 15:03:58
SWDEV-84309 - Using agpMemAvailableCacheableBytes instead of agpMemAvailableBytes when calculating free memory for viPlus_ apu.
	                         When memory allocation is in system memory, only agpMemAvailableCacheableBytes is changed

Affected files ...

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


[ROCm/clr commit: bc822d60d1]
2016-01-08 15:16:55 -05:00
foreman f61e431566 P4 to Git Change 1223703 by nhaustov@nhaustov_hsa on 2015/12/28 05:46:00
SWDEV-77584 - Fix ocl_conformance compiler failures.

	1. If compiling in debug mode, linkImpl wasn't called and kernelNames wasn't set
	which led to CL_INVALID_KERNEL_NAME errors in debug configs in TeamCity. Looking at AMDIL
	code, there is no reason to skip linkImpl in debug mode.

	2. Set types to TYPE_LIBRARY/TYPE_EXECUTABLE. This fixes ocl_conformance compiler program_binary_type.

	Reviewed by: Evgeniy Mankov
	Testing: smoke, pre-checkin, OCLSeparateCompile.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#218 edit


[ROCm/clr commit: b4f5366fe4]
2015-12-28 05:53:39 -05:00
foreman 85dc174129 P4 to Git Change 1223278 by wchau@wchau_WIN_OCL_HSA on 2015/12/23 15:37:26
SWDEV-66693 - OpenCL Runtime HW Debug support development - use flag, instead of getenv() call, in IOL to indicate the enablement of HW Debug.

Affected files ...

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


[ROCm/clr commit: f15514da95]
2015-12-23 15:47:22 -05:00
foreman 89c35aba85 P4 to Git Change 1223026 by skudchad@skudchad_test_win_opencl2 on 2015/12/22 18:08:38
SWDEV-77172 - IOMMUv2 changes for Windows 10
	- Enable DX interop for SVM

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#340 edit


[ROCm/clr commit: ef2a00d6ce]
2015-12-22 18:15:46 -05:00
foreman a8c8c20cd1 P4 to Git Change 1221147 by ashi1@ashi1_win50 on 2015/12/15 15:58:09
SWDEV-83467 - [SPIRV] Add support of SPIRV to CPU
	Modifying runtime and compile time to allow SPIRV binaries to run on CPU since it only runs on HSAIL GPU
	Added changes to allow conversion of CPU's llvmBinaryIsSpir boolean into compiler library's oclElfSections enum
	Cpuprogram.cpp's llvmBinaryIsSpir flag renamed to elfSectionType will now support LLVMIR, SPIR, and SPIRV
	Added SPIRV to compiler lib's elf as new oclElfSections enum
	cpuprogram.cpp changes also made to gpuprogram.cpp's NullProgram to allow compilation

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuprogram.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#191 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#266 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#152 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#217 edit


[ROCm/clr commit: 26be053088]
2015-12-15 16:09:35 -05:00
foreman 9a0de9075c P4 to Git Change 1221023 by yaxunl@yaxunl_stg_win50 on 2015/12/15 12:50:27
SWDEV-83705 - [SPIRV] Refactor aclUpdateRawFile as a static function called by SPIRVToModule.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#88 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/acl.h#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#216 edit


[ROCm/clr commit: 4df676dc36]
2015-12-15 13:07:52 -05:00
foreman a3dfe7e457 P4 to Git Change 1220218 by yaxunl@yaxunl_stg_win50 on 2015/12/11 16:35:30
SWDEV-83705 - [SPIRV] Fix failure in SPIR-V conformance test compile_and_link.

	e_rawfile of elf needs to be updated after LLVM section is inserted into the elf containing SPIR-V.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#87 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/acl.h#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#215 edit


[ROCm/clr commit: f5acde74f7]
2015-12-11 16:46:21 -05:00
foreman 2002249db8 P4 to Git Change 1219975 by fdaniil@spb_fdaniil_amd_hsa_brigvar_test on 2015/12/11 08:44:02
SWDEV-77584 - enable cl_khr_int64_base_atomics extension in 32bit HSAIL compiler - it's already supported. the extension used in OpenMM library and FAHBench.

	significantly reduces perfomance drop in bug 11198 http://ocltc.amd.com/bugs/show_bug.cgi?id=11198

	http://ocltc.amd.com/reviews/r/9223/

	reviewer: German Andryeyev
	testing: smoke, precheckin

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#339 edit


[ROCm/clr commit: 157116503e]
2015-12-11 08:51:00 -05:00
foreman 1b97e1b14f 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


[ROCm/clr commit: 9b2fc7a77e]
2015-12-10 14:27:54 -05:00
foreman 085b138a47 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


[ROCm/clr commit: 05ac0307b7]
2015-12-04 16:43:59 -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 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 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 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 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