76333 Commits
Author SHA1 Message Date
Xianwei Zhang 51bdb2ce02 tests: replace 'bc' with 'awk' to be more portable
Calbulator package 'bc' is not always installed, occasionally
breaking the test scripts. As a fix, this patch gets rid of
'bc' and uses 'awk' instead.

Change-Id: I5f4dbf018d97581a626cf95d147c415755477771
2019-08-26 10:53:52 -04:00
Xianwei Zhang a67147ca5b tests: replace 'bc' with 'awk' to be more portable
Calbulator package 'bc' is not always installed, occasionally
breaking the test scripts. As a fix, this patch gets rid of
'bc' and uses 'awk' instead.

Change-Id: I5f4dbf018d97581a626cf95d147c415755477771


[ROCm/rocprofiler commit: 51bdb2ce02]
2019-08-26 10:53:52 -04:00
Chris Freehill e35a20518c Fix issues with buffer length when getting brand name
* Specifically, address case when brand name is longer than buffer
provided

* Also, slightly modify prototype to match similar, existing APIs.

* Address some cpplint issues.

Change-Id: Iaf77304e23085123e88f301e4b33bc4e6be2a225


[ROCm/rocm_smi_lib commit: 01e0800741]
2019-08-26 07:21:02 -04:00
Chris Freehill 01e0800741 Fix issues with buffer length when getting brand name
* Specifically, address case when brand name is longer than buffer
provided

* Also, slightly modify prototype to match similar, existing APIs.

* Address some cpplint issues.

Change-Id: Iaf77304e23085123e88f301e4b33bc4e6be2a225
2019-08-26 07:21:02 -04:00
Chris Freehill d8ab1b477a Fix issues with buffer length when getting brand name
* Specifically, address case when brand name is longer than buffer
provided

* Also, slightly modify prototype to match similar, existing APIs.

* Address some cpplint issues.

Change-Id: Iaf77304e23085123e88f301e4b33bc4e6be2a225


[ROCm/amdsmi commit: 01e0800741]
2019-08-26 07:21:02 -04:00
Jenkins bac89463b7 Merge 'master' into 'amd-master'
Change-Id: I4f54ac4fd1993ab9dfca9aa34a153e9eb86f45ae


[ROCm/clr commit: 6a47b9dbb5]
2019-08-26 05:10:22 -04:00
Jenkins 6a47b9dbb5 Merge 'master' into 'amd-master'
Change-Id: I4f54ac4fd1993ab9dfca9aa34a153e9eb86f45ae
2019-08-26 05:10:22 -04:00
Jenkins 2efea5569d Merge 'master' into 'amd-master'
Change-Id: I4f54ac4fd1993ab9dfca9aa34a153e9eb86f45ae


[ROCm/hip commit: 78cfbf69f2]
2019-08-26 05:10:22 -04:00
Jenkins 78cfbf69f2 Merge 'master' into 'amd-master'
Change-Id: I4f54ac4fd1993ab9dfca9aa34a153e9eb86f45ae
2019-08-26 05:10:22 -04:00
Evgeny e5b938b5fb unordered metrics expressions config
Change-Id: I998423046abfd7af45f28071911276cce1c4f3da
2019-08-25 05:08:55 -05:00
Evgeny 7bf4ab543d unordered metrics expressions config
Change-Id: I998423046abfd7af45f28071911276cce1c4f3da


[ROCm/rocprofiler commit: e5b938b5fb]
2019-08-25 05:08:55 -05:00
ramcherukuri 4e3b65f10c moving result_of_t to result_of
[ROCm/clr commit: 6ea9e2b249]
2019-08-24 08:59:58 -04:00
ramcherukuri 6ea9e2b249 moving result_of_t to result_of 2019-08-24 08:59:58 -04:00
ramcherukuri 8b5587cebd moving result_of_t to result_of
[ROCm/hip commit: 3a6ca29815]
2019-08-24 08:59:58 -04:00
ramcherukuri 3a6ca29815 moving result_of_t to result_of 2019-08-24 08:59:58 -04:00
foreman 7e86d6e11e P4 to Git Change 1988520 by chui@ocl-promo-incrementor on 2019/08/24 03:00:27
SWDEV-2 - Change OpenCL version number from 2981 to 2982.

Affected files ...

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


[ROCm/clr commit: 0b191a1c2c]
2019-08-24 03:08:49 -04:00
foreman 0b191a1c2c P4 to Git Change 1988520 by chui@ocl-promo-incrementor on 2019/08/24 03:00:27
SWDEV-2 - Change OpenCL version number from 2981 to 2982.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2729 edit
2019-08-24 03:08:49 -04:00
Ramesh Errabolu 8864c188b4 Initial support for xgmi sdma queues
Change-Id: I1aee379c7b9eede5f4b913cf2f9af3abb32e5baa
2019-08-24 02:03:37 -04:00
Ramesh Errabolu 08e994db50 Initial support for xgmi sdma queues
Change-Id: I1aee379c7b9eede5f4b913cf2f9af3abb32e5baa


[ROCm/ROCR-Runtime commit: 8864c188b4]
2019-08-24 02:03:37 -04:00
foreman 39b5170c7a P4 to Git Change 1988496 by cpaquot@cpaquot-ocl-lc-lnx on 2019/08/23 19:43:16
SWDEV-199002 - [HIP] Add hipExtLaunchMultiKernelMultiDevice to in files.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#20 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#22 edit


[ROCm/clr commit: 865a4f2c43]
2019-08-23 19:46:27 -04:00
foreman 865a4f2c43 P4 to Git Change 1988496 by cpaquot@cpaquot-ocl-lc-lnx on 2019/08/23 19:43:16
SWDEV-199002 - [HIP] Add hipExtLaunchMultiKernelMultiDevice to in files.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#20 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#22 edit
2019-08-23 19:46:27 -04:00
foreman 7fc332833a P4 to Git Change 1988496 by cpaquot@cpaquot-ocl-lc-lnx on 2019/08/23 19:43:16
SWDEV-199002 - [HIP] Add hipExtLaunchMultiKernelMultiDevice to in files.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#20 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#22 edit


[ROCm/hip commit: d3bbe46d39]
2019-08-23 19:46:27 -04:00
foreman d3bbe46d39 P4 to Git Change 1988496 by cpaquot@cpaquot-ocl-lc-lnx on 2019/08/23 19:43:16
SWDEV-199002 - [HIP] Add hipExtLaunchMultiKernelMultiDevice to in files.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#20 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#22 edit
2019-08-23 19:46:27 -04:00
Sean Keely 324e0e5e0a Correct ROCr library path in rocrtst.
Change-Id: I3624f37e256a0b61f55b1eb1ae48dabd87481b5f
2019-08-23 19:29:30 -04:00
Sean Keely 5e5b7fac71 Correct ROCr library path in rocrtst.
Change-Id: I3624f37e256a0b61f55b1eb1ae48dabd87481b5f


[ROCm/ROCR-Runtime commit: 324e0e5e0a]
2019-08-23 19:29:30 -04:00
Sean Keely f343f6706e Report PCIe domain number.
Adds HSA_AMD_AGENT_INFO_DOMAIN.

Change-Id: I2ffcae474e18b2fe5f962b499e02eb9dfe2e62cd
2019-08-23 19:28:37 -04:00
Sean Keely 5df1a8ae77 Report PCIe domain number.
Adds HSA_AMD_AGENT_INFO_DOMAIN.

Change-Id: I2ffcae474e18b2fe5f962b499e02eb9dfe2e62cd


[ROCm/ROCR-Runtime commit: f343f6706e]
2019-08-23 19:28:37 -04:00
saadrahim e433b21b23 Updating versioning to follow rocm-cmake standard (#126)
[ROCm/rccl commit: 544d4fb704]
2019-08-23 16:33:38 -06:00
saadrahim 544d4fb704 Updating versioning to follow rocm-cmake standard (#126) 2019-08-23 16:33:38 -06:00
Akila Premachandra 94b33a7550 Added hip-clang options to install script, and openmp/pthread options to CMakeLists.txt
[ROCm/rccl commit: f48ae5c98d]
2019-08-23 22:02:42 +00:00
Akila Premachandra f48ae5c98d Added hip-clang options to install script, and openmp/pthread options to CMakeLists.txt 2019-08-23 22:02:42 +00:00
Evgeny Shcherbakov 6fa4f1dc66 Merge "tests: improve scripts on rocm v2.6, and do more check" into amd-master 2019-08-23 15:02:06 -04:00
Evgeny Shcherbakov 2a9012d83c Merge "tests: improve scripts on rocm v2.6, and do more check" into amd-master
[ROCm/rocprofiler commit: 6fa4f1dc66]
2019-08-23 15:02:06 -04:00
Ramesh Errabolu 3201f68f72 Update memory allocation guide in using pool apis
This is to allow allocations in system memory that exceed sizes
reported by a CPU device

Change-Id: I3d10d192aafcefbe4107f69b7c5e30bf7f836619
2019-08-23 14:55:40 -04:00
Ramesh Errabolu 61b9d4e8b2 Update memory allocation guide in using pool apis
This is to allow allocations in system memory that exceed sizes
reported by a CPU device

Change-Id: I3d10d192aafcefbe4107f69b7c5e30bf7f836619


[ROCm/ROCR-Runtime commit: 3201f68f72]
2019-08-23 14:55:40 -04:00
Xianwei Zhang 68bf049d49 tests: improve scripts on rocm v2.6, and do more check
'rocminfo' output format on v2.6 is slightly different, and thus
cache capacity and cache linesize can be incorrectly obtained.
Example: 'L1: 16KB' vs. 'L1: 16(0x10) KB'. This patch fixes the
formatting issue, and further does more check on profiled .csv
file.

Change-Id: I934ee3613a79fa8acc431a394e88a9e09833311b
2019-08-23 12:49:59 -04:00
Xianwei Zhang 04900be489 tests: improve scripts on rocm v2.6, and do more check
'rocminfo' output format on v2.6 is slightly different, and thus
cache capacity and cache linesize can be incorrectly obtained.
Example: 'L1: 16KB' vs. 'L1: 16(0x10) KB'. This patch fixes the
formatting issue, and further does more check on profiled .csv
file.

Change-Id: I934ee3613a79fa8acc431a394e88a9e09833311b


[ROCm/rocprofiler commit: 68bf049d49]
2019-08-23 12:49:59 -04:00
Evgeny Mankov e5ffb8f482 Merge pull request #1360 from emankov/master
[HIPIFY][cmake] Explicitly set c++14

[ROCm/clr commit: 2079f17d26]
2019-08-23 19:40:53 +03:00
Evgeny Mankov 2079f17d26 Merge pull request #1360 from emankov/master
[HIPIFY][cmake] Explicitly set c++14
2019-08-23 19:40:53 +03:00
Evgeny Mankov 7131090772 Merge pull request #1360 from emankov/master
[HIPIFY][cmake] Explicitly set c++14

[ROCm/hip commit: 9c25434615]
2019-08-23 19:40:53 +03:00
Evgeny Mankov 9c25434615 Merge pull request #1360 from emankov/master
[HIPIFY][cmake] Explicitly set c++14
2019-08-23 19:40:53 +03:00
Evgeny Mankov bf769d3691 [HIPIFY][cmake] Explicitly set c++14
[Reason] LLVM became c++14 last week due to the following change:

37508d3dd94b0154861a90b1909d17b01400df99
Replace llvm::integer_sequence and friends with the C++14 standard version


[ROCm/clr commit: 7f5635d3ff]
2019-08-23 19:32:24 +03:00
Evgeny Mankov 7f5635d3ff [HIPIFY][cmake] Explicitly set c++14
[Reason] LLVM became c++14 last week due to the following change:

37508d3dd94b0154861a90b1909d17b01400df99
Replace llvm::integer_sequence and friends with the C++14 standard version
2019-08-23 19:32:24 +03:00
Evgeny Mankov 7dd84b243b [HIPIFY][cmake] Explicitly set c++14
[Reason] LLVM became c++14 last week due to the following change:

37508d3dd94b0154861a90b1909d17b01400df99
Replace llvm::integer_sequence and friends with the C++14 standard version


[ROCm/hip commit: e1d4f8510a]
2019-08-23 19:32:24 +03:00
Evgeny Mankov e1d4f8510a [HIPIFY][cmake] Explicitly set c++14
[Reason] LLVM became c++14 last week due to the following change:

37508d3dd94b0154861a90b1909d17b01400df99
Replace llvm::integer_sequence and friends with the C++14 standard version
2019-08-23 19:32:24 +03:00
foreman 29e8088b93 P4 to Git Change 1988234 by kjayapra@3_HIPWS_TXT_ROCM on 2019/08/23 12:12:45
SWDEV-201068 - Reverting back CL 1987582.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#96 edit


[ROCm/clr commit: f684278234]
2019-08-23 12:15:29 -04:00
foreman f684278234 P4 to Git Change 1988234 by kjayapra@3_HIPWS_TXT_ROCM on 2019/08/23 12:12:45
SWDEV-201068 - Reverting back CL 1987582.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#96 edit
2019-08-23 12:15:29 -04:00
foreman d4a26f1468 P4 to Git Change 1988234 by kjayapra@3_HIPWS_TXT_ROCM on 2019/08/23 12:12:45
SWDEV-201068 - Reverting back CL 1987582.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#96 edit


[ROCm/clr commit: d9777f8524]
2019-08-23 12:15:29 -04:00
foreman d9777f8524 P4 to Git Change 1988234 by kjayapra@3_HIPWS_TXT_ROCM on 2019/08/23 12:12:45
SWDEV-201068 - Reverting back CL 1987582.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#96 edit
2019-08-23 12:15:29 -04:00
foreman 87998314c2 P4 to Git Change 1988234 by kjayapra@3_HIPWS_TXT_ROCM on 2019/08/23 12:12:45
SWDEV-201068 - Reverting back CL 1987582.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#96 edit


[ROCm/hip commit: ffd74944fe]
2019-08-23 12:15:29 -04:00