Commit Graph

54851 Commitit

Tekijä SHA1 Viesti Päivämäärä
Sean Keely bc0bd00746 Fix queue interception in tools.
1. Correct amd::AqlQueue::ExecutePM4 to support interception.
2. Minor fixes to AqlPacket and SoftCP.
3. Minimal change to disable interception of runtime internal queues.

Change-Id: I103fece2ebf9a188d27f01e61221c737405d7253
2017-07-12 16:39:43 -04:00
Sean Keely 41ab59b1e7 Fix queue interception in tools.
1. Correct amd::AqlQueue::ExecutePM4 to support interception.
2. Minor fixes to AqlPacket and SoftCP.
3. Minimal change to disable interception of runtime internal queues.

Change-Id: I103fece2ebf9a188d27f01e61221c737405d7253


[ROCm/ROCR-Runtime commit: bc0bd00746]
2017-07-12 16:39:43 -04:00
Sean Keely 29b5b5c029 Correct handling of slow clocks under linux.
Change-Id: I9a1b08d5457caa6739220603bbd37b00febc64d7
2017-07-12 12:49:49 -04:00
Sean Keely 17d0e450cb Correct handling of slow clocks under linux.
Change-Id: I9a1b08d5457caa6739220603bbd37b00febc64d7


[ROCm/ROCR-Runtime commit: 29b5b5c029]
2017-07-12 12:49:49 -04:00
Wen-Heng (Jack) Chung c824a3ea0c Temporarily disables HCC_OPT_FLUSH
Change-Id: I290791e58dd52ab3823f6c3315e42b0d386e9d64


[ROCm/clr commit: 32909c4a92]
2017-07-12 16:08:36 +00:00
Wen-Heng (Jack) Chung 32909c4a92 Temporarily disables HCC_OPT_FLUSH
Change-Id: I290791e58dd52ab3823f6c3315e42b0d386e9d64
2017-07-12 16:08:36 +00:00
Wen-Heng (Jack) Chung 17555eabc0 Temporarily disables HCC_OPT_FLUSH
Change-Id: I290791e58dd52ab3823f6c3315e42b0d386e9d64
2017-07-12 16:08:36 +00:00
Wen-Heng (Jack) Chung 608adc7bbe Fix hip_db header inclusion path
Change-Id: I8a95798301de73887dde3316dc593a1847002712


[ROCm/clr commit: 0dcfd2b909]
2017-07-12 16:08:20 +00:00
Wen-Heng (Jack) Chung 0dcfd2b909 Fix hip_db header inclusion path
Change-Id: I8a95798301de73887dde3316dc593a1847002712
2017-07-12 16:08:20 +00:00
Wen-Heng (Jack) Chung 35ebfda9d4 Fix hip_db header inclusion path
Change-Id: I8a95798301de73887dde3316dc593a1847002712
2017-07-12 16:08:20 +00:00
Sean Keely 3e50adc7ce Properly order signal copy agent tagging with copy operation.
Change-Id: Ic428c958551279fbea1b2449afba930b82804ede
2017-07-11 13:10:00 -04:00
Sean Keely 19f96afee1 Properly order signal copy agent tagging with copy operation.
Change-Id: Ic428c958551279fbea1b2449afba930b82804ede


[ROCm/ROCR-Runtime commit: 3e50adc7ce]
2017-07-11 13:10:00 -04:00
Maneesh Gupta 05a92695a5 Merge pull request #97 from whchung/remove-address-spaces
Remove explicit address spaces declarations

[ROCm/clr commit: d4b908182d]
2017-07-11 11:36:53 +05:30
Maneesh Gupta d4b908182d Merge pull request #97 from whchung/remove-address-spaces
Remove explicit address spaces declarations
2017-07-11 11:36:53 +05:30
Maneesh Gupta 31f80182ca Merge pull request #97 from whchung/remove-address-spaces
Remove explicit address spaces declarations
2017-07-11 11:36:53 +05:30
Maneesh Gupta 0be2d65746 Merge pull request #96 from mangupta/fix_ci
Update CI docker scripts to use new repo server

[ROCm/clr commit: f05d2fcf20]
2017-07-11 11:36:42 +05:30
Maneesh Gupta f05d2fcf20 Merge pull request #96 from mangupta/fix_ci
Update CI docker scripts to use new repo server
2017-07-11 11:36:42 +05:30
Maneesh Gupta 32c94ba365 Merge pull request #96 from mangupta/fix_ci
Update CI docker scripts to use new repo server
2017-07-11 11:36:42 +05:30
Maneesh Gupta e10e7f4ccf [ci] Pass IP for repo.radeon.com as docker buildargs
[ROCm/clr commit: 1478814402]
2017-07-11 11:21:53 +05:30
Maneesh Gupta 1478814402 [ci] Pass IP for repo.radeon.com as docker buildargs 2017-07-11 11:21:53 +05:30
Maneesh Gupta 7ba09c4137 [ci] Pass IP for repo.radeon.com as docker buildargs 2017-07-11 11:21:53 +05:30
foreman 12c48c8c9e P4 to Git Change 1431716 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/08 03:00:05
SWDEV-2 - Change OpenCL version number from 2452 to 2453.

Affected files ...

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


[ROCm/clr commit: 825cc6cc73]
2017-07-08 03:14:49 -04:00
foreman 825cc6cc73 P4 to Git Change 1431716 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/08 03:00:05
SWDEV-2 - Change OpenCL version number from 2452 to 2453.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2200 edit
2017-07-08 03:14:49 -04:00
Sean Keely c9f0427cb0 Decrement hsa_init ref counter when init fails.
Change-Id: If9376344d4b559e601932d070731132c8450104e
2017-07-07 21:21:03 -05:00
Sean Keely cafbebc2a5 Decrement hsa_init ref counter when init fails.
Change-Id: If9376344d4b559e601932d070731132c8450104e


[ROCm/ROCR-Runtime commit: c9f0427cb0]
2017-07-07 21:21:03 -05:00
foreman 59fcaf4821 P4 to Git Change 1431618 by jatang@jatang-opencl-hsa-stg1 on 2017/07/07 16:47:09
SWDEV-126057 - Fix a segfault of libamdocl-rocr64.so when there's no vega10 is in the system.

	When there's no supported device, Device::devices_ is not created. So we add a check.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#56 edit


[ROCm/clr commit: a00fa77a6e]
2017-07-07 17:29:57 -04:00
foreman a00fa77a6e P4 to Git Change 1431618 by jatang@jatang-opencl-hsa-stg1 on 2017/07/07 16:47:09
SWDEV-126057 - Fix a segfault of libamdocl-rocr64.so when there's no vega10 is in the system.

	When there's no supported device, Device::devices_ is not created. So we add a check.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#56 edit
2017-07-07 17:29:57 -04:00
foreman a579ef4c46 P4 to Git Change 1431491 by gandryey@gera-w8 on 2017/07/07 14:07:22
SWDEV-122734 - [OCL]Carrizo crashes test on OCLperf in Windows 10
	- revert CL#142983. The crash still exists inside fprintf() for unknown reason. Could be memory corruption, which is difficult to reproduce

Affected files ...

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


[ROCm/clr commit: c0750db6d1]
2017-07-07 14:21:59 -04:00
foreman c0750db6d1 P4 to Git Change 1431491 by gandryey@gera-w8 on 2017/07/07 14:07:22
SWDEV-122734 - [OCL]Carrizo crashes test on OCLperf in Windows 10
	- revert CL#142983. The crash still exists inside fprintf() for unknown reason. Could be memory corruption, which is difficult to reproduce

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#211 edit
2017-07-07 14:21:59 -04:00
Wen-Heng (Jack) Chung 4ce97c30e9 Remove explicit address spaces declarations
[ROCm/clr commit: 0237aeab06]
2017-07-07 12:46:29 -05:00
Wen-Heng (Jack) Chung 0237aeab06 Remove explicit address spaces declarations 2017-07-07 12:46:29 -05:00
Wen-Heng (Jack) Chung 30ee797dd4 Remove explicit address spaces declarations 2017-07-07 12:46:29 -05:00
foreman 4873dfee87 P4 to Git Change 1431230 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/07 03:01:11
SWDEV-2 - Change OpenCL version number from 2451 to 2452.

Affected files ...

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


[ROCm/clr commit: 8727610142]
2017-07-07 03:18:51 -04:00
foreman 8727610142 P4 to Git Change 1431230 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/07 03:01:11
SWDEV-2 - Change OpenCL version number from 2451 to 2452.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2199 edit
2017-07-07 03:18:51 -04:00
Maneesh Gupta 86196a994b [ci] Use new repo server
[ROCm/clr commit: 6b0e0d11fc]
2017-07-07 10:36:05 +05:30
Maneesh Gupta 6b0e0d11fc [ci] Use new repo server 2017-07-07 10:36:05 +05:30
Maneesh Gupta 17a58bdca5 [ci] Use new repo server 2017-07-07 10:36:05 +05:30
foreman 83c951315a P4 to Git Change 1431060 by gandryey@gera-w8 on 2017/07/06 16:31:22
SWDEV-79445 - OCL generic changes and code clean-up
	- Return initialization failure if runtime couldn't find the library function

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodevice.cpp#3 edit


[ROCm/clr commit: 454da807df]
2017-07-06 16:57:49 -04:00
foreman 454da807df P4 to Git Change 1431060 by gandryey@gera-w8 on 2017/07/06 16:31:22
SWDEV-79445 - OCL generic changes and code clean-up
	- Return initialization failure if runtime couldn't find the library function

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodevice.cpp#3 edit
2017-07-06 16:57:49 -04:00
Amber Lin ac468f676c Replace lock file with shared memory
Performance counters have limited slots for concurrent profiling. We
need a mechanism to synchronize the slots access across different
processes. Lock file file was first used for this access control. It
reveals a RedHat bug that /var/lock, symbolic linked to /run/lock, is
not writable by others. To avoid this bug and to simplify the code,
POSIX shared memory is created to replace the lock file usage. Access
of the shared memory is controlled by semaphores.

Change-Id: I1e13c17f0e042fdfe6657afe8b3c88db7e84d292
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2017-07-06 13:48:34 -04:00
Amber Lin 5cb0798d6a Replace lock file with shared memory
Performance counters have limited slots for concurrent profiling. We
need a mechanism to synchronize the slots access across different
processes. Lock file file was first used for this access control. It
reveals a RedHat bug that /var/lock, symbolic linked to /run/lock, is
not writable by others. To avoid this bug and to simplify the code,
POSIX shared memory is created to replace the lock file usage. Access
of the shared memory is controlled by semaphores.

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


[ROCm/ROCR-Runtime commit: ac468f676c]
2017-07-06 13:48:34 -04:00
foreman 6e6ea534ce P4 to Git Change 1430607 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/06 03:00:05
SWDEV-2 - Change OpenCL version number from 2450 to 2451.

Affected files ...

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


[ROCm/clr commit: 7741fd5abf]
2017-07-06 03:14:45 -04:00
foreman 7741fd5abf P4 to Git Change 1430607 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/06 03:00:05
SWDEV-2 - Change OpenCL version number from 2450 to 2451.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2198 edit
2017-07-06 03:14:45 -04:00
Maneesh Gupta df2bbcf3bf Merge pull request #93 from kknox/jenkins-ci-squash
Initial Jenkinsfile and dockerfiles for CI

[ROCm/clr commit: 3a2f5f4a4b]
2017-07-06 12:21:49 +05:30
Maneesh Gupta 3a2f5f4a4b Merge pull request #93 from kknox/jenkins-ci-squash
Initial Jenkinsfile and dockerfiles for CI
2017-07-06 12:21:49 +05:30
Maneesh Gupta 16ba11c9c8 Merge pull request #93 from kknox/jenkins-ci-squash
Initial Jenkinsfile and dockerfiles for CI
2017-07-06 12:21:49 +05:30
Maneesh Gupta b897d5599f Merge branch 'amd-develop' 2017-07-06 12:16:47 +05:30
Maneesh Gupta cf6cae93f3 Merge branch 'amd-develop'
[ROCm/clr commit: d4abd76c9d]
2017-07-06 12:16:47 +05:30
Maneesh Gupta d4abd76c9d Merge branch 'amd-develop' 2017-07-06 12:16:47 +05:30
Maneesh Gupta 68bf31ac5a Merge branch 'amd-develop' 2017-07-06 12:16:47 +05:30