Commit Graph

54851 Commits

Author SHA1 Message Date
foreman 80497c6475 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


[ROCm/clr commit: de2ddfbee4]
2018-03-30 03:18:51 -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 466cb9634d 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


[ROCm/clr commit: 9504ce2bc4]
2018-03-30 01:06:00 -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 dd4b380661 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
Shaoyun Liu aa28484583 Thunk: Add gfx904 support on libthunk
Change-Id: I78bc623f6b86293e2bf9fbe00a646d152faafdc4
Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
2018-03-29 18:21:02 -04:00
Shaoyun Liu 06978d2a31 Thunk: Add gfx904 support on libthunk
Change-Id: I78bc623f6b86293e2bf9fbe00a646d152faafdc4
Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>


[ROCm/ROCR-Runtime commit: aa28484583]
2018-03-29 18:21:02 -04:00
Evgeny 5d0a73af17 replacing throw with abort in Context destructor 2018-03-29 15:28:59 -05:00
Evgeny 3c98242e09 replacing throw with abort in Context destructor
[ROCm/rocprofiler commit: 5d0a73af17]
2018-03-29 15:28:59 -05:00
foreman 065296f8f5 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


[ROCm/clr commit: 63ac798b50]
2018-03-29 15:03:19 -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 ff6fbed446 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


[ROCm/clr commit: 641fd3c85c]
2018-03-29 13:50:06 -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 7ddcf0a685 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


[ROCm/clr commit: 76857ed61a]
2018-03-29 03:09:33 -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 ec93df6513 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


[ROCm/clr commit: 416cba1233]
2018-03-28 19:23:57 -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 01c8c585f4 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 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 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 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 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 897b8b48f5 Remove textureObj kernel argument for HIP/HCC path
[ROCm/clr commit: 35bc23ecc3]
2018-03-28 15:36:57 +05:30
Rahul Garg 35bc23ecc3 Remove textureObj kernel argument for HIP/HCC path 2018-03-28 15:36:57 +05:30
Rahul Garg 017a6fb059 Remove textureObj kernel argument for HIP/HCC path 2018-03-28 15:36:57 +05:30
foreman 8edced52b8 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


[ROCm/clr commit: a831db655f]
2018-03-28 03:09:00 -04:00
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
Evgeny 5524c7b7ba adding kernel name truncating till the base name for sqtt files labeling and results; verbose mode 2018-03-27 16:44:58 -05:00
Evgeny 602df3d47f adding kernel name truncating till the base name for sqtt files labeling and results; verbose mode
[ROCm/rocprofiler commit: 5524c7b7ba]
2018-03-27 16:44:58 -05: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 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 9b841021c2 Merge 'master' into 'amd-master'
Change-Id: I0f076ee4d0d5a725856f689383600820544bde18


[ROCm/clr commit: 43082564bc]
2018-03-27 04:10:07 -05:00
Jenkins 43082564bc Merge 'master' into 'amd-master'
Change-Id: I0f076ee4d0d5a725856f689383600820544bde18
2018-03-27 04:10:07 -05:00
Jenkins cd15e9dc4d Merge 'master' into 'amd-master'
Change-Id: I0f076ee4d0d5a725856f689383600820544bde18
2018-03-27 04:10:07 -05:00
foreman c36109205c 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


[ROCm/clr commit: 987c092500]
2018-03-27 03:15:21 -04: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 ebd0aa3b47 Merge pull request #382 from scchan/fix_texture_addr_space
Change constant address space to 4

[ROCm/clr commit: c1505becef]
2018-03-27 07:48:50 +05:30
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
Maneesh Gupta 0b25a2cb40 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 54357260e8 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.


[ROCm/clr commit: 53d9cce9f9]
2018-03-26 18:13:59 -04:00
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
Siu Chi Chan 0d8b97274a 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 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 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 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 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
Konstantin Zhuravlyov e4c6a3ae28 Convert old target names to old new target names.
Change-Id: I701651d74f353e234556e4bf5d50d63c598e5f15
2018-03-26 11:59:13 -04:00
Konstantin Zhuravlyov 696bb12601 Convert old target names to old new target names.
Change-Id: I701651d74f353e234556e4bf5d50d63c598e5f15


[ROCm/ROCR-Runtime commit: e4c6a3ae28]
2018-03-26 11:59:13 -04:00
Maneesh Gupta 2d95f5a627 Merge pull request #379 from lmoriche/master
Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename …

[ROCm/clr commit: a95ff17549]
2018-03-26 15:38:02 +05:30
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