Commit Graph

1044 Commits

Author SHA1 Message Date
foreman 65d45c6230 P4 to Git Change 1533991 by gandryey@gera-w8 on 2018/03/28 17:07:37
SWDEV-149178 - [CQE OCL][DTB-BLOCKER][RS4][WF][QR]observed failures while running samplers test due to faulty CL#1529531
	- Image alignment requirement could be different from the original buffer chunk alignment and that could cause a failure on the final address alignment. Use fragment size alignment for the chunk and protect suballocations from possible alignment mismatch

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#58 edit


[ROCm/clr commit: 2777b013bd]
2018-03-28 17:22:48 -04:00
foreman 9bcdb4aa73 P4 to Git Change 1533784 by vsytchen@vsytchen-ocl-win10 on 2018/03/28 11:22:25
SWDEV-133818 - PAL support for Linux Pro: Coarse Grain SVM for OpenCL 2.0

	This change enables Fine/Coarse Grain Buffer SVM suballocations for PAL devices

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.hpp#28 edit


[ROCm/clr commit: 3d15c543a0]
2018-03-28 11:35:51 -04:00
foreman 11d44f103c P4 to Git Change 1533139 by todli@todli-win-opencl-kv1 on 2018/03/27 15:01:15
SWDEV-147368 - Choose proper engine for markerWrite to SDI ExternalPhysical Memory according to last copy engine

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#80 edit


[ROCm/clr commit: 0f6d9fea87]
2018-03-27 15:17:14 -04:00
foreman a2702e2b62 P4 to Git Change 1532495 by gandryey@gera-w8 on 2018/03/26 16:38:22
SWDEV-149153 - [CQE OCL][Vega10][PAL][QR][DTB-Blocker] 2.0 WF Conformance - Images(Samplerless) tests fails on Vega10 LnxPro on PAL/HSAIL path | Faulty PAL/HSAIL CL#1527848
	- Add the original memory offset when image from buffer is created.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#56 edit


[ROCm/clr commit: fc0fecd2ea]
2018-03-26 16:45:16 -04:00
foreman 4e75880b8e P4 to Git Change 1532400 by emankov@em-hsa on 2018/03/26 13:44:26
SWDEV-143465 - Stop building static C++ kernels on CI+

	Changed legacy HSAIL/AMDIL stack logic:
	    1. Stop supporting AMDIL on CI+ devices: "AMDIL doesn't support device ..." will be reported.
	    2. Stop handling OpenCL extension options in RT: if "-x spir" or "-x clc++" option is specified, it wouldn't force legacy AMDIL compiler anymore.
	    3. Start reporting error on "-legacy" option in HSAIL compiler. If we reach HSAIL compiler, then it means that there are conflicting options. Report them all, possible options are: -frontend=edg, -cl-std=CL2.0 (>= 2.0), -binary_is_spirv.

	Already submitted changes in stack logic:
	    1. Start reporting error for SI devices on HSAIL path.
	    2. Start handling OpenCL extension options on HSAIL path: report error on "-x spir" or "-x clc++" options.

	[testing] http://ocltc.amd.com:8111/viewModification.html?modId=99901&personal=true&tab=vcsModificationBuilds

	[reviewed] by Stas and German: http://ocltc.amd.com/reviews/r/14270

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/v0_8/if_acl.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#99 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#586 edit


[ROCm/clr commit: 3876272309]
2018-03-26 13:50:18 -04:00
foreman 5c9b0a7542 P4 to Git Change 1531829 by gandryey@gera-w8 on 2018/03/23 18:34:36
SWDEV-79445 - OCL generic changes and code clean-up
	- Implement ConstantBuffer management through a single managed buffer. It reduces the amount of allocated buffers on GPU

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#79 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#44 edit


[ROCm/clr commit: 73b44b613b]
2018-03-23 18:41:23 -04:00
foreman ec2434cb2a P4 to Git Change 1531579 by gandryey@gera-lnx-rcf on 2018/03/23 14:37:00
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove static from the template to fix gcc compilation

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#47 edit


[ROCm/clr commit: 1d513806a5]
2018-03-23 14:45:37 -04:00
foreman 196881072d P4 to Git Change 1531530 by gandryey@gera-w8 on 2018/03/23 13:45:11
SWDEV-79445 - OCL generic changes and code clean-up
	- Add explicit type specialization for AQL copy types to avoid memcpy() calls in the most of cases
	- Increase size of sysmem copy for constants buffers to account the internal arguments

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#46 edit


[ROCm/clr commit: 62a00d336e]
2018-03-23 14:12:49 -04:00
foreman 1b21e4295b P4 to Git Change 1531403 by wchau@wchau_OCL_boltzmann on 2018/03/23 10:07:08
SWDEV-134107 - Add support for respecting target's xnack setting
	- Port Konstantin's change of "Bring naming o par with the spec" in git (Change 139283)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#85 edit


[ROCm/clr commit: 6002477091]
2018-03-23 11:01:31 -04:00
foreman e5a20cfaa0 P4 to Git Change 1530996 by gandryey@gera-w8 on 2018/03/22 18:11:14
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove obsolete assert

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#55 edit


[ROCm/clr commit: d6589a93b2]
2018-03-22 18:18:21 -04:00
foreman 9ffcae9450 P4 to Git Change 1530988 by gandryey@gera-w8 on 2018/03/22 17:50:10
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove renames support from the Resource object.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#47 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#17 edit


[ROCm/clr commit: ace31f6a11]
2018-03-22 17:58:21 -04:00
foreman 4483184e8b P4 to Git Change 1530960 by gandryey@gera-lnx-rcf on 2018/03/22 17:07:41
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix Linux build

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#4 edit


[ROCm/clr commit: dff8a2764c]
2018-03-22 17:18:49 -04:00
foreman 06c6754f72 P4 to Git Change 1530931 by gandryey@gera-w8 on 2018/03/22 16:38:47
SWDEV-79445 - OCL generic changes and code clean-up
	- Prepare the changes to remove resource rename feature. Resource rename can substitute a low level memory object in the current resource with a different one in order to avoid GPU stalls on frequent CPU updates, like constant buffers or staging buffers. Renaming was necessary due to CAL and old HW limitations to manage suballocations and has some inefficiency with tiny updates and staging buffers.
	- This change removes renames usage from the constant buffer management

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#78 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#43 edit


[ROCm/clr commit: db04b3b295]
2018-03-22 16:51:43 -04:00
foreman 3f2f0b43ba P4 to Git Change 1529710 by wchau@wchau_OCL_boltzmann on 2018/03/20 17:05:04
SWDEV-145760 - OCL on ROCm Support for respecting target's xnack setting (subtask of SWDEV-134107)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#77 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#80 edit


[ROCm/clr commit: 68c299486b]
2018-03-20 17:13:51 -04:00
foreman d7c6bd4af1 P4 to Git Change 1529531 by gandryey@gera-w8 on 2018/03/20 11:50:12
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix a regression in the AMF test and reenable the suballoc optimization. Rearrange the locks around cache field access only to avoid calling memory release under the cache lock.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#287 edit


[ROCm/clr commit: 1f53841421]
2018-03-20 12:01:19 -04:00
foreman 5b268112b4 P4 to Git Change 1528884 by vsytchen@vsytchen-ocl-win10 on 2018/03/19 11:36:48
SWDEV-133818 - PAL support for Linux Pro: Coarse Grain SVM for OpenCL 2.0

	1. This change enables OCL 2.0 on Linux for devices using PAL backend.
	2. Set the alignment for Coarse Grain SVM allocations to be the gpu fragment size (2MB on Linux).

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#128 edit


[ROCm/clr commit: 3683b3d03c]
2018-03-19 11:55:32 -04:00
foreman 5dc6ba3c66 P4 to Git Change 1527848 by gandryey@gera-w8 on 2018/03/15 17:11:43
SWDEV-79445 - OCL generic changes and code clean-up
	- Add suballocations support for local(invisible) memory. It should significantly improve memory footprint and TLB usage with 2MB pages
	- Implementation uses BuddyAllocator provided in PAL
	- The chunk allocation size is 64MB, min allocation 4KB and max 4MB. GPU_MAX_SUBALLOC_SIZE controls the max size in KB

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#76 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#77 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#285 edit


[ROCm/clr commit: 7ae94da05b]
2018-03-15 17:26:25 -04:00
foreman 4ae1c708f2 P4 to Git Change 1524674 by gandryey@gera-w8 on 2018/03/08 17:26:08
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove pinOffset_ field, since the pinning offset can be combined with global offset_ field

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#16 edit


[ROCm/clr commit: 953d3c86e0]
2018-03-08 17:37:53 -05:00
foreman 3d4652b8a3 P4 to Git Change 1524559 by asalmanp@asalmanp-ocl-stg on 2018/03/08 14:18:24
SWDEV-132899 - [gfx10][OCL]- Adding support for forcing WaveSize32 from runtime for testing on gfx10 HW emulator

	Motivation: During testing ocltst on Windows on PAL/HSAIL/SC path on gfx10 HW emulator, it was found that SC uses WaveSize64 by default for compute kernels.
	SC also has an interface that can be used for forcing the WaveSize to 32 or 64.

	- Adding the "-force-wave-size-32" into compiler to be passed down to Finalizer/SC
	- Adding environment variable "GPU_FORCE_WAVE_SIZE_32" that can be used from runtime to force WaveSize32 compilation in HSAIL/SC path

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#138 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#284 edit


[ROCm/clr commit: 3c0e80074b]
2018-03-08 14:26:17 -05:00
foreman 7f5373020f P4 to Git Change 1524071 by gandryey@gera-w8 on 2018/03/07 17:26:30
SWDEV-147487 - DX9/DX11 texture and OpenCL interop for YUY2
	- Enable YUY2 support for DX11 and DX9. YUY2 contains just one plane of interleaved Y0UY1V components and can be mapped to (CL_RGBA, CL_UNSIGNED_INT8) with image width reduced by 2. YUY2 provides better quality due to 16bit data per pixel

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#241 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#49 edit


[ROCm/clr commit: fd3644ee58]
2018-03-07 17:35:30 -05:00
foreman 5c7a90b284 P4 to Git Change 1523996 by wchau@wchau_OCL_boltzmann on 2018/03/07 16:08:29
SWDEV-146839 - OCL 2.0 WF - Contractions test encounters failure on Raven
	- root cause: subnormals should be enabled for Raven (gfx902)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#32 edit


[ROCm/clr commit: c65580a1f6]
2018-03-07 16:14:25 -05:00
foreman af49600395 P4 to Git Change 1521567 by gandryey@gera-w8 on 2018/03/01 18:29:47
SWDEV-145716 - dGMA via OpenCL not working properly on AMD EPYC Ethanol platform with two WX9100/W9100s
	- Add a stall and cache flushes before a barrier write in GSL and PAL
	- Place temporary workarounds for CP prefetch of WRITE_DATA and the lack of SDMA marker in PAL

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#414 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#76 edit


[ROCm/clr commit: 30eacbe243]
2018-03-01 18:37:54 -05:00
foreman fe9072b067 P4 to Git Change 1520850 by kzhuravl@kzhuravl-fiji-ocllc on 2018/02/28 13:01:41
SWDEV-129762 - Remove following macros that are passed through the command line to the lightning compiler:

	-D__AMD__=1
	-D__devicename=1
	-D__devicename__=1
	-DFP_FAST_FMA=1
	-DFP_FAST_FMAF=1

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#79 edit


[ROCm/clr commit: 87f42bdb73]
2018-02-28 13:07:35 -05:00
foreman b130343aca P4 to Git Change 1519129 by skudchad@skudchad_test2_win_opencl on 2018/02/23 22:04:04
SWDEV-145570 -  Add new info stats for VDI layer which are reported by HIP

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#283 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#296 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#585 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#413 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#83 edit


[ROCm/clr commit: b909e781de]
2018-02-23 22:16:44 -05:00
foreman c4462940db P4 to Git Change 1519084 by gandryey@gera-w8 on 2018/02/23 19:15:27
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove debugger checks from the dispatch path. There are no plans to enable debugger in the near future.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#74 edit


[ROCm/clr commit: b561617774]
2018-02-23 19:23:42 -05:00
foreman eb26cc0305 P4 to Git Change 1518569 by gandryey@gera-w8 on 2018/02/22 18:48:33
SWDEV-145750 - SSG Player drop in performance observed when using the OCL Api in 18.10
	- Keep persistent memory mapped all time for Linux and Win10

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#48 edit


[ROCm/clr commit: 9018bc85cc]
2018-02-22 18:54:16 -05:00
foreman f1c4d55131 P4 to Git Change 1518288 by rili@rili-new-stg-pal-opencl on 2018/02/22 11:48:27
SWDEV-145977 - Add RV2 support

	Code Review: http://ocltc.amd.com/reviews/r/14280/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#151 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#584 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#359 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#182 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/caltarget.h#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFEnumCheck.cpp#29 edit


[ROCm/clr commit: 633ed0a02d]
2018-02-22 12:09:33 -05:00
foreman a9e75064ed P4 to Git Change 1517959 by gandryey@gera-lnx-rcf on 2018/02/21 17:24:16
SWDEV-79445 - Add RGP trace capture capability into runtime.
	- Initial implementation
	- PAL_RGP_DISP_COUNT controls the number of captured dispatches(default 10).
	- RD panel and service are required in order to capture the traces and RD Profiler for viewing and SQTT exports

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile.pal#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#283 edit


[ROCm/clr commit: dfb5e1b844]
2018-02-21 17:35:38 -05:00
foreman 715660477d P4 to Git Change 1517501 by asalmanp@asalmanp-ocl-stg on 2018/02/20 13:54:28
SWDEV-132899 - [OCL][GFX10] OCLCreateImage[3] fails for the image type 1Darray
	Issue: FillImage blit kernel is not working properly on gfx10 if the image type is 1Darray (i.e., it only fills the first slice/layer and ignores the rest of the layers when number of layers >1)
	Root cause: gfx10 HW expects the number of layers in Z component
	Fix: To fix this issue we swap the Y and Z components if the image type is 1Darray for gfx10+ in image blit kernels.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#14 edit


[ROCm/clr commit: e0f4740fc4]
2018-02-20 14:15:36 -05:00
foreman 41f5fd45af P4 to Git Change 1516358 by emankov@em-hsa on 2018/02/15 08:04:51
SWDEV-143465 - Revert of #1516121

	[Reason]
	A plenty of tests are failed.
	After the changing stack logic a lot of tests should be fixed, a lot - to be removed from testing.
	#1516121 will be submitted again after renewal/removal of all the failed tests.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/v0_8/if_acl.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#583 edit


[ROCm/clr commit: f63eb0e998]
2018-02-15 08:12:32 -05:00
foreman db9a1af6ff P4 to Git Change 1516121 by emankov@em-hsa on 2018/02/14 13:29:20
SWDEV-143465 - Stop building static C++ kernels on CI+

	Changed stack logic:
	1. Stop supporting AMDIL on CI+ devices: "AMDIL doesn't support device ..." will be reported.
	2. Stop handling OpenCL extension options in RT: if "-x spir" or "-x clc++" option is specified, it wouldn't force legacy AMDIL compiler anymore.
	3. Start reporting error on "-legacy" option in HSAIL compiler. If we reach HSAIL compiler, then it means that there are conflicting options. Report them all, possible options are: -frontend=edg, -cl-std=CL2.0 (>= 2.0),  -binary_is_spirv.

	Already submitted changes in stack logic:
	1. Start reporting error for SI devices on HSAIL path.
	2. Start handling OpenCL extension options on HSAIL path: report error on "-x spir" or "-x clc++" options.

	[Testing]
	rga offline for all the targets supported by HSAIL and AMDIL (from Family_SI up to Family_VI):
	tahiti, pitcairn, capeverde, spectre, spooky, kalindi, hawaii, oland, bonaire, hainan, carrizo, iceland, tonga, fiji, stoney, baffin, ellesmere.

	[Reviewed] by German and Stas (http://ocltc.amd.com/reviews/r/14270)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/v0_8/if_acl.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#582 edit


[ROCm/clr commit: 9a85405b0b]
2018-02-14 13:36:18 -05:00
foreman fd96c14e23 P4 to Git Change 1515374 by skeely@skeely_HSA_linux on 2018/02/12 17:53:32
SWDEV-94389 - Get gl display and context from cl context object.

	Also report Mesa interop errors in debug log.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl_amd.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#82 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocglinterop.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocglinterop.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#33 edit


[ROCm/clr commit: 7175a76b6d]
2018-02-12 18:02:35 -05:00
foreman 6f6e082799 P4 to Git Change 1510104 by gandryey@gera-w8 on 2018/01/30 16:21:25
SWDEV-144231 - [CQE OCL][DTB][Perf][DTB-BLOCKER] 10% Performance drop observed while running Subtests of IndigoBench due to faulty CL#1507569
	-Wavelimiter has more negative impact than improvements in a few benchmarks.
	- Reduce the number of adaptive samples during the search to 4 per each wave count.
	- Add worstWave_ to skip sampling with low performance settings.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.hpp#7 edit


[ROCm/clr commit: 2e6d7d965a]
2018-01-30 16:49:46 -05:00
foreman b6c3a5a485 P4 to Git Change 1509534 by gandryey@gera-w8 on 2018/01/29 17:42:48
SWDEV-143822 - [CQE OCL][Vega10][OCLtst][DTB-Blocker][QR] 8 out of 50 failures are observed with OCLPerf 32bit test; due to Faulty CL# 1502648
	- Limit the cache size to 1GB with 32 bit

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#41 edit


[ROCm/clr commit: a1433357fb]
2018-01-29 17:47:45 -05:00
foreman 6b61290b25 P4 to Git Change 1508214 by gandryey@gera-lnx-rcf on 2018/01/25 18:10:13
SWDEV-142271 - Performance drop is observed in Ocean Surface Simulation of Compubenchcl in 17.50 when compared to 17.Q4.1
	- Fix link error in Linux.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#40 edit


[ROCm/clr commit: 9ed39f6107]
2018-01-25 18:41:08 -05:00
foreman a6df357528 P4 to Git Change 1508149 by gandryey@gera-w8 on 2018/01/25 17:02:46
SWDEV-143822 - [CQE OCL][Vega10][OCLtst][DTB-Blocker][QR] 8 out of 50 failures are observed with OCLPerf 32bit test; due to Faulty CL# 1502648
	- Free resource cache if PAL failed memory allocation

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#47 edit


[ROCm/clr commit: 142e5908ee]
2018-01-25 17:55:06 -05:00
foreman bd91264a3f P4 to Git Change 1507894 by gandryey@gera-lnx-rcf on 2018/01/25 11:38:47
SWDEV-142271 - Performance drop is observed in Ocean Surface Simulation of Compubenchcl in 17.50 when compared to 17.Q4.1
	- Fix compilation errors in Linux.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.cpp#6 edit


[ROCm/clr commit: d71a4dbb04]
2018-01-25 11:45:30 -05:00
foreman e596d88dde P4 to Git Change 1507590 by gandryey@gera-w8 on 2018/01/24 18:30:51
SWDEV-142271 - Performance drop is observed in Ocean Surface Simulation of Compubenchcl in 17.50 when compared to 17.Q4.1
	- Fix compilation errors in Linux.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.hpp#6 edit


[ROCm/clr commit: 0558a4abb6]
2018-01-24 18:37:08 -05:00
foreman 7ad3f946b6 P4 to Git Change 1507569 by gandryey@gera-w8 on 2018/01/24 17:56:10
SWDEV-142271 - Performance drop is observed in Ocean Surface Simulation of Compubenchcl in 17.50 when compared to 17.Q4.1
	- Rewrite the adaptive mode for waveliimiter. Make sure the performance feedback corresponds to the right wave count. Add the new sampling logic to find the best number, based on average performance.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#295 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuwavelimiter.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuwavelimiter.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#71 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#88 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#282 edit


[ROCm/clr commit: 1e90e581d6]
2018-01-24 18:07:37 -05:00
foreman 15d8e4b07f P4 to Git Change 1506644 by wchau@wchau_OCL_boltzmann on 2018/01/23 10:34:36
SWDEV-140733 - Raven Bring Up - OCLCreateImage

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#32 edit


[ROCm/clr commit: 6a82783a0b]
2018-01-23 10:40:39 -05:00
foreman 2fd27167df P4 to Git Change 1505728 by wchau@wchau_OCL_boltzmann on 2018/01/19 13:13:53
SWDEV-137270 - Add findLocalWorkSize to OpenCL runtime ROC device
	- Add support for kernel using image argument
	- fix the issue of not using the max workgroup size specified by the environment variables "maxWorkGroupSize*"

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#50 edit


[ROCm/clr commit: 87ad3f9692]
2018-01-19 13:33:55 -05:00
foreman 09a507e8d0 P4 to Git Change 1505681 by wchau@wchau_OCL_boltzmann on 2018/01/19 11:10:00
SWDEV-143191 - OpenCL Runtime Support for Vega20 BU in ROCm
	- add device info entry for Vega20
	- modified Makefile.library to use Vega20's bitcode library

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#81 edit


[ROCm/clr commit: edb9746999]
2018-01-19 11:15:37 -05:00
foreman e8e7603e2a P4 to Git Change 1504202 by gandryey@gera-w8 on 2018/01/16 16:11:56
SWDEV-116219 - Allocating memory on GPU is 2x slower on win10 RS than on win7
	- Fix failures on Win7 32 bit after extending resource cache size. Disable SVM region reservation for 32 bits, since OCL2.0 is disabled for 32bit.

Affected files ...

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


[ROCm/clr commit: 3e6aee2c93]
2018-01-16 16:22:43 -05:00
foreman 7476bd0554 P4 to Git Change 1503305 by gandryey@gera-w8 on 2018/01/12 18:09:51
SWDEV-142224 - [OCL] OCL runtime hang in multithread app with extended tests
	- Lock the resource cache only if a resource will be placed into the cache. Views, allocated/destroyed dynamically on the queues, won't be placed into the cache and lock should not be called for them

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#15 edit


[ROCm/clr commit: ec29b52ae8]
2018-01-12 18:15:39 -05:00
foreman aeb94403c7 P4 to Git Change 1503207 by wchau@wchau_OCL_boltzmann on 2018/01/12 14:51:08
SWDEV-140733 - OpenCL Runtime Support for Raven BU in ROCm
	- Fix OCLMemoryInfo issue of incorrect free memory info
	- Fix OCLPerfMemCreate failure due to memory leak

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#12 edit


[ROCm/clr commit: 074f37ac4d]
2018-01-12 14:59:13 -05:00
foreman 171ec8809a P4 to Git Change 1502710 by wchau@wchau_OCL_boltzmann on 2018/01/11 15:44:09
SWDEV-142432 - OpenCL Runtime Support for Vega12 BU in ROCm
	- add device info entry for Vega12
	- modified Makefile.library to use Vega12's bitcode library

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#80 edit


[ROCm/clr commit: 5d9c7b3b47]
2018-01-11 15:55:18 -05:00
foreman d9740c2fe7 P4 to Git Change 1502648 by gandryey@gera-ocl-lc on 2018/01/11 13:59:40
SWDEV-116219 - Allocating memory on GPU is 2x slower on win10 RS than on win7
	- Remove 512MB limit for resource cache to avoid expensive KMD memory allocations in Win10 RS

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#358 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#40 edit


[ROCm/clr commit: 4c99d307eb]
2018-01-11 14:11:44 -05:00
foreman 1c10f2a816 P4 to Git Change 1502108 by wchau@wchau_OCL_boltzmann on 2018/01/10 10:10:39
SWDEV-142081 - Performance drop while running GE HealthCare - Penality test test due to CL#1498909
	- Port the logic to consider cache line size for the local workgroup detection (CL#1496286)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#49 edit


[ROCm/clr commit: 0f819eed6f]
2018-01-10 10:17:06 -05:00
foreman 13d081075e P4 to Git Change 1501728 by gandryey@gera-w8 on 2018/01/09 15:35:03
SWDEV-79445 - OCL generic changes and code clean-up
	- Code style clean-up. No functional changes.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#71 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#70 edit


[ROCm/clr commit: 8e17a1e6b4]
2018-01-09 15:43:43 -05:00
foreman 6111e38160 P4 to Git Change 1501660 by gandryey@gera-w8 on 2018/01/09 14:04:56
SWDEV-79445 - OCL generic changes and code clean-up
	- Code style clean-up. No functional changes.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#127 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#164 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#321 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#236 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#412 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#142 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevicegl.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#69 edit


[ROCm/clr commit: e5ee74a086]
2018-01-09 14:09:12 -05:00