Граф коммитов

13197 Коммитов

Автор SHA1 Сообщение Дата
foreman 0c062f57e3 P4 to Git Change 1536922 by vsytchen@vsytchen-ocl-win10 on 2018/04/04 17:13:43
SWDEV-133818 - PAL support for Linux Pro: Coarse Grain SVM for OpenCL 2.0

	Disable OpenCL 2.0 for pal devices on Linux mainline

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#48 edit
2018-04-04 17:55:31 -04:00
Laurent Morichetti 323caee8d2 Add support for clang offload bundles and <<<>>> kernel launch. 2018-04-04 13:32:33 -07:00
foreman 1a5f98c021 P4 to Git Change 1536698 by skudchad@skudchad_test2_win_opencl on 2018/04/04 13:18:19
SWDEV-145570 - [HIP] -  Add HIP Memory api skeletons

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#6 edit
2018-04-04 13:24:15 -04:00
Maneesh Gupta 60faf90b62 Merge pull request #387 from mangupta/cleanup_bin
Cleanup bin directory
2018-04-04 15:06:57 +05:30
Jenkins 338e9a656a Merge 'master' into 'amd-master'
Change-Id: I94e342dc62a1c3a36ef9de4f10d508af429bcdf6
2018-04-04 04:10:04 -05:00
Maneesh Gupta efac735621 Cleanup bin directory
Remove hccgenco.sh and hsa-api-filter-cxl.txt

Change-Id: I5942aec911a2fe6c871fe0eb5f44a0b243552b79
2018-04-04 14:31:40 +05:30
foreman b49f9d5d77 P4 to Git Change 1536472 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/04 03:00:16
SWDEV-2 - Change OpenCL version number from 2623 to 2624.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2371 edit
2018-04-04 03:07:33 -04:00
Maneesh Gupta 13b65efae0 Merge pull request #383 from gargrahul/remove_hcc_check_texref_sample
Remove textureObj kernel argument for HIP/HCC path
2018-04-04 10:35:58 +05:30
Maneesh Gupta 2021414e98 Merge pull request #384 from yxsamliu/patch-1
Update HIP language spec to support both <<< >>> kernel launching mec…
2018-04-04 10:35:34 +05:30
Maneesh Gupta 4826f84d5c Merge pull request #385 from gargrahul/fix_texture_trsf_flag
Fix texture driver api TRFS flags
2018-04-04 10:34:09 +05:30
Maneesh Gupta 1bfdfecb59 Merge pull request #386 from ROCm-Developer-Tools/mangupta-patch-4
[ci] Re-enable testing against hcc_1.7
2018-04-04 10:01:41 +05:30
foreman 99e65b393e P4 to Git Change 1536332 by gandryey@gera-w8 on 2018/04/03 17:53:18
SWDEV-148749 - VM freezes in Horizon View
	- Fix a typo when memory references are removed from the destroyed queue. If null is sent to PAL, then PAL removes references from all available queues, but runtime logic needs only for the destroyed queue.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#83 edit
2018-04-03 18:05:03 -04:00
Maneesh Gupta 11eaac9cf4 [ci] Re-enable testing against hcc_1.7 2018-04-03 14:04:33 +05:30
foreman 94513e1ac9 P4 to Git Change 1535897 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/03 03:00:06
SWDEV-2 - Change OpenCL version number from 2622 to 2623.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2370 edit
2018-04-03 03:04:53 -04:00
foreman 8dd0ed0240 P4 to Git Change 1535708 by rili@rili-ocl on 2018/04/02 17:07:56
SWDEV-147340 - Added function UpdateAppPowerProfile() that notices KMD to update applicaiton profile.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#82 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os.hpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os_posix.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#49 edit
2018-04-02 17:15:51 -04:00
Rahul Garg 414cb24351 Fix texture driver api TRFS flags 2018-04-02 21:47:20 +05:30
Yaxun (Sam) Liu 0e1ae245d2 Update HIP language spec to support both <<< >>> kernel launching mechanism and hipLaunchKernel 2018-04-02 11:58:32 -04:00
foreman e7fb98dd94 P4 to Git Change 1535454 by todli@todli-win-opencl-kv1 on 2018/04/02 11:12:16
SWDEV-133452 - 1.Add HostMemoryDirectAccess flag to SDI ExternalPhysical memory
	2.Disable host writeBuffer for SDI ExternalPhysical memory
	3.Support marker offset for SDI WriteMarker in Runtime

	http://ocltc.amd.com/reviews/r/14518/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#81 edit
2018-04-02 11:28:59 -04:00
foreman 3f4e9566b7 P4 to Git Change 1535437 by asalmanp@asalmanp-ocl-stg on 2018/04/02 10:42:28
SWDEV-79278 - [OCL][PAL] don’t report gfx902/gfx903 into the offline device list twice.
	Both Raven and Raven2 are exposed as gfx902/gfx903, so we ended up reporting each gfx902 and gfx903 twice for the offline devices list. To avoid this issue, check the list and if a device is already reported don’t add it into the list.

	http://ocltc.amd.com/reviews/r/14523/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#78 edit
2018-04-02 11:17:14 -04:00
foreman de2ddfbee4 P4 to Git Change 1534829 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/30 03:00:33
SWDEV-2 - Change OpenCL version number from 2621 to 2622.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2369 edit
2018-03-30 03:18:51 -04:00
foreman 9504ce2bc4 P4 to Git Change 1534798 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/30 00:56:35
SWDEV-145570 - [HIP] Implemented hipStream create/destroy
	Use the provided stream in hipModuleLaunchKernel

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#2 edit
2018-03-30 01:06:00 -04:00
foreman 63ac798b50 P4 to Git Change 1534589 by vsytchen@vsytchen-ocl-win10 on 2018/03/29 14:54:53
SWDEV-79445 - OCL generic changes and code clean-up

	Return nullptr if creating a suballocation fails

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#59 edit
2018-03-29 15:03:19 -04:00
foreman 641fd3c85c P4 to Git Change 1534546 by emankov@em-hsa on 2018/03/29 13:38:05
SWDEV-143465 - HSAIL/AMDIL - Compiler Lib - Add missing error logging

	Missing appendLogToCL is added to IsValidCompilationOption functions.

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

	[reviewed] by Stas (http://ocltc.amd.com/reviews/r/14522)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/v0_8/if_acl.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#100 edit
2018-03-29 13:50:06 -04:00
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