Grafico dei commit

13474 Commit

Autore SHA1 Messaggio Data
foreman 76857ed61a P4 to Git Change 1534202 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/29 03:00:24
SWDEV-2 - Change OpenCL version number from 2620 to 2621.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2368 edit
2018-03-29 03:09:33 -04:00
foreman 416cba1233 P4 to Git Change 1534050 by lmoriche@lmoriche_opencl_dev2 on 2018/03/28 19:09:26
SWDEV-145570 - Add support for clang offload bundles

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#3 edit
2018-03-28 19:23:57 -04:00
foreman 2777b013bd 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
2018-03-28 17:22:48 -04:00
foreman 3d15c543a0 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
2018-03-28 11:35:51 -04:00
Rahul Garg 35bc23ecc3 Remove textureObj kernel argument for HIP/HCC path 2018-03-28 15:36:57 +05:30
foreman a831db655f P4 to Git Change 1533444 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/28 03:00:09
SWDEV-2 - Change OpenCL version number from 2619 to 2620.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2367 edit
2018-03-28 03:09:00 -04:00
foreman 0f6d9fea87 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
2018-03-27 15:17:14 -04:00
Jenkins 43082564bc Merge 'master' into 'amd-master'
Change-Id: I0f076ee4d0d5a725856f689383600820544bde18
2018-03-27 04:10:07 -05:00
foreman 987c092500 P4 to Git Change 1532726 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/27 03:00:10
SWDEV-2 - Change OpenCL version number from 2618 to 2619.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2366 edit
2018-03-27 03:15:21 -04:00
Maneesh Gupta c1505becef Merge pull request #382 from scchan/fix_texture_addr_space
Change constant address space to 4
2018-03-27 07:48:50 +05:30
Siu Chi Chan 53d9cce9f9 Change constant address space to 4
when compiling with a newer hcc.  This is
due to a recent change to address space
mapping in the amdgpu compiler backend.
2018-03-26 18:13:59 -04:00
foreman fc0fecd2ea 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
2018-03-26 16:45:16 -04:00
foreman 3876272309 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
2018-03-26 13:50:18 -04:00
Maneesh Gupta a95ff17549 Merge pull request #379 from lmoriche/master
Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename …
2018-03-26 15:38:02 +05:30
Maneesh Gupta e8cc7c2e40 [ci] Get CI builds to work again (#377)
* [ci] Enable tests against HCC from ROCm1.7 as well

* [ci] rocm 1.7 requires nodes with dkms label

* [ci] Temporarily drop hcc_1_6 and hcc_1_7 builds
2018-03-26 15:21:45 +05:30
foreman 0caa7e4cc1 P4 to Git Change 1531891 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/24 03:00:04
SWDEV-2 - Change OpenCL version number from 2617 to 2618.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2365 edit
2018-03-24 03:12:32 -04:00
foreman 73b44b613b 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
2018-03-23 18:41:23 -04:00
foreman 1d513806a5 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
2018-03-23 14:45:37 -04:00
foreman bdd5200cfa P4 to Git Change 1531535 by skudchad@skudchad_rocm on 2018/03/23 13:57:49
SWDEV-145570 - [HIP] Add some context* functions. Add context stack.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#4 edit
2018-03-23 14:18:27 -04:00
foreman 62a00d336e 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
2018-03-23 14:12:49 -04:00
foreman 6002477091 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
2018-03-23 11:01:31 -04:00
foreman 4a60726fc4 P4 to Git Change 1531180 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/23 03:00:04
SWDEV-2 - Change OpenCL version number from 2616 to 2617.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2364 edit
2018-03-23 03:10:21 -04:00
foreman c531507708 P4 to Git Change 1531138 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/23 00:10:40
SWDEV-145570 - [HIP] Module
	Check for correct device id in hipDeviceGetAttribute
	Implement hipModuleLoad
	Handle kernelParams in hipModuleLaunchKernel

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#3 edit
2018-03-23 00:19:22 -04:00
foreman d6589a93b2 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
2018-03-22 18:18:21 -04:00
foreman ace31f6a11 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
2018-03-22 17:58:21 -04:00
foreman dff8a2764c 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
2018-03-22 17:18:49 -04:00
foreman db04b3b295 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
2018-03-22 16:51:43 -04:00
foreman 41404377b1 P4 to Git Change 1530499 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/22 03:00:05
SWDEV-2 - Change OpenCL version number from 2615 to 2616.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2363 edit
2018-03-22 03:12:27 -04:00
Laurent Morichetti 8f4c368dce Merge remote-tracking branch 'upstream/master' 2018-03-21 11:17:52 -07:00
Laurent Morichetti 84a723b2dc Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename hipLaunch->hipLaunchByPtr. 2018-03-21 11:07:21 -07:00
foreman 2c0282ae12 P4 to Git Change 1529894 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/21 03:00:04
SWDEV-2 - Change OpenCL version number from 2614 to 2615.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2362 edit
2018-03-21 03:50:41 -04:00
foreman 68c299486b 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
2018-03-20 17:13:51 -04:00
foreman 1f53841421 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
2018-03-20 12:01:19 -04:00
Jenkins 8af72e8ce7 Merge 'master' into 'amd-master'
Change-Id: I42f0b83d11945fc03fb75f4a553c37f9f42f28a4
2018-03-20 04:10:00 -05:00
foreman 312057dbe2 P4 to Git Change 1529318 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/20 03:00:03
SWDEV-2 - Change OpenCL version number from 2613 to 2614.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2361 edit
2018-03-20 03:11:01 -04:00
foreman f4dad682a7 P4 to Git Change 1529097 by gandryey@gera-w8 on 2018/03/19 16:45:49
SWDEV-79445 - OCL generic changes and code clean-up
	- Disable suballocations until regressions will be resolved

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#286 edit
2018-03-19 16:56:49 -04:00
foreman fe3f2b7e5d P4 to Git Change 1528961 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/19 13:43:08
SWDEV-145570 - Contexts
	Create one amd::Context per device
	g_context is now thread's current context
	HIP doesn't want more than one context per device so we always use the primary one

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#4 edit
2018-03-19 13:52:17 -04:00
foreman 3683b3d03c 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
2018-03-19 11:55:32 -04:00
Maneesh Gupta 51ed222aa4 Merge pull request #373 from gargrahul/fix_function_not_found_tex_drv_sample
Fixed function not found issue in texture driver api sample
2018-03-19 14:11:28 +05:30
foreman 320062f843 P4 to Git Change 1528532 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/17 03:00:05
SWDEV-2 - Change OpenCL version number from 2612 to 2613.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2360 edit
2018-03-17 03:11:29 -04:00
Rahul Garg 2184e7f6da Removed hidden args and hipLaunchParm from HIP/HCC path 2018-03-16 22:50:25 +05:30
Jenkins 6c39e1561c Merge 'master' into 'amd-master'
Change-Id: If86cc472ef0330ab9f8c19e68cb6fcf83b502d16
2018-03-16 04:10:29 -05:00
Rahul Garg da66236083 Change co file name 2018-03-16 12:54:44 +05:30
foreman e74383ba6e P4 to Git Change 1528119 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/16 03:00:05
SWDEV-2 - Change OpenCL version number from 2611 to 2612.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2359 edit
2018-03-16 03:12:59 -04:00
Rahul Garg 2ff9e5d46d Fixed function not found issue 2018-03-16 12:35:25 +05:30
Maneesh Gupta eabd89f130 Merge pull request #372 from scchan/fix_hipcc_rhel
On RHEL and CentOS, don't use libc++ since we are using the devtoolse…
2018-03-16 07:44:40 +05:30
Maneesh Gupta c50f3caf5e Merge pull request #367 from gargrahul/fix_tex_drv_offset
Fix offset issue in texture driver APIs
2018-03-16 07:43:48 +05:30
foreman 7ae94da05b 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
2018-03-15 17:26:25 -04:00
Siu Chi Chan 0501f6c582 On RHEL and CentOS, don't use libc++ since we are using the devtoolset-7 which has a newer g++ 2018-03-15 16:46:01 -04:00
foreman c4a81872f3 P4 to Git Change 1527474 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/15 03:00:05
SWDEV-2 - Change OpenCL version number from 2610 to 2611.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2358 edit
2018-03-15 03:10:56 -04:00