Graf commitů

2087 Commity

Autor SHA1 Zpráva Datum
foreman 610b9840e8 P4 to Git Change 1459702 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/16 03:00:05
SWDEV-2 - Change OpenCL version number from 2499 to 2500.

Affected files ...

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


[ROCm/clr commit: f8bc731619]
2017-09-16 03:14:05 -04:00
foreman da71d0e518 P4 to Git Change 1459235 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/15 03:00:04
SWDEV-2 - Change OpenCL version number from 2498 to 2499.

Affected files ...

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


[ROCm/clr commit: 040f46d584]
2017-09-15 03:13:25 -04:00
foreman 9021c30aad P4 to Git Change 1459027 by wchau@wchau_OCL_boltzmann on 2017/09/14 15:39:04
SWDEV-111439 - Add query for preferred constant size

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#67 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#18 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#34 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_ext.h#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#291 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#575 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#61 edit


[ROCm/clr commit: b44fd81c76]
2017-09-14 16:26:32 -04:00
foreman a12776ba65 P4 to Git Change 1458879 by gandryey@gera-w8 on 2017/09/14 11:41:44
SWDEV-129129 - [[CQE OCL][Vega vs Fiji] Upto 12% Performance drop observed on VEGA10 compared to FIJI while running BlackMagic Davinci Resolve
	More benchmark tuning:
	- Keep system memory locked in the resource cache. That removes huge amount of lock/unlock calls to OS due to the resource creation and destruciton
	- Reduce the command buffer size to 256 commands and incrrease the amount of CBs to 16
	- Increase the amount of resident resources to 2048

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#574 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#31 edit


[ROCm/clr commit: 4066449a8b]
2017-09-14 11:58:52 -04:00
foreman 80971280eb P4 to Git Change 1458724 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/14 03:00:06
SWDEV-2 - Change OpenCL version number from 2497 to 2498.

Affected files ...

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


[ROCm/clr commit: 44b7cfefaf]
2017-09-14 03:14:53 -04:00
foreman fe289ba112 P4 to Git Change 1458387 by rili@rili-new-stg-pal-opencl on 2017/09/13 13:59:02
SWDEV-131925 - Initialize virtual queue
	                            Code Review: http://ocltc.amd.com/reviews/r/13436/

Affected files ...

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


[ROCm/clr commit: 8b2c819023]
2017-09-13 14:08:50 -04:00
foreman 8ef3235c5a P4 to Git Change 1458325 by gandryey@gera-w8 on 2017/09/13 11:33:32
SWDEV-132238 - [CQE OCL][Vega10][DTB-Blocker][QR] 'Allocation (Single)' test of WF Conformance is failing; Faulty CL# 1451444
	- Disable reporting extra HBCC memory by default. Reporting extra memory can be reenabled with GPU_ADD_HBCC_SIZE=1

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#280 edit


[ROCm/clr commit: 068bf554fb]
2017-09-13 11:47:55 -04:00
foreman b8032a52ef P4 to Git Change 1458204 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/13 03:00:04
SWDEV-2 - Change OpenCL version number from 2496 to 2497.

Affected files ...

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


[ROCm/clr commit: d0cd65755a]
2017-09-13 03:12:50 -04:00
foreman 1e875380b6 P4 to Git Change 1458035 by wchau@wchau_OCL_boltzmann on 2017/09/12 16:31:24
SWDEV-130808 - set the local sizes to preferredWorkGroupSize_ when clEnqueueNDRange is not given and the kernel does not have required workgroup sizes.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#320 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#411 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#43 edit


[ROCm/clr commit: 8aef16e13c]
2017-09-12 17:13:01 -04:00
foreman 84be665e67 P4 to Git Change 1458033 by asalmanp@asalmanp-ocl-stg on 2017/09/12 16:29:49
SWDEV-130722 - Channel order in an interop buffer from OpenCL to OpenGL is flipped on Vega

	Follow up for CL#1456230. Adding a new table that maps the OGL surface formats (hData.format) returned by wglResourceAttachAMD function into the OCL image format. The hData.format is the internal image surface format created for an interop by OGL and should be used by OCL for cl_gl interop.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevicegl.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#36 edit


[ROCm/clr commit: 23f12d5ea4]
2017-09-12 17:07:18 -04:00
foreman 3831725584 P4 to Git Change 1458019 by wchau@wchau_WIN_OCL_HSA on 2017/09/12 16:12:22
SWDEV-122517 - DVR toolbar and timer are corrupted when recording in fullscreen with portrait oriented monitors using Eyefinity.
	Fixed by obtaining the rotation information from OGL driver and set tha displayable attribute accordingly. (For OCL RT changes)
	- fix the type casting issue that causes build error

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#31 edit


[ROCm/clr commit: a88ad35556]
2017-09-12 16:56:44 -04:00
foreman 0a0a0dc374 P4 to Git Change 1457982 by wchau@wchau_WIN_OCL_HSA on 2017/09/12 14:56:38
SWDEV-122517 - DVR toolbar and timer are corrupted when recording in fullscreen with portrait oriented monitors using Eyefinity.
	Fixed by obtaining the rotation information from OGL driver and set tha displayable attribute accordingly. (For OCL RT changes)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#30 edit


[ROCm/clr commit: 3373a1ef2f]
2017-09-12 15:39:29 -04:00
foreman 39d9b2c81f P4 to Git Change 1457957 by asalmanp@asalmanp-ocl-stg on 2017/09/12 14:27:56
SWDEV-79278 - [OCL] Dont add gfx804 device into the offline device list twice.

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

Affected files ...

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


[ROCm/clr commit: 7efd5f7f98]
2017-09-12 14:42:44 -04:00
foreman 77dd50cb45 P4 to Git Change 1457669 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/12 03:00:05
SWDEV-2 - Change OpenCL version number from 2495 to 2496.

Affected files ...

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


[ROCm/clr commit: 1ff1a9a9c7]
2017-09-12 03:16:03 -04:00
foreman 906abbac5d P4 to Git Change 1457559 by lmoriche@lmoriche_opencl_dev2 on 2017/09/11 18:05:30
SWDEV-130808 - Add support of two new queries: CL_DEVICE_PREFERRED_WORK_GROUP_SIZE_AMD, CL_DEVICE_MAX_WORK_GROUP_SIZE_AMD.
	- Restore the original behavior when setting GPU_MAX_WORKGROUP_SIZE.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#356 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#279 edit


[ROCm/clr commit: c870a30523]
2017-09-11 18:19:56 -04:00
foreman 8f2a3ebf44 P4 to Git Change 1457530 by wchau@wchau_WIN_OCL_HSA on 2017/09/11 17:14:57
SWDEV-126884 - OCL 2.1 Platform APIs

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.def.in#17 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map.in#19 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_command.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_execute.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd_amd.h#20 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl.h#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl.h#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#86 edit


[ROCm/clr commit: 5199f1bc48]
2017-09-11 17:58:22 -04:00
foreman 4a95a92c0c P4 to Git Change 1457038 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/09 03:00:05
SWDEV-2 - Change OpenCL version number from 2494 to 2495.

Affected files ...

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


[ROCm/clr commit: 5f7750e9b1]
2017-09-09 03:13:29 -04:00
foreman 37d6bf11f4 P4 to Git Change 1456988 by gandryey@gera-w8 on 2017/09/08 17:48:25
SWDEV-129129 - [[CQE OCL][Vega vs Fiji] Upto 12% Performance drop observed on VEGA10 compared to FIJI while running BlackMagic Davinci Resolve
	- Force tiny read_only buffers into USWC memory. That will avoid expensive tiny data uploads, which occur every frame.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#278 edit


[ROCm/clr commit: caa25fc792]
2017-09-08 18:03:23 -04:00
foreman 6cf8497f45 P4 to Git Change 1456841 by wchau@wchau_OCL_boltzmann on 2017/09/08 13:45:27
SWDEV-130808 - Add support of two new queries: CL_DEVICE_PREFERRED_WORK_GROUP_SIZE_AMD, CL_DEVICE_MAX_WORK_GROUP_SIZE_AMD.
	- Initialize the "preferredWorkGroupSize_" for CPU device so that CL_MAX_WORK_GROUP_SIZE correctly reports CPU_MAX_WORKGROUP_SIZE.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#281 edit


[ROCm/clr commit: 00e913da6d]
2017-09-08 13:58:47 -04:00
foreman 7ebb63648b P4 to Git Change 1456735 by wchau@wchau_OCL_boltzmann on 2017/09/08 11:04:08
SWDEV-130808 - Resubmit the CL#1456363 after finding the AMD SDK 2.9.1 Apps test failure is an app issue.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#17 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#33 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_ext.h#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#290 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#572 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#355 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#101 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#277 edit


[ROCm/clr commit: 703f2f6900]
2017-09-08 11:17:38 -04:00
foreman e63f8c4885 P4 to Git Change 1456589 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/08 03:00:04
SWDEV-2 - Change OpenCL version number from 2493 to 2494.

Affected files ...

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


[ROCm/clr commit: cd4c8a168b]
2017-09-08 03:20:14 -04:00
foreman d2804df5c4 P4 to Git Change 1456420 by wchau@wchau_OCL_boltzmann on 2017/09/07 16:56:26
SWDEV-130808 - Back out changelist 1456363 as it cause AMD SDK 2.9.1 Apps test failure when running OpenCL Sanity tests with Brahma build.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#16 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#32 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_ext.h#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#289 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#571 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#354 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#100 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#276 edit


[ROCm/clr commit: 946984cba0]
2017-09-07 17:12:29 -04:00
foreman a1d2208873 P4 to Git Change 1456409 by skudchad@skudchad_test_win_opencl2 on 2017/09/07 16:42:55
SWDEV-130305 - For Vega CF configuration on specific chipset (AMD Ryzen 7 1800X) slave ASIC comes out of BACO when ReLive is enabled
	- Finalize() in PAL shouldnt be called during enumeration. This creates a paging queue in WDDM which causes the second GPU to come out of BACO. Move Finalize to initializeHeapResources.

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

Affected files ...

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


[ROCm/clr commit: 881613438a]
2017-09-07 17:02:22 -04:00
foreman 2d8634d5c0 P4 to Git Change 1456363 by wchau@wchau_OCL_boltzmann on 2017/09/07 15:47:03
SWDEV-130808 - Add support of two new queries: CL_DEVICE_PREFERRED_WORK_GROUP_SIZE_AMD, CL_DEVICE_MAX_WORK_GROUP_SIZE_AMD.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#15 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#31 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#8 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_ext.h#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#288 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#570 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#353 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#99 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#275 edit


[ROCm/clr commit: 0b90f3418f]
2017-09-07 16:00:01 -04:00
foreman 85beaf8888 P4 to Git Change 1456230 by asalmanp@asalmanp-ocl-stg on 2017/09/07 12:00:21
SWDEV-130722 - Channel order in an interop buffer from OpenCL to OpenGL is flipped on Vega

	OCL calls glGetTexLevelParameteriv_ function to get the internal GL format but this format is the one chosen by app in OGL API such as glTexImage2D.

	The issue is that OGL sometimes selects a different format than defined in the glTexImage2D and this causes some issues in cl_gl interop. One example is shown below

	glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA/**internal format**/, width, height, 0, GL_BGRA/**external format**/, GL_UNSIGNED_BYTES, NULL);

	in this case GL_RGBA is selected by app as the internal format but OGL switches to BGRA8 internally and causes an issue later in cl_gl interop (i.e., R and B channels are swapped) because OCL gets GL_RGBA as the internal format in the glGetTexLevelParameteriv_ call.

	To avoid this issue, OCL needs to query the real internal  gl format in wglResourceAttachAMD and adjusts the CL format accordingly.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevicegl.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#35 edit


[ROCm/clr commit: e8395888c5]
2017-09-07 12:15:41 -04:00
foreman 25cf7df1be P4 to Git Change 1456058 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/07 03:00:04
SWDEV-2 - Change OpenCL version number from 2492 to 2493.

Affected files ...

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


[ROCm/clr commit: a90c0025a4]
2017-09-07 03:15:00 -04:00
foreman deab032014 P4 to Git Change 1455765 by gandryey@gera-w8 on 2017/09/06 11:57:19
SWDEV-131497 - [CQE OCL][Vega10][OclTst][QR][DTB-Blocker] 'Spir' test of OCLTST is crashing randomly 3/10 times; Faulty CL# 1451293
	- The test doesn't release command queues, which may cause a crash on the device destruction. Force the app's queue destruction if the app didn't release them.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#54 edit


[ROCm/clr commit: d3d97c5010]
2017-09-06 12:08:13 -04:00
foreman 8a1db4ea7c P4 to Git Change 1455573 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/06 03:00:05
SWDEV-2 - Change OpenCL version number from 2491 to 2492.

Affected files ...

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


[ROCm/clr commit: b71ee777ff]
2017-09-06 03:18:19 -04:00
foreman 4394baef5b P4 to Git Change 1455464 by asalmanp@asalmanp-ocl-stg on 2017/09/05 18:07:43
SWDEV-79278 - [OCL][PAL] refactoring PAL Null device create function to account for creating all the gfx9+ subtarget devices such as gfx901/gfx902/etc

	ReviewboardURL = http://ocltc.amd.com/reviews/r/13378/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#18 edit


[ROCm/clr commit: 9772217dcb]
2017-09-05 18:22:55 -04:00
foreman c3bff7dc35 P4 to Git Change 1455453 by gandryey@gera-w8 on 2017/09/05 17:49:48
SWDEV-131493 - [CQE OCL][Vega10][QR][DTB-Blocker] Soft Hang is observed while running 'Mipmaps-clCopyImage' tests of WF Conformance due to Faulty CL# 1451293
	Multiple runtime locks could conflict each other:
	- Remove PAL lock from the resource creation/destruction. PAL should be thread safe for those operations.
	- Avoid queue execution lock for a mipmap view destruction in submitUnmapMemory

Affected files ...

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


[ROCm/clr commit: 6b103f1bf6]
2017-09-05 18:03:48 -04:00
foreman f2f2f2c457 P4 to Git Change 1455369 by asalmanp@asalmanp-ocl-stg on 2017/09/05 16:02:34
SWDEV-79278 - [OCL] Dont add gfx9+ devices into offline devices list in orca path as they will be added in pal.
	ReviewboardURL = http://ocltc.amd.com/reviews/r/13396/

Affected files ...

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


[ROCm/clr commit: 121ffcc6ec]
2017-09-05 16:19:02 -04:00
foreman 329748b7e4 P4 to Git Change 1455302 by gandryey@gera-w8 on 2017/09/05 14:28:18
SWDEV-131312 - [CQE OCL][DTB][DTB-BLOCKER][Perf][QR][VEGA] Compubench test are not completing due to faulty CL#1451293
	- Mark active vgpu only for pinned memory

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#16 edit


[ROCm/clr commit: 57cfc57a45]
2017-09-05 14:42:03 -04:00
foreman 76f0d2051f P4 to Git Change 1455212 by gandryey@gera-w8 on 2017/09/05 11:23:03
SWDEV-131311 - [CQE OCL][DTB][DTB-BLOCKER][Perf][QR][VEGA] BasemarkCL test are not completing due to faulty CL#1451293
	- After a view destruction the original object is no longer can be associated with a vgpu

Affected files ...

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


[ROCm/clr commit: ab82101b73]
2017-09-05 11:35:35 -04:00
foreman 5be03e7125 P4 to Git Change 1454728 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/02 03:00:03
SWDEV-2 - Change OpenCL version number from 2490 to 2491.

Affected files ...

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


[ROCm/clr commit: 38a9a7201e]
2017-09-02 03:17:42 -04:00
foreman 98da5a1381 P4 to Git Change 1454218 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/01 03:00:04
SWDEV-2 - Change OpenCL version number from 2489 to 2490.

Affected files ...

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


[ROCm/clr commit: 86752f8861]
2017-09-01 03:17:07 -04:00
foreman d4a869c3b9 P4 to Git Change 1454130 by asalmanp@asalmanp-ocl-stg on 2017/08/31 20:49:52
SWDEV-79278 - [OCL][VG12] adding missing VG12 ID

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

Affected files ...

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


[ROCm/clr commit: 3e3852fc90]
2017-08-31 21:00:37 -04:00
foreman 60bf1fff2f P4 to Git Change 1453901 by gandryey@gera-w8 on 2017/08/31 14:34:49
SWDEV-86035 - Code clean-up
	- Use TS check first to avoid LogError
	- Reset VirtualGPU reference if resource was cached
	- Lock active VirtualGPU on release, since a cached resource can have access to that queue from another thread

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#30 edit


[ROCm/clr commit: 38c1488dfd]
2017-08-31 14:50:36 -04:00
foreman a0c2a818c5 P4 to Git Change 1453746 by asalmanp@asalmanp-ocl-stg on 2017/08/31 10:53:40
SWDEV-79278 - [OCL][NV10] adding Pal::GfxIpLevel::GfxIp10 into couple of places and fixing a typo in GfxIpDeviceInfo table (gfx801 should be 810)

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#28 edit


[ROCm/clr commit: 2b07a14f50]
2017-08-31 11:10:32 -04:00
foreman 8cfdfe68cb P4 to Git Change 1453619 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/31 03:00:04
SWDEV-2 - Change OpenCL version number from 2488 to 2489.

Affected files ...

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


[ROCm/clr commit: 06c254beb0]
2017-08-31 03:15:55 -04:00
foreman 77256aebbe P4 to Git Change 1453366 by asalmanp@asalmanp-ocl-stg on 2017/08/30 15:16:37
SWDEV-128844 - OpenCL conformance test 2.0/gl/test_gl.exe fails to run on Vega10

	Before switching to PAL on gfx9, we didn’t need to pass any argument for running Conformance tests and the first GPU device was selected automatically to run the tests.
	But after switching to PAL, we need to explicitly pass either “gpu” or “GPU_DEVICE_TYPE_GPU” as an argument to run Conformance tests otherwise the tests are failing (clGetDeviceIDs failure)

	The reason for this issue is that the logic for creating device and null devices (offline devices) changed after switching to PAL for gfx9+ devices.

	To fix this issue, don’t assign an offline device as "default" device.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#212 edit


[ROCm/clr commit: 7335e429cb]
2017-08-30 15:37:01 -04:00
foreman 6be88c5152 P4 to Git Change 1453266 by fdaniil@rocm_spec on 2017/08/30 12:27:36
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment

	Update from git http://git.amd.com:8080/#/c/103512/

	1. fixed ninja warning on multiple targets generating .inc files
	2. added libamdocl64.so and libOpenCL.so.1.2 libraries installation into install/lib
	3. added Khronos OpenCL headers installation into install/include
	4. added clinfo application installation int install/bin
	5. removed installation of dozens of LLVM libs and tools
	6. fixed minor misspellings in llvm options setup

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#15 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#9 edit
... //depot/stg/opencl/drivers/opencl/tools/clinfo/CMakeLists.txt#3 edit


[ROCm/clr commit: 81a57cc378]
2017-08-30 12:44:23 -04:00
foreman 523163bf32 P4 to Git Change 1453046 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/30 03:00:04
SWDEV-2 - Change OpenCL version number from 2487 to 2488.

Affected files ...

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


[ROCm/clr commit: 2a0e896048]
2017-08-30 03:33:56 -04:00
foreman 8fe66c7ee2 P4 to Git Change 1452726 by asalmanp@asalmanp-ocl-stg on 2017/08/29 11:55:13
SWDEV-79278 - adding missing Vega12 IDs
	ReviewBoardURL = http://ocltc.amd.com/reviews/r/13357/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/libUtils.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#44 edit


[ROCm/clr commit: 037a4a70cc]
2017-08-29 12:04:09 -04:00
foreman 327eb8ca2e P4 to Git Change 1452576 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/29 03:00:04
SWDEV-2 - Change OpenCL version number from 2486 to 2487.

Affected files ...

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


[ROCm/clr commit: 4d445db266]
2017-08-29 03:18:36 -04:00
foreman 7b1fdee2c5 P4 to Git Change 1452486 by skudchad@skudchad_test_win_opencl2 on 2017/08/28 20:01:08
SWDEV-116136 - Support -Og for Clang
	- Fix assert for -cl-disable-opt

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/options.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#44 edit


[ROCm/clr commit: c6a3aed5f8]
2017-08-28 20:15:30 -04:00
foreman 43542e3fb6 P4 to Git Change 1451983 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/26 03:00:04
SWDEV-2 - Change OpenCL version number from 2485 to 2486.

Affected files ...

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


[ROCm/clr commit: 5903352ceb]
2017-08-26 03:22:10 -04:00
foreman fa37a08a8c P4 to Git Change 1451977 by lmoriche@lmoriche_opencl_dev2 on 2017/08/26 00:40:17
SWDEV-116136 - Support -Og for Clang
	- Add missed changes mentioned in the code review.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/codegen.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/opt_level.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/scState.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/options.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/options.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.hpp#20 edit


[ROCm/clr commit: de1c5f6d0d]
2017-08-26 00:57:57 -04:00
foreman f340618f4c P4 to Git Change 1451958 by skudchad@skudchad_test_win_opencl2 on 2017/08/25 19:27:11
SWDEV-116136 - Support -Og for Clang

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/codegen.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/linker.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/opt_level.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/opt_level.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/optimizer.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/hsail_be.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/scState.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/OPTIONS.def#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/options.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/options.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#157 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/optimizer.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#68 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#136 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.hpp#19 edit


[ROCm/clr commit: 2c0b212d96]
2017-08-25 19:39:53 -04:00
foreman b07f38418a P4 to Git Change 1451630 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/25 03:00:06
SWDEV-2 - Change OpenCL version number from 2484 to 2485.

Affected files ...

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


[ROCm/clr commit: 347b819fa8]
2017-08-25 03:15:26 -04:00
foreman fbf5585008 P4 to Git Change 1451494 by gandryey@gera-w8 on 2017/08/24 17:34:58
SWDEV-129129 - [[CQE OCL][Vega vs Fiji] Upto 12% Performance drop observed on VEGA10 compared to FIJI while running BlackMagic Davinci Resolve
	- Remove some debug logic (resident_ field) from CL#1451293. It caused some CPU overhead
	- Use a template for waifForFence() to avoid some calls when unnecessary

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#29 edit


[ROCm/clr commit: caad6f5cce]
2017-08-24 17:45:19 -04:00