Commit Graph

54851 Commits

Author SHA1 Message Date
Maneesh Gupta dbd818c4bd 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 458e978fb9 [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


[ROCm/clr commit: e8cc7c2e40]
2018-03-26 15:21:45 +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
Maneesh Gupta 21e0adc700 [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 efba533a93 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


[ROCm/clr commit: 0caa7e4cc1]
2018-03-24 03:12:32 -04:00
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 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 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
JamesAdrian Edwards 974ad106e3 Merge "Add libhsakmt.so to link command for ctrl executable." into amd-master 2018-03-23 17:00:43 -04:00
JamesAdrian Edwards 6aa3765c53 Merge "Add libhsakmt.so to link command for ctrl executable." into amd-master
[ROCm/rocprofiler commit: 974ad106e3]
2018-03-23 17:00:43 -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 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 7c6bdcb7a7 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


[ROCm/clr commit: bdd5200cfa]
2018-03-23 14:18:27 -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 a2b71e69ef 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 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 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
James Edwards ff14f63090 Add libhsakmt.so to link command for ctrl executable.
Change-Id: I3ca4c8a0a2a080a9a790ab455152b2d308a0de3f
2018-03-23 10:19:01 -05:00
James Edwards f0298ce7b2 Add libhsakmt.so to link command for ctrl executable.
Change-Id: I3ca4c8a0a2a080a9a790ab455152b2d308a0de3f


[ROCm/rocprofiler commit: ff14f63090]
2018-03-23 10:19:01 -05: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 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
Evgeny ef761725b4 sqtt size setting, ctx limit, heartbeat
Change-Id: I98de62e950b9201d03a9ca82cee9e2bbc2666e63
2018-03-23 03:19:05 -05:00
Evgeny 3de4327541 sqtt size setting, ctx limit, heartbeat
Change-Id: I98de62e950b9201d03a9ca82cee9e2bbc2666e63


[ROCm/rocprofiler commit: ef761725b4]
2018-03-23 03:19:05 -05:00
foreman b2710830ca 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


[ROCm/clr commit: 4a60726fc4]
2018-03-23 03:10:21 -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 ebec35b469 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


[ROCm/clr commit: c531507708]
2018-03-23 00:19:22 -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 8e99c0960b 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 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 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 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 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 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 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 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 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 b55f919e5a 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


[ROCm/clr commit: 41404377b1]
2018-03-22 03:12:27 -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
Evgeny f0dc77195d wait list final waiting
Change-Id: I2270dfa803875e480703cd1b87f175c3d762ed2c
2018-03-21 22:15:47 -05:00
Evgeny dcf4c41ad4 wait list final waiting
Change-Id: I2270dfa803875e480703cd1b87f175c3d762ed2c


[ROCm/rocprofiler commit: f0dc77195d]
2018-03-21 22:15:47 -05:00
Evgeny aea5d8e0d9 context array valid bit reverted
Change-Id: Ibbbf19ffd2e66750d7296d2b45850c21bb86445a
2018-03-21 21:11:42 -05:00
Evgeny ade8a8c868 context array valid bit reverted
Change-Id: Ibbbf19ffd2e66750d7296d2b45850c21bb86445a


[ROCm/rocprofiler commit: aea5d8e0d9]
2018-03-21 21:11:42 -05:00
Laurent Morichetti 941fb5f336 Merge remote-tracking branch 'upstream/master'
[ROCm/clr commit: 8f4c368dce]
2018-03-21 11:17:52 -07:00
Laurent Morichetti 8f4c368dce Merge remote-tracking branch 'upstream/master' 2018-03-21 11:17:52 -07:00
Laurent Morichetti a5e04c9706 Merge remote-tracking branch 'upstream/master' 2018-03-21 11:17:52 -07:00
Laurent Morichetti 048ffb1693 Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename hipLaunch->hipLaunchByPtr.
[ROCm/clr commit: 84a723b2dc]
2018-03-21 11:07:21 -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
Laurent Morichetti a06b21c500 Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename hipLaunch->hipLaunchByPtr. 2018-03-21 11:07:21 -07:00
foreman dff2645b45 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


[ROCm/clr commit: 2c0282ae12]
2018-03-21 03:50:41 -04: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