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

54851 Коміти

Автор SHA1 Повідомлення Дата
Evgeny ce72ce0c92 adding aqlprofile member to HsaApiTable
Change-Id: Id674186dfa2e83295a51f770ccc0400f1cb51a98


[ROCm/ROCR-Runtime commit: 287afd3a52]
2017-08-09 16:09:39 -05:00
foreman 4c15f5089b P4 to Git Change 1445200 by skeely@skeely_HSA_linux on 2017/08/09 15:59:56
SWDEV-124331 - Follow HSA loader spec.

	Extend lifetime of loaded ELF and code reader to the lifetime of the loaded executable.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#27 edit


[ROCm/clr commit: 2211f5f559]
2017-08-09 16:24:27 -04:00
foreman 2211f5f559 P4 to Git Change 1445200 by skeely@skeely_HSA_linux on 2017/08/09 15:59:56
SWDEV-124331 - Follow HSA loader spec.

	Extend lifetime of loaded ELF and code reader to the lifetime of the loaded executable.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#27 edit
2017-08-09 16:24:27 -04:00
Felix Kuehling 78e683acf4 Changes to run on old kernels
Fall back to older apertures API and old events page size if the new APIs
fail. This allows running on current upstream kernels (with only minor
fixes) on gfx801 and enables testing of further changes during upstreaming.

Change-Id: I9d86d4f576e52fcbb5bc158d80f1bf41261e4e87
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2017-08-09 16:12:54 -04:00
Felix Kuehling 3f12312b4f Changes to run on old kernels
Fall back to older apertures API and old events page size if the new APIs
fail. This allows running on current upstream kernels (with only minor
fixes) on gfx801 and enables testing of further changes during upstreaming.

Change-Id: I9d86d4f576e52fcbb5bc158d80f1bf41261e4e87
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>


[ROCm/ROCR-Runtime commit: 78e683acf4]
2017-08-09 16:12:54 -04:00
foreman f089bd78bb P4 to Git Change 1445015 by jatang@jatang-opencl-hsa-stg1 on 2017/08/09 09:53:58
SWDEV-121625 - Fix a memory leak.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#34 edit


[ROCm/clr commit: ee24635439]
2017-08-09 10:07:10 -04:00
foreman ee24635439 P4 to Git Change 1445015 by jatang@jatang-opencl-hsa-stg1 on 2017/08/09 09:53:58
SWDEV-121625 - Fix a memory leak.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#34 edit
2017-08-09 10:07:10 -04:00
Maneesh Gupta 97aabed5f4 Merge pull request #147 from mangupta/bump_workweek
Bump min hcc_workweek required for named kernel dispatch to 17312

[ROCm/clr commit: 077c5a75af]
2017-08-09 14:10:07 +05:30
Maneesh Gupta 077c5a75af Merge pull request #147 from mangupta/bump_workweek
Bump min hcc_workweek required for named kernel dispatch to 17312
2017-08-09 14:10:07 +05:30
Maneesh Gupta fa3f9c2474 Merge pull request #147 from mangupta/bump_workweek
Bump min hcc_workweek required for named kernel dispatch to 17312
2017-08-09 14:10:07 +05:30
foreman eb72ffa150 P4 to Git Change 1444919 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/09 03:00:05
SWDEV-2 - Change OpenCL version number from 2471 to 2472.

Affected files ...

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


[ROCm/clr commit: f0156efc5b]
2017-08-09 03:13:00 -04:00
foreman f0156efc5b P4 to Git Change 1444919 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/09 03:00:05
SWDEV-2 - Change OpenCL version number from 2471 to 2472.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2219 edit
2017-08-09 03:13:00 -04:00
Weixing Zhang a7f95bb8ee [HIP Texture] The GPU virtual address for texture memory needs to be
aligned.

In hcc_am, a bigger buffer will be allocated for alignment purpose
and _unalignedDevicePointer is added in struct AmPointerInfo for
original allocated address.


[ROCm/clr commit: e4de2d1138]
2017-08-08 11:18:00 -04:00
Weixing Zhang e4de2d1138 [HIP Texture] The GPU virtual address for texture memory needs to be
aligned.

In hcc_am, a bigger buffer will be allocated for alignment purpose
and _unalignedDevicePointer is added in struct AmPointerInfo for
original allocated address.
2017-08-08 11:18:00 -04:00
Weixing Zhang 4264a4ce56 [HIP Texture] The GPU virtual address for texture memory needs to be
aligned.

In hcc_am, a bigger buffer will be allocated for alignment purpose
and _unalignedDevicePointer is added in struct AmPointerInfo for
original allocated address.
2017-08-08 11:18:00 -04:00
Evgeny 4824a2db0b Adding HSA_API macro to the API method declarations to be consistent with other HSA header files, TCS removing
Change-Id: Ic217d3b2bdbb22d3600c5ecaacb7ab53bf26096a
2017-08-08 10:46:12 -04:00
Evgeny 200067f1be Adding HSA_API macro to the API method declarations to be consistent with other HSA header files, TCS removing
Change-Id: Ic217d3b2bdbb22d3600c5ecaacb7ab53bf26096a


[ROCm/ROCR-Runtime commit: 4824a2db0b]
2017-08-08 10:46:12 -04:00
Chris Freehill 783a28b68c Remove build of non-existent project
Change-Id: I6b2c59e67c2d2a320e705b725f8c779b9913759a
2017-08-08 10:03:36 -04:00
Chris Freehill e16e5fb048 Remove build of non-existent project
Change-Id: I6b2c59e67c2d2a320e705b725f8c779b9913759a


[ROCm/ROCR-Runtime commit: 783a28b68c]
2017-08-08 10:03:36 -04:00
foreman 1cf1afd0b1 P4 to Git Change 1444368 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/08 03:00:05
SWDEV-2 - Change OpenCL version number from 2470 to 2471.

Affected files ...

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


[ROCm/clr commit: fefb3cdd96]
2017-08-08 03:13:29 -04:00
foreman fefb3cdd96 P4 to Git Change 1444368 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/08 03:00:05
SWDEV-2 - Change OpenCL version number from 2470 to 2471.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2218 edit
2017-08-08 03:13:29 -04:00
Maneesh Gupta 51c48e4cef Bump min hcc_workweek required for named kernel dispatch to 17312
Change-Id: I8c7b58306b279ed113d03260e4bc6086bb8b4e68


[ROCm/clr commit: dabd6d2bc6]
2017-08-08 11:08:55 +05:30
Maneesh Gupta dabd6d2bc6 Bump min hcc_workweek required for named kernel dispatch to 17312
Change-Id: I8c7b58306b279ed113d03260e4bc6086bb8b4e68
2017-08-08 11:08:55 +05:30
Maneesh Gupta 8d6acec135 Bump min hcc_workweek required for named kernel dispatch to 17312
Change-Id: I8c7b58306b279ed113d03260e4bc6086bb8b4e68
2017-08-08 11:08:55 +05:30
foreman 114902e52e P4 to Git Change 1444314 by lmoriche@lmoriche_palamida on 2017/08/08 00:46:38
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Restore the change in CL#1444178, was - Use the internal libelf instead of the system's when building with cmake.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#10 edit


[ROCm/clr commit: b6c867ed8b]
2017-08-08 00:59:55 -04:00
foreman b6c867ed8b P4 to Git Change 1444314 by lmoriche@lmoriche_palamida on 2017/08/08 00:46:38
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Restore the change in CL#1444178, was - Use the internal libelf instead of the system's when building with cmake.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#10 edit
2017-08-08 00:59:55 -04:00
foreman 6bbfea6065 P4 to Git Change 1444296 by lmoriche@lmoriche_palamida on 2017/08/08 00:10:29
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Disable LLVM object compression. Allows closed source LLVM binaries to run with the open source runtime
	- Define the DEBUG macro for Debug build types
	- Use the prepared amdgcn lib instead of the static lib when generating the .bc includes for the runtime.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#14 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#8 edit


[ROCm/clr commit: f27162ba57]
2017-08-08 00:31:20 -04:00
foreman f27162ba57 P4 to Git Change 1444296 by lmoriche@lmoriche_palamida on 2017/08/08 00:10:29
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Disable LLVM object compression. Allows closed source LLVM binaries to run with the open source runtime
	- Define the DEBUG macro for Debug build types
	- Use the prepared amdgcn lib instead of the static lib when generating the .bc includes for the runtime.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#14 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#8 edit
2017-08-08 00:31:20 -04:00
foreman 27fd9ccb0d P4 to Git Change 1444296 by lmoriche@lmoriche_palamida on 2017/08/08 00:10:29
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Disable LLVM object compression. Allows closed source LLVM binaries to run with the open source runtime
	- Define the DEBUG macro for Debug build types
	- Use the prepared amdgcn lib instead of the static lib when generating the .bc includes for the runtime.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#14 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#8 edit


[ROCm/clr commit: c0cdecf544]
2017-08-08 00:31:20 -04:00
foreman c0cdecf544 P4 to Git Change 1444296 by lmoriche@lmoriche_palamida on 2017/08/08 00:10:29
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Disable LLVM object compression. Allows closed source LLVM binaries to run with the open source runtime
	- Define the DEBUG macro for Debug build types
	- Use the prepared amdgcn lib instead of the static lib when generating the .bc includes for the runtime.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#14 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#8 edit
2017-08-08 00:31:20 -04:00
Rahul Garg 93d30119d0 docs update for memcpytosymbol support
[ROCm/clr commit: a8512b7597]
2017-08-08 09:13:12 +05:30
Rahul Garg a8512b7597 docs update for memcpytosymbol support 2017-08-08 09:13:12 +05:30
Rahul Garg eb25bd72db docs update for memcpytosymbol support 2017-08-08 09:13:12 +05:30
Rahul Garg 687fac97dc Updated context management logic:
1) hipSetDevice sets a flag so that next call to hipCtxGetCurrent returns primary context on current device
2) hipCtxGetCurrent returns primary context on current device if TLS context stack is empty
3) hipCtxPopCurrent falls back to primary context on current device as default
4) hipCtxPushCurrent, hipCtxSetCurrent and hipCtxCreate reset the flag set in hipSetDevice


[ROCm/clr commit: c4e9323877]
2017-08-08 07:02:22 +05:30
Rahul Garg c4e9323877 Updated context management logic:
1) hipSetDevice sets a flag so that next call to hipCtxGetCurrent returns primary context on current device
2) hipCtxGetCurrent returns primary context on current device if TLS context stack is empty
3) hipCtxPopCurrent falls back to primary context on current device as default
4) hipCtxPushCurrent, hipCtxSetCurrent and hipCtxCreate reset the flag set in hipSetDevice
2017-08-08 07:02:22 +05:30
Rahul Garg 3e84cf4aba Updated context management logic:
1) hipSetDevice sets a flag so that next call to hipCtxGetCurrent returns primary context on current device
2) hipCtxGetCurrent returns primary context on current device if TLS context stack is empty
3) hipCtxPopCurrent falls back to primary context on current device as default
4) hipCtxPushCurrent, hipCtxSetCurrent and hipCtxCreate reset the flag set in hipSetDevice
2017-08-08 07:02:22 +05:30
foreman adac402caa P4 to Git Change 1444178 by lmoriche@lmoriche_opencl_dev2 on 2017/08/07 14:50:37
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Use the internal libelf instead of the system's when building with cmake.
	- Don't include codecvt if WITH_LIQUID_FLASH is not defined
	- Don't memset the device::Kernel::workGroupInfo_, there's a std::string in it. The constructor already zeroes all the fields.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#8 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#25 edit


[ROCm/clr commit: bc473f8a3c]
2017-08-07 15:00:33 -04:00
foreman bc473f8a3c P4 to Git Change 1444178 by lmoriche@lmoriche_opencl_dev2 on 2017/08/07 14:50:37
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Use the internal libelf instead of the system's when building with cmake.
	- Don't include codecvt if WITH_LIQUID_FLASH is not defined
	- Don't memset the device::Kernel::workGroupInfo_, there's a std::string in it. The constructor already zeroes all the fields.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#8 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#25 edit
2017-08-07 15:00:33 -04:00
foreman d780734803 P4 to Git Change 1444178 by lmoriche@lmoriche_opencl_dev2 on 2017/08/07 14:50:37
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Use the internal libelf instead of the system's when building with cmake.
	- Don't include codecvt if WITH_LIQUID_FLASH is not defined
	- Don't memset the device::Kernel::workGroupInfo_, there's a std::string in it. The constructor already zeroes all the fields.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#8 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#25 edit


[ROCm/clr commit: fdba30e5cc]
2017-08-07 15:00:33 -04:00
foreman fdba30e5cc P4 to Git Change 1444178 by lmoriche@lmoriche_opencl_dev2 on 2017/08/07 14:50:37
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Use the internal libelf instead of the system's when building with cmake.
	- Don't include codecvt if WITH_LIQUID_FLASH is not defined
	- Don't memset the device::Kernel::workGroupInfo_, there's a std::string in it. The constructor already zeroes all the fields.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#8 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#25 edit
2017-08-07 15:00:33 -04:00
foreman ca3a1ca083 P4 to Git Change 1443936 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/05 03:00:05
SWDEV-2 - Change OpenCL version number from 2469 to 2470.

Affected files ...

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


[ROCm/clr commit: 11d000a8c4]
2017-08-05 03:18:14 -04:00
foreman 11d000a8c4 P4 to Git Change 1443936 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/05 03:00:05
SWDEV-2 - Change OpenCL version number from 2469 to 2470.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2217 edit
2017-08-05 03:18:14 -04:00
foreman beb6c4ee1c P4 to Git Change 1443821 by asalmanp@asalmanp-ocl-stg on 2017/08/04 16:24:19
SWDEV-79278 - [OCL][PAL] use HwPipeBottom to query the start time of an event.
	The reason is that if there are many dispatches run in a loop with profiling enabled, then it is possible that the HwPipeStart of an event can occur before the HwPipeBottom of the previous dispatch and this will affect the timing reported by profiling.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paltimestamp.cpp#3 edit


[ROCm/clr commit: 543cc3223a]
2017-08-04 16:48:42 -04:00
foreman 543cc3223a P4 to Git Change 1443821 by asalmanp@asalmanp-ocl-stg on 2017/08/04 16:24:19
SWDEV-79278 - [OCL][PAL] use HwPipeBottom to query the start time of an event.
	The reason is that if there are many dispatches run in a loop with profiling enabled, then it is possible that the HwPipeStart of an event can occur before the HwPipeBottom of the previous dispatch and this will affect the timing reported by profiling.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paltimestamp.cpp#3 edit
2017-08-04 16:48:42 -04:00
foreman 5a1b2dfb08 P4 to Git Change 1443478 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/04 03:00:04
SWDEV-2 - Change OpenCL version number from 2468 to 2469.

Affected files ...

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


[ROCm/clr commit: bc2edb53b1]
2017-08-04 03:17:42 -04:00
foreman bc2edb53b1 P4 to Git Change 1443478 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/04 03:00:04
SWDEV-2 - Change OpenCL version number from 2468 to 2469.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2216 edit
2017-08-04 03:17:42 -04:00
Evgeny 47322942b3 aqlprofile block list, explicit numbers assigned, IA removed
Change-Id: I9f9358f8e03e13eb81845de2e33dd5f3da27811a
2017-08-03 11:39:21 -04:00
Evgeny c0c32288ac aqlprofile block list, explicit numbers assigned, IA removed
Change-Id: I9f9358f8e03e13eb81845de2e33dd5f3da27811a


[ROCm/ROCR-Runtime commit: 47322942b3]
2017-08-03 11:39:21 -04:00
Yong Zhao d0e2872011 Add gfx902 support
Change-Id: Iefc6d1bea0d1d2ea8768867c53f16cdf1279d38f
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2017-08-03 10:27:56 -04:00
Yong Zhao 40cdf91bad Add gfx902 support
Change-Id: Iefc6d1bea0d1d2ea8768867c53f16cdf1279d38f
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>


[ROCm/ROCR-Runtime commit: d0e2872011]
2017-08-03 10:27:56 -04:00