Commit-Graf

1294 Incheckningar

Upphovsman SHA1 Meddelande Datum
foreman 803bb39eba P4 to Git Change 1742993 by jujiang@JJ-OCL-w8 on 2019/02/12 15:51:01
SWDEV-169154 - Implement OpenCL extension function to set stable pstate on ORCA stack

	-Add StablePstate feature in Orca stack

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#603 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#186 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#65 edit
2019-02-12 16:24:30 -05:00
foreman 4a34477357 P4 to Git Change 1742837 by gandryey@gera-w8 on 2019/02/12 11:31:08
SWDEV-79445 - OCL generic changes and code clean-up
	- Add navi14 support

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbedefs#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#67 edit
2019-02-12 11:57:01 -05:00
foreman 1fa47a7398 P4 to Git Change 1740048 by wchau@wchau_OCL_Linux on 2019/02/05 14:10:40
SWDEV-134107 - Add support for respecting target's xnack setting
	- Enable the XNACK feature for all the APU system and remove the xnackEnabled_ field in AMDDeviceInfo struct

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#332 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#116 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#41 edit
2019-02-05 14:44:09 -05:00
foreman bd269026e4 P4 to Git Change 1739728 by jatang@jatang_win_pal_lc on 2019/02/04 16:58:16
SWDEV-178313 - Properly enable OpenCL 2.0 on ROCm/LC path for Vega10+.

	OPENCL_VERSION_STR is 2.1, but we only enable 2.0 since we don't have compiler's support for 2.1.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#115 edit
2019-02-04 17:48:08 -05:00
foreman ff1165efe8 P4 to Git Change 1739455 by jatang@jatang_win_pal_lc on 2019/02/04 09:39:34
SWDEV-178313 - Enable OpenCL 2.0 on ROCm/LC path for Vega10+

	Doorbell self-ring doesn't work for Fiji, so we enable 2.0 only for Vega10+ for now.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#114 edit
2019-02-04 09:53:26 -05:00
foreman c33c249cf1 P4 to Git Change 1739436 by asalmanp@asalmanp-ocl-stg on 2019/02/04 07:47:06
SWDEV-178459 - Navi10 Regression in driver builds with OpenCL v2811.3 causing issues with several OpenCL apps and workloads

	Switch to Wave64 for HSAIL/SC path for now as the Wave32 in HSAIL/SC path causes multiple regressions and some OCL apps cannot be run

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#66 edit
2019-02-04 08:00:12 -05:00
foreman b82c92dbc7 P4 to Git Change 1739393 by kzhuravl@kzhuravl-fiji-ocllc-2 on 2019/02/03 16:46:26
SWDEV-178312 - Clean pre-GCN references

	Change by Roland Ouellette

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/api/v0_8/aclKstatsr800.cpp#4 delete
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/amdil_be.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/7XX/devState7XX.cpp#4 delete
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/7XX/devState7XX.h#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/7XX/scCompile7XX.cpp#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/7XX/scCompile7XX.h#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/7XX/scState7XX.cpp#4 delete
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/7XX/scState7XX.h#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/EGNI/devStateEGNI.cpp#4 delete
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/EGNI/devStateEGNI.h#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/EGNI/scCompile89.cpp#6 delete
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/EGNI/scCompile89.h#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/EGNI/scStateEGNI.cpp#4 delete
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/EGNI/scStateEGNI.h#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/devState.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/scCompile789.cpp#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/scCompile789.h#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/scCompileBase.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/scState.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/scState.h#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/include/v0_8/acl.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/libUtils.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/aclKstatsr800.cpp#4 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/amdil_be.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/acl.h#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#335 edit
2019-02-03 16:55:44 -05:00
foreman 48b5ff4600 P4 to Git Change 1738443 by gandryey@gera-w8 on 2019/01/31 14:38:27
SWDEV-79445 - OCL generic changes and code clean-up
	- Clean-up suppressing message box logic

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#602 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#124 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/runtime.cpp#39 edit
2019-01-31 15:46:34 -05:00
foreman b2cae3e13c P4 to Git Change 1737734 by wchau@wchau_OCL_boltzmann on 2019/01/30 12:02:36
SWDEV-172504 - [PAL/LC] OpenCL PAL Runtime does not support new isa naming convention
	- Using new isa naming convention in ORCA path

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#154 edit
2019-01-30 12:48:31 -05:00
foreman 13323b876e P4 to Git Change 1737265 by skudchad@skudchad_test2_win_opencl on 2019/01/29 16:13:19
SWDEV-145570 - [HIP] - Fix maxThreadsPerStreamProcessor info parameter for HIP-VDI

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#331 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#601 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#123 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#113 edit
2019-01-29 17:33:39 -05:00
foreman a17f3e34dc P4 to Git Change 1736033 by kjayapra@9_HIPWS_IPCCHKIN on 2019/01/25 17:44:48
SWDEV-145570 - IPC Mem Handle Changes for HIP.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#330 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#112 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#108 edit
2019-01-25 19:18:53 -05:00
foreman e07adc287f P4 to Git Change 1735485 by marsenau@marsenau-fiji on 2019/01/24 20:39:56
SWDEV-127767 - Don't guess at the suffix for the device libraries

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#18 edit
2019-01-24 20:51:42 -05:00
foreman 02c5d38cb9 P4 to Git Change 1732709 by gandryey@gera-w8 on 2019/01/18 14:18:03
SWDEV-79445 - OCL generic changes and code clean-up
	- Add  101010 GL interop formats mapping into CL_RGBA. The change will make sure the channel order consistency between OGL and OCL

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#47 edit
2019-01-18 14:41:37 -05:00
foreman bd3af873ec P4 to Git Change 1732253 by asalmanp@asalmanp-ocl-stg on 2019/01/17 21:45:23
SWDEV-132899 - [OCL][GFX10] 70 subtests of Conformance Mipmaps (clCopyImage) test failed for image type 1Darray
	This is the follow up for CL#1517501

	copyImage1DA blit kernel uses image2d_array_t type for src/dst images. On gx10, num of arrays/layers is expected in Z component for a 2Darray image so a swap is required for 1Darray images when we use 2Darray image for the image copy. The copyImage1DA has code for swapping z and y components as follows:

	if (srcOrigin.w != 0) {
	coordsSrc.z = coordsSrc.y;
	coordsSrc.y = 0;
	}
	if (dstOrigin.w != 0) {
	coordsDst.z = coordsDst.y;
	coordsDst.y = 0;
	}

	So to use this path force the w component to 1 for src and dst images on gfx10 if image type is 1Darray.

	ReviewRequestURL = http://ocltc.amd.com/reviews/r/16538/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#28 edit
2019-01-17 22:11:38 -05:00
foreman aab00a26bc P4 to Git Change 1732177 by gandryey@gera-w8 on 2019/01/17 18:08:26
SWDEV-174282 - [AMF] WIN10 Converter fails when scale YUY2 image with certain output width
	- When OCL creates an image view use the pitch value from the original surface

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#185 edit
2019-01-17 18:33:10 -05:00
foreman aa3989dcd0 P4 to Git Change 1732168 by jatang@jatang_win_pal_lc on 2019/01/17 17:58:53
SWDEV-172202 - Workaround the scheduler for systems don't support PCIe 3 atomics properly.

	The idea is the scheduler uses a device side global as write_index, and only write the write_index back to the hsa queue when the last thread of the scheduler leaves.

	This change along with the library side change have been tested on systems with or without proper PCIe 3 atomics support.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsched.hpp#2 edit
2019-01-17 18:20:24 -05:00
foreman dc3e9a916d P4 to Git Change 1732008 by wchau@wchau_OCL_boltzmann on 2019/01/17 13:33:23
SWDEV-162389 - OpenCL Support for COMgr
	- added the machineTargetLC_ values, which was introduced in CL1702548, for Carrizo and Hawaii
	- requested by Joseph Greathouse for public users (https://github.com/RadeonOpenCompute/ROCm/issues/668)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#22 edit
2019-01-17 15:20:06 -05:00
foreman 1210448dd2 P4 to Git Change 1731224 by jatang@jatang_win_pal_lc on 2019/01/16 10:40:44
SWDEV-172202 - Back out changelist 1730757.

	Failure in OCLDynamic tests in various TC Sanity tests.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#111 edit
2019-01-16 11:32:33 -05:00
foreman 8f937aef7c P4 to Git Change 1730757 by jatang@jatang_win_pal_lc on 2019/01/15 15:41:42
SWDEV-172202 - Enable OpenCL 2.0 when PCIe Gen3 atomics is support.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#110 edit
2019-01-15 16:36:10 -05:00
foreman 697a5c68ca P4 to Git Change 1727393 by gandryey@gera-w8 on 2019/01/08 11:35:08
SWDEV-79445 - OCL generic changes and code clean-up
	- Allow LC to execute 64bit GPU binaries with 32 bit OCL runtime.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#122 edit
2019-01-08 12:13:48 -05:00
foreman e631b3978f P4 to Git Change 1727059 by asalmanp@asalmanp-ocl-stg on 2019/01/07 17:48:44
SWDEV-132899 - [OCL][GFX10] report number of WGP by default on gfx10 ASICs
	Both HSAIL/SC and LC compilers use WGP mode by default on gfx10 ASICs (i.e., COMPUTE_PGM_RSRC1.WGP_MODE is set to 1 by both compilers) therefore runtime should report number of WGP (i.e., CU/2) on gfx10 ASICs by default.
	The new environment variable (GPU_ENABLE_WGP_MODE = 0)  can be used to force CU mode on LC (i.e., -mcumode option) if it’s needed (HSAIL/SC doesn't have any compiler option for forcing the CU mode)

	Also, using the new environment variable (GPU_ENABLE_WAVE32_MODE) to control the wave32 mode on gfx10+.

	ReviewRequestURL = http://ocltc.amd.com/reviews/r/16435/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#329 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#121 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#301 edit
2019-01-07 18:02:10 -05:00
foreman 915c3da749 P4 to Git Change 1726489 by kjayapra@3_HIPWS_hmc2Dfix on 2019/01/04 19:36:57
SWDEV-145570 - Changing the SRC and DST pointer in hsa_amd_memory_async_copy_rect.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#28 edit
2019-01-04 19:44:36 -05:00
foreman 2b92421194 P4 to Git Change 1726335 by wchau@wchau_OCL_boltzmann on 2019/01/04 14:53:36
SWDEV-174898 - OCL Runtime kernel metadata lookup requires quadratic time

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#76 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#49 edit
2019-01-04 15:06:29 -05:00
foreman c65248d5a8 P4 to Git Change 1725828 by gandryey@gera-w8 on 2019/01/03 16:12:42
SWDEV-79445 - OCL generic changes and code clean-up
	- Add IS_LIGHTNING check for the rocr initialization, because currently for LC builds GPU_ENABLE_PAL is forced to 1.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#241 edit
2019-01-03 17:08:34 -05:00
foreman 0a5b58ddec P4 to Git Change 1725771 by gandryey@gera-w8 on 2019/01/03 14:33:02
SWDEV-79445 - OCL generic changes and code clean-up
	- Allow ROCr and PAL support from a single runtime binary. Runtime will use ROCr path by default with GPU_ENABLE_PAL=1 forcing PAL.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#183 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#240 edit
2019-01-03 14:48:40 -05:00
foreman 63a1a63a75 P4 to Git Change 1725623 by gandryey@gera-w8 on 2019/01/03 10:32:08
SWDEV-79445 - OCL generic changes and code clean-up
	- Chnage the scope of SchedulerSourceCode variable

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#109 edit
2019-01-03 11:02:36 -05:00
foreman 9b98cc97e6 P4 to Git Change 1725283 by gandryey@gera-lnx-rcf on 2019/01/02 19:03:17
SWDEV-79445 - OCL generic changes and code clean-up
	- Keep the body of all methods in the Program interface

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#44 edit
2019-01-02 19:27:19 -05:00
foreman ad54eb030b P4 to Git Change 1725257 by gandryey@gera-w8 on 2019/01/02 17:28:57
SWDEV-79445 - OCL generic changes and code clean-up
	- Move the constructor body of LightningProgram to the header

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#96 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#43 edit
2019-01-02 18:29:04 -05:00
foreman 01710a66ac P4 to Git Change 1725166 by gandryey@gera-w8 on 2019/01/02 15:41:59
SWDEV-79445 - OCL generic changes and code clean-up
	- Add dynamic switch between HSAIL and LC in ROCr path

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#108 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#95 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#71 edit
2019-01-02 16:03:55 -05:00
foreman 77c9dda5ba P4 to Git Change 1725088 by wchau@wchau_OCL_boltzmann on 2019/01/02 13:45:33
SWDEV-175381 - OCL Runtime produces invalid names for bitcode data objects

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#25 edit
2019-01-02 14:22:04 -05:00
foreman b1b2b85d8a P4 to Git Change 1723669 by kzhuravl@kzhuravl-fiji-ocllc-2 on 2018/12/23 13:22:07
SWDEV-173685 - Fix retrieval of required work group size metadata

	Pre-checkin: http://ocltc.amd.com:8111/viewModification.html?modId=113287&personal=true&init=1&tab=vcsModificationBuilds
	Review: http://ocltc.amd.com/reviews/r/16377/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#12 edit
2018-12-23 13:33:47 -05:00
foreman 0b238e4420 P4 to Git Change 1723529 by lmoriche@lmoriche_opencl_dev2 on 2018/12/21 14:55:55
SWDEV-174895 - OCL generic changes and code clean-up
	- Rename the AMDGCN builtins libraries to be compatible with comgr.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/comgr/lib/comgr/src/comgr-device-libs.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#17 edit
2018-12-21 15:24:27 -05:00
foreman 8d9283fd5d P4 to Git Change 1723115 by gandryey@gera-w8 on 2018/12/20 15:12:36
SWDEV-174551 - [CQE OCL][QR][DTB-Blocker] 7 tests are failing in Conformance | Faulty CL#1720236
	- Back out changelist 1720236. Conformance swaps RGB to BGR components  and fails if real RGB is used. OCL can't switch to RGB until a fix into the conformance tests will be applied.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#46 edit
2018-12-20 16:19:39 -05:00
foreman 6f129de758 P4 to Git Change 1722999 by gandryey@gera-w8 on 2018/12/20 12:07:51
SWDEV-79445 - OCL generic changes and code clean-up
	- Use dynamic LC switch for denorms

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#64 edit
2018-12-20 12:37:44 -05:00
foreman 172e8b7e89 P4 to Git Change 1722571 by gandryey@gera-w8 on 2018/12/19 16:37:51
SWDEV-79445 - Back out changelist 1722556
	- More changes are necessary on ROCm backend to support a dynamic switch between HSAIL and LC

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#107 edit
2018-12-19 17:18:55 -05:00
foreman 908d6f0ad0 P4 to Git Change 1722556 by gandryey@gera-w8 on 2018/12/19 16:17:02
SWDEV-79445 - OCL generic changes and code clean-up
	- Change the compilation path base on variable

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#106 edit
2018-12-19 16:49:05 -05:00
foreman c8cd6e607e P4 to Git Change 1722452 by skudchad@skudchad_test2_win_opencl on 2018/12/19 13:24:25
SWDEV-145570 - Use Subwindow copy SDMA for D->H and H->D copies if possible or fall back to linebyline copies if unalinged pitch.
	- Set correct flags for SVM finegrain buffer for ROC backend

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#41 edit
2018-12-19 13:46:12 -05:00
foreman e40b93484f P4 to Git Change 1721185 by wchau@wchau_OCL_boltzmann on 2018/12/17 13:43:56
SWDEV-162389 - OpenCL Support for COMgr
	- fixing bug of using incorrect included header file name

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#23 edit
2018-12-17 14:02:16 -05:00
foreman 70e36f8299 P4 to Git Change 1720794 by wchau@wchau_OCL_boltzmann on 2018/12/14 23:45:05
SWDEV-79445 - OCL generic changes and code clean-up
	- Allow ROCM build within the same workspace as PAL. Please note that ROCM defualt path in this case  will be HSAIL.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#105 edit
2018-12-14 23:58:11 -05:00
foreman 3b75ae4ff0 P4 to Git Change 1720436 by asalmanp@asalmanp-ocl-stg on 2018/12/14 10:27:28
SWDEV-132899 - [OCL][GFX10] correctly set the wavefrontWidth_ for gfx10.
	PAL reprots 64 for wavefrontSize so set it to 32 if the below conditions are met:
	1- if we are in HSAIL path and GPU_FORCE_WAVE_SIZE_32 is set
	2- or if we are in LC path andAsic is Navi10Plus

	ReviewRequestURL = http://ocltc.amd.com/reviews/r/16329/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#120 edit
2018-12-14 10:44:43 -05:00
foreman 57f2e64df3 P4 to Git Change 1720254 by wchau@wchau_OCL_boltzmann on 2018/12/13 20:24:53
SWDEV-162389 - OpenCL Support for COMgr
	- fixing two bugs that (1) destroying an non-existant comgr object, (2) missing "+xnack" in target triple for Raven

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#47 edit
2018-12-13 20:36:31 -05:00
foreman f874108c45 P4 to Git Change 1720236 by gandryey@gera-w8 on 2018/12/13 18:07:26
SWDEV-172784 - No Video playback while 10 bit pixel format is enable
	- Correct the channel's order for RGB10

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#45 edit
2018-12-13 18:38:40 -05:00
foreman 4220039a82 P4 to Git Change 1720181 by gandryey@gera-w8 on 2018/12/13 16:49:07
SWDEV-79445 - COMGR update
	- Use full names for dll/lib load, since not all paths in loadLibrary() can recognize short names.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/comgrctx.cpp#2 edit
2018-12-13 17:06:43 -05:00
foreman f33100cf45 P4 to Git Change 1720088 by gandryey@gera-w8 on 2018/12/13 14:29:40
SWDEV-162389 - Switch to dynamic COMGR load

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#181 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#240 edit
... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#78 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/comgrctx.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/comgrctx.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#239 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#328 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#119 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#104 edit
2018-12-13 15:22:06 -05:00
foreman af97ec86ad P4 to Git Change 1719658 by wchau@wchau_OCL_boltzmann on 2018/12/12 22:34:36
SWDEV-174198 - OpenCL Runtime Support for MI100 BU in ROCM

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#103 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#50 edit
2018-12-12 23:38:10 -05:00
foreman f9b6ad6449 P4 to Git Change 1719466 by wchau@wchau_OCL_boltzmann on 2018/12/12 15:42:59
SWDEV-169078 - Also copy  private_segment_size/group_segment_size to runtime handle for COMgr support

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#46 edit
2018-12-12 15:53:41 -05:00
foreman 9be10558eb P4 to Git Change 1719380 by gandryey@gera-ocl-lc on 2018/12/12 13:37:56
SWDEV-79445 - OCL generic changes and code clean-up
	- Reenable some options in the compilation code.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#20 edit
2018-12-12 13:48:23 -05:00
foreman 8f175b9097 P4 to Git Change 1718359 by wchau@wchau_OCL_boltzmann on 2018/12/10 15:59:00
SWDEV-162389 - OpenCL Support for COMgr
	- fixed memory leak in Kernel::GetKernelMetadata()

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#15 edit
2018-12-10 16:20:57 -05:00
foreman e643f0bc00 P4 to Git Change 1718337 by gandryey@gera-w8 on 2018/12/10 15:30:30
SWDEV-162389 - Prepare the runtime code for enabling COMGR by default in the non-LC workspace
	- Make sure OCL runtime can dynamically switch between HSAIL and LC paths
	- For now use the both WITH_LIGHTNING_COMPILER and USE_COMGR_LIBRARY defines to identify LC specific code. The clean-up will come later

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#179 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#238 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#327 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#249 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#118 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#85 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#101 edit
2018-12-10 15:49:24 -05:00
foreman fd43c4fbfd P4 to Git Change 1717849 by gandryey@gera-w8 on 2018/12/07 18:26:42
SWDEV-162389 - Back out changelist 1717839 due to a weird link error in LiquidFlash for LC Windows build only

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#237 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#326 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#248 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#117 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#100 edit
2018-12-07 18:41:56 -05:00