Wykres commitów

430 Commity

Autor SHA1 Wiadomość Data
foreman c484ae9061 P4 to Git Change 1261640 by gandryey@gera-w8 on 2016/04/25 18:21:12
SWDEV-90482 - [Afterswitch] Interop from OpenGL to OpenCL is broken in one driver and crashes in another
	- Make sure SRD resource is reported to OS if program contains static samplers

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#314 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#67 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#4 edit
2016-04-25 18:36:37 -04:00
foreman 6569fba06d P4 to Git Change 1258779 by gandryey@gera-ocl on 2016/04/15 19:16:15
SWDEV-92245 - [CQE OCL][QR][G] Multiple 32/64 bit Bolt sample crashes on all CPUs. FaultyCL#1257532
	- Bolt calls map/unmap with the same region twice. Add a counter for the same region to track that case

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#195 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#272 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#401 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#6 edit
2016-04-15 19:22:30 -04:00
foreman 511fd5a36a P4 to Git Change 1258240 by gandryey@gera-ocl on 2016/04/14 19:21:55
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix TC failures. Clean unmap info after runtime gets the mip

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#400 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#5 edit
2016-04-14 19:33:16 -04:00
foreman b0631f7ab9 P4 to Git Change 1257532 by gandryey@gera-ocl on 2016/04/13 13:18:22
SWDEV-92049 - Forum [2712399]: clEnqueueMapBuffer in parallel
	- Handle multiple unmapInfo structures of multiple simultaneous maps of the same buffer
	- The change didn't affect images path, since it requires extra handling

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#79 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#194 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#271 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#126 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#399 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#82 edit
2016-04-13 13:27:37 -04:00
foreman 5ef411d5dd P4 to Git Change 1257129 by weizhang@weizhang-lnx-opencl on 2016/04/12 15:33:15
SWDEV-78299 - Re-submit CL#1236441.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#545 edit
2016-04-12 15:46:44 -04:00
foreman 4f81a5ef7d P4 to Git Change 1256021 by cpaquot@hog-ocl on 2016/04/08 15:41:06
SWDEV-90482 - [Afterswitch] Interop from OpenGL to OpenCL is broken in one driver and crashes in another
	Fixed the crash by restoring the order where we bind the external device.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#544 edit
2016-04-08 15:51:49 -04:00
foreman cad5ba5387 P4 to Git Change 1255001 by xcui@merged_opencl_jxcwin on 2016/04/06 12:00:30
SWDEV-90677 - disable SVM 32 bit support for VI+ asic for windows, due to the KMD feature limitation.
	code review:
	http://ocltc.amd.com/reviews/r/10153/
	precheckin:
	http://ocltc.amd.com:8111/viewModification.html?modId=69277&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#344 edit
2016-04-06 12:34:13 -04:00
foreman 8756fa14cb P4 to Git Change 1254144 by gandryey@gera-rcf-lnx on 2016/04/04 11:14:17
SWDEV-79445 - OCL generic changes and code clean-up
	- Move prepinned logic to the abstraciton layer

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#193 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#270 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#543 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#158 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#398 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.hpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#3 edit
2016-04-04 11:25:36 -04:00
foreman 4b7a3bd5b4 P4 to Git Change 1252764 by jatang@jatang-opencl-hsa-stg1 on 2016/03/30 10:16:09
SWDEV-86378 -  Apply the sDMA L2T work-around to T2L as well.

	HW confirms T2L also has issues.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#164 edit
2016-03-30 10:21:54 -04:00
foreman da83b6bcd7 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
2016-03-24 16:51:03 -04:00
foreman 5e7eb30dd7 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
2016-03-24 12:15:44 -04:00
foreman 76a96b7f06 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
2016-03-22 15:19:12 -04:00
foreman c0d9192ab0 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
2016-03-22 09:38:40 -04:00
foreman 3f6cc5b851 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
2016-03-21 17:40:05 -04:00
foreman c33a49c7f6 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
2016-03-15 11:10:14 -04:00
foreman 269f599f85 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
2016-03-10 15:21:20 -05:00
foreman 08721493fa 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
2016-03-08 14:51:18 -05:00
foreman fd2bcde17e 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
2016-03-03 14:08:00 -05:00
foreman b646548235 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
2016-03-02 12:18:01 -05:00
foreman 1cb5415538 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
2016-02-23 07:57:16 -05:00
foreman 01f19b6043 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
2016-02-22 17:03:42 -05:00
foreman e5635ffbe4 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
2016-02-17 13:40:22 -05:00
foreman fffbe5bb3b 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
2016-02-11 22:20:56 -05:00
foreman 31c030ff18 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
2016-02-11 12:41:22 -05:00
foreman c16578eb71 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
2016-02-11 11:49:08 -05:00
foreman 45715f0c48 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
2016-02-09 17:25:20 -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 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
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
foreman bd54838ca7 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
2016-02-02 20:52:50 -05:00
foreman 434a3ff361 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
2016-01-29 14:39:05 -05:00
foreman f009f13ac4 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
2016-01-28 16:02:41 -05:00
foreman 4ad4539710 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
2016-01-27 12:28:37 -05:00
foreman 80ab916a5b 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
2016-01-27 11:36:07 -05:00
foreman 14179df14f 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
2016-01-19 14:31:59 -05:00
foreman db94c3fb66 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
2016-01-18 17:19:01 -05:00
foreman e84d8eb04d 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
2016-01-15 22:32:16 -05:00
foreman 3345a97263 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
2016-01-15 17:23:45 -05:00
foreman 01dda0e716 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
2016-01-15 15:04:14 -05:00
foreman 685d1164ee 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
2016-01-15 11:26:41 -05:00
foreman ec51f85c8e 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
2016-01-13 18:18:51 -05:00
foreman e66e70e316 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
2016-01-12 17:51:14 -05:00
foreman a319c0e35c 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
2016-01-12 14:11:46 -05:00
foreman 6a0e72acc5 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
2016-01-12 07:27:39 -05:00
foreman bc822d60d1 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
2016-01-08 15:16:55 -05:00
foreman b4f5366fe4 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
2015-12-28 05:53:39 -05:00
foreman f15514da95 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
2015-12-23 15:47:22 -05:00
foreman ef2a00d6ce 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
2015-12-22 18:15:46 -05:00
foreman 26be053088 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
2015-12-15 16:09:35 -05:00
foreman 4df676dc36 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
2015-12-15 13:07:52 -05:00