76333 次程式碼提交

作者 SHA1 備註 日期
foreman 38a9a7201e P4 to Git Change 1454728 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/02 03:00:03
SWDEV-2 - Change OpenCL version number from 2490 to 2491.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2238 edit
2017-09-02 03:17:42 -04:00
Amber Lin 117fa5034b Fix PmcGetCounterProperties
Blocks inside of HsaCounterProperties structure is not a fixed size. It
varies with number of counters in the block -- size of Counters in
HsaCounterBlockProperties is different in every block. Current
implementation assumes fixed size and the next block will overwrite the
previous block's Counters. This patch change the array implementation to
using a pointer so it'll move the next block to the correction position.

Change-Id: I72800f4db5f2a68215fba477a61ca07ec99054bf
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2017-09-01 17:58:15 -04:00
Amber Lin 784e3dc3c6 Fix PmcGetCounterProperties
Blocks inside of HsaCounterProperties structure is not a fixed size. It
varies with number of counters in the block -- size of Counters in
HsaCounterBlockProperties is different in every block. Current
implementation assumes fixed size and the next block will overwrite the
previous block's Counters. This patch change the array implementation to
using a pointer so it'll move the next block to the correction position.

Change-Id: I72800f4db5f2a68215fba477a61ca07ec99054bf
Signed-off-by: Amber Lin <Amber.Lin@amd.com>


[ROCm/ROCR-Runtime commit: 117fa5034b]
2017-09-01 17:58:15 -04:00
foreman d347b6c0c7 P4 to Git Change 1454419 by lmoriche@lmoriche_opencl_dev2 on 2017/09/01 11:33:04
SWDEV-1 - Khronos GIT import (08/31/17)

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/LICENSE.txt#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/OpenCL.def.in#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/OpenCL.rc#18 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.c#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.h#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.c#30 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.h#25 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_exports.map.in#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_linux.c#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows.c#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#44 edit


[ROCm/clr commit: a89198e6ea]
2017-09-01 10:46:06 -05:00
foreman a89198e6ea P4 to Git Change 1454419 by lmoriche@lmoriche_opencl_dev2 on 2017/09/01 11:33:04
SWDEV-1 - Khronos GIT import (08/31/17)

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/LICENSE.txt#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/OpenCL.def.in#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/OpenCL.rc#18 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.c#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.h#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.c#30 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.h#25 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_exports.map.in#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_linux.c#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows.c#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#44 edit
2017-09-01 10:46:06 -05:00
foreman 98da5a1381 P4 to Git Change 1454218 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/01 03:00:04
SWDEV-2 - Change OpenCL version number from 2489 to 2490.

Affected files ...

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


[ROCm/clr commit: 86752f8861]
2017-09-01 03:17:07 -04:00
foreman 86752f8861 P4 to Git Change 1454218 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/01 03:00:04
SWDEV-2 - Change OpenCL version number from 2489 to 2490.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2237 edit
2017-09-01 03:17:07 -04:00
Sean Keely f1a661dedb Report tools library load failures in debug builds.
Change-Id: Ie1ff313e929fc46134e58730a1d370c5d7ace8db
2017-08-31 21:32:48 -04:00
Sean Keely e150edc48c Report tools library load failures in debug builds.
Change-Id: Ie1ff313e929fc46134e58730a1d370c5d7ace8db


[ROCm/ROCR-Runtime commit: f1a661dedb]
2017-08-31 21:32:48 -04:00
foreman d4a869c3b9 P4 to Git Change 1454130 by asalmanp@asalmanp-ocl-stg on 2017/08/31 20:49:52
SWDEV-79278 - [OCL][VG12] adding missing VG12 ID

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/13376/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#29 edit


[ROCm/clr commit: 3e3852fc90]
2017-08-31 21:00:37 -04:00
foreman 3e3852fc90 P4 to Git Change 1454130 by asalmanp@asalmanp-ocl-stg on 2017/08/31 20:49:52
SWDEV-79278 - [OCL][VG12] adding missing VG12 ID

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/13376/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#29 edit
2017-08-31 21:00:37 -04:00
foreman 60bf1fff2f P4 to Git Change 1453901 by gandryey@gera-w8 on 2017/08/31 14:34:49
SWDEV-86035 - Code clean-up
	- Use TS check first to avoid LogError
	- Reset VirtualGPU reference if resource was cached
	- Lock active VirtualGPU on release, since a cached resource can have access to that queue from another thread

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#30 edit


[ROCm/clr commit: 38c1488dfd]
2017-08-31 14:50:36 -04:00
foreman 38c1488dfd P4 to Git Change 1453901 by gandryey@gera-w8 on 2017/08/31 14:34:49
SWDEV-86035 - Code clean-up
	- Use TS check first to avoid LogError
	- Reset VirtualGPU reference if resource was cached
	- Lock active VirtualGPU on release, since a cached resource can have access to that queue from another thread

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#30 edit
2017-08-31 14:50:36 -04:00
foreman a0c2a818c5 P4 to Git Change 1453746 by asalmanp@asalmanp-ocl-stg on 2017/08/31 10:53:40
SWDEV-79278 - [OCL][NV10] adding Pal::GfxIpLevel::GfxIp10 into couple of places and fixing a typo in GfxIpDeviceInfo table (gfx801 should be 810)

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/13369/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#28 edit


[ROCm/clr commit: 2b07a14f50]
2017-08-31 11:10:32 -04:00
foreman 2b07a14f50 P4 to Git Change 1453746 by asalmanp@asalmanp-ocl-stg on 2017/08/31 10:53:40
SWDEV-79278 - [OCL][NV10] adding Pal::GfxIpLevel::GfxIp10 into couple of places and fixing a typo in GfxIpDeviceInfo table (gfx801 should be 810)

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/13369/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#28 edit
2017-08-31 11:10:32 -04:00
Laurent Morichetti 0f05ef73ac Include <errno.h> for EBUSY
Change-Id: I9fa3417445866f3ce37af2169f623afa8e92e873
2017-08-31 07:32:51 -07:00
Laurent Morichetti b2cb6bca96 Include <errno.h> for EBUSY
Change-Id: I9fa3417445866f3ce37af2169f623afa8e92e873


[ROCm/ROCR-Runtime commit: 0f05ef73ac]
2017-08-31 07:32:51 -07:00
Jenkins 96173dde81 Merge 'master' into 'amd-master'
Change-Id: I815c98287213e742673caafec084cbd5ed11b1c7


[ROCm/clr commit: 1a7c86358e]
2017-08-31 04:11:13 -05:00
Jenkins 1a7c86358e Merge 'master' into 'amd-master'
Change-Id: I815c98287213e742673caafec084cbd5ed11b1c7
2017-08-31 04:11:13 -05:00
Jenkins 147604928e Merge 'master' into 'amd-master'
Change-Id: I815c98287213e742673caafec084cbd5ed11b1c7


[ROCm/hip commit: 913f706aed]
2017-08-31 04:11:13 -05:00
Jenkins 913f706aed Merge 'master' into 'amd-master'
Change-Id: I815c98287213e742673caafec084cbd5ed11b1c7
2017-08-31 04:11:13 -05:00
foreman 8cfdfe68cb P4 to Git Change 1453619 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/31 03:00:04
SWDEV-2 - Change OpenCL version number from 2488 to 2489.

Affected files ...

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


[ROCm/clr commit: 06c254beb0]
2017-08-31 03:15:55 -04:00
foreman 06c254beb0 P4 to Git Change 1453619 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/31 03:00:04
SWDEV-2 - Change OpenCL version number from 2488 to 2489.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2236 edit
2017-08-31 03:15:55 -04:00
Ben Sander 5134d6a2e9 hipStreamQuery uses av::is_empty. Add HIP_FORCE_NULL_STREAM.
[ROCm/clr commit: fff74eee21]
2017-08-31 03:00:14 +00:00
Ben Sander fff74eee21 hipStreamQuery uses av::is_empty. Add HIP_FORCE_NULL_STREAM. 2017-08-31 03:00:14 +00:00
Ben Sander cbbb0826f2 hipStreamQuery uses av::is_empty. Add HIP_FORCE_NULL_STREAM.
[ROCm/hip commit: 4ac6d643c1]
2017-08-31 03:00:14 +00:00
Ben Sander 4ac6d643c1 hipStreamQuery uses av::is_empty. Add HIP_FORCE_NULL_STREAM. 2017-08-31 03:00:14 +00:00
Ben Sander b45217fef0 Refactor hipStreamWaitEvent
- Null streams use same flow as non-null.
- Add HIP_SYNC_STREAM_WAIT
- Resolve null stream.


[ROCm/clr commit: ed8c3ba7e7]
2017-08-31 03:00:14 +00:00
Ben Sander ed8c3ba7e7 Refactor hipStreamWaitEvent
- Null streams use same flow as non-null.
- Add HIP_SYNC_STREAM_WAIT
- Resolve null stream.
2017-08-31 03:00:14 +00:00
Ben Sander 2a23d6dbe7 Refactor hipStreamWaitEvent
- Null streams use same flow as non-null.
- Add HIP_SYNC_STREAM_WAIT
- Resolve null stream.


[ROCm/hip commit: 882dab4536]
2017-08-31 03:00:14 +00:00
Ben Sander 882dab4536 Refactor hipStreamWaitEvent
- Null streams use same flow as non-null.
- Add HIP_SYNC_STREAM_WAIT
- Resolve null stream.
2017-08-31 03:00:14 +00:00
Chris Freehill 92e46584f8 Async mem. copy test with NUMA awareness
Change-Id: If655ac4c087be2d379e868aad83812f2437d78b9
2017-08-30 21:35:37 -04:00
Chris Freehill af02d06972 Async mem. copy test with NUMA awareness
Change-Id: If655ac4c087be2d379e868aad83812f2437d78b9


[ROCm/ROCR-Runtime commit: 92e46584f8]
2017-08-30 21:35:37 -04:00
foreman 77256aebbe P4 to Git Change 1453366 by asalmanp@asalmanp-ocl-stg on 2017/08/30 15:16:37
SWDEV-128844 - OpenCL conformance test 2.0/gl/test_gl.exe fails to run on Vega10

	Before switching to PAL on gfx9, we didn’t need to pass any argument for running Conformance tests and the first GPU device was selected automatically to run the tests.
	But after switching to PAL, we need to explicitly pass either “gpu” or “GPU_DEVICE_TYPE_GPU” as an argument to run Conformance tests otherwise the tests are failing (clGetDeviceIDs failure)

	The reason for this issue is that the logic for creating device and null devices (offline devices) changed after switching to PAL for gfx9+ devices.

	To fix this issue, don’t assign an offline device as "default" device.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#212 edit


[ROCm/clr commit: 7335e429cb]
2017-08-30 15:37:01 -04:00
foreman 7335e429cb P4 to Git Change 1453366 by asalmanp@asalmanp-ocl-stg on 2017/08/30 15:16:37
SWDEV-128844 - OpenCL conformance test 2.0/gl/test_gl.exe fails to run on Vega10

	Before switching to PAL on gfx9, we didn’t need to pass any argument for running Conformance tests and the first GPU device was selected automatically to run the tests.
	But after switching to PAL, we need to explicitly pass either “gpu” or “GPU_DEVICE_TYPE_GPU” as an argument to run Conformance tests otherwise the tests are failing (clGetDeviceIDs failure)

	The reason for this issue is that the logic for creating device and null devices (offline devices) changed after switching to PAL for gfx9+ devices.

	To fix this issue, don’t assign an offline device as "default" device.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#212 edit
2017-08-30 15:37:01 -04:00
foreman 11234a1ffd P4 to Git Change 1453266 by fdaniil@rocm_spec on 2017/08/30 12:27:36
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment

	Update from git http://git.amd.com:8080/#/c/103512/

	1. fixed ninja warning on multiple targets generating .inc files
	2. added libamdocl64.so and libOpenCL.so.1.2 libraries installation into install/lib
	3. added Khronos OpenCL headers installation into install/include
	4. added clinfo application installation int install/bin
	5. removed installation of dozens of LLVM libs and tools
	6. fixed minor misspellings in llvm options setup

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#15 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#9 edit
... //depot/stg/opencl/drivers/opencl/tools/clinfo/CMakeLists.txt#3 edit


[ROCm/clr commit: bd0e789f7c]
2017-08-30 12:44:23 -04:00
foreman bd0e789f7c P4 to Git Change 1453266 by fdaniil@rocm_spec on 2017/08/30 12:27:36
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment

	Update from git http://git.amd.com:8080/#/c/103512/

	1. fixed ninja warning on multiple targets generating .inc files
	2. added libamdocl64.so and libOpenCL.so.1.2 libraries installation into install/lib
	3. added Khronos OpenCL headers installation into install/include
	4. added clinfo application installation int install/bin
	5. removed installation of dozens of LLVM libs and tools
	6. fixed minor misspellings in llvm options setup

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#15 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#9 edit
... //depot/stg/opencl/drivers/opencl/tools/clinfo/CMakeLists.txt#3 edit
2017-08-30 12:44:23 -04:00
foreman 6be88c5152 P4 to Git Change 1453266 by fdaniil@rocm_spec on 2017/08/30 12:27:36
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment

	Update from git http://git.amd.com:8080/#/c/103512/

	1. fixed ninja warning on multiple targets generating .inc files
	2. added libamdocl64.so and libOpenCL.so.1.2 libraries installation into install/lib
	3. added Khronos OpenCL headers installation into install/include
	4. added clinfo application installation int install/bin
	5. removed installation of dozens of LLVM libs and tools
	6. fixed minor misspellings in llvm options setup

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#15 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#9 edit
... //depot/stg/opencl/drivers/opencl/tools/clinfo/CMakeLists.txt#3 edit


[ROCm/clr commit: 81a57cc378]
2017-08-30 12:44:23 -04:00
foreman 81a57cc378 P4 to Git Change 1453266 by fdaniil@rocm_spec on 2017/08/30 12:27:36
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment

	Update from git http://git.amd.com:8080/#/c/103512/

	1. fixed ninja warning on multiple targets generating .inc files
	2. added libamdocl64.so and libOpenCL.so.1.2 libraries installation into install/lib
	3. added Khronos OpenCL headers installation into install/include
	4. added clinfo application installation int install/bin
	5. removed installation of dozens of LLVM libs and tools
	6. fixed minor misspellings in llvm options setup

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#15 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#9 edit
... //depot/stg/opencl/drivers/opencl/tools/clinfo/CMakeLists.txt#3 edit
2017-08-30 12:44:23 -04:00
Amber Lin a74f6896ea Revert "Set guard page as disabled as default"
This reverts commit 65d680c035.

Change-Id: I09b7e7915ec4759cab57d5863089a2c4a44dfacd
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2017-08-30 10:48:23 -04:00
Amber Lin 2506a31248 Revert "Set guard page as disabled as default"
This reverts commit 4d839c4dc6.

Change-Id: I09b7e7915ec4759cab57d5863089a2c4a44dfacd
Signed-off-by: Amber Lin <Amber.Lin@amd.com>


[ROCm/ROCR-Runtime commit: a74f6896ea]
2017-08-30 10:48:23 -04:00
foreman 523163bf32 P4 to Git Change 1453046 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/30 03:00:04
SWDEV-2 - Change OpenCL version number from 2487 to 2488.

Affected files ...

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


[ROCm/clr commit: 2a0e896048]
2017-08-30 03:33:56 -04:00
foreman 2a0e896048 P4 to Git Change 1453046 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/30 03:00:04
SWDEV-2 - Change OpenCL version number from 2487 to 2488.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2235 edit
2017-08-30 03:33:56 -04:00
Ben Sander 13dabd677c Merge pull request #167 from bensander/event_safety
Event safety

[ROCm/clr commit: 8add022539]
2017-08-29 13:55:46 -05:00
Ben Sander 8add022539 Merge pull request #167 from bensander/event_safety
Event safety
2017-08-29 13:55:46 -05:00
Ben Sander f66a03fa9c Merge pull request #167 from bensander/event_safety
Event safety

[ROCm/hip commit: cc08b36647]
2017-08-29 13:55:46 -05:00
Ben Sander cc08b36647 Merge pull request #167 from bensander/event_safety
Event safety
2017-08-29 13:55:46 -05:00
Ben Sander f39e87de0e Merge pull request #166 from gargrahul/input_ptr_null_check
Null check on input pointer arguments

[ROCm/clr commit: ed3325f952]
2017-08-29 13:55:38 -05:00
Ben Sander ed3325f952 Merge pull request #166 from gargrahul/input_ptr_null_check
Null check on input pointer arguments
2017-08-29 13:55:38 -05:00
Ben Sander 9977f3c352 Merge pull request #166 from gargrahul/input_ptr_null_check
Null check on input pointer arguments

[ROCm/hip commit: 3c172aabe7]
2017-08-29 13:55:38 -05:00