Commit Graph

8938 Commits

Author SHA1 Message Date
Gopesh Bhardwaj 83e2d7d8af SWDEV-458796,458610 doc updates (#854)
* SWDEV-458796,458610 doc updates

* updating --stats and scratch memory docuemntation

* Adding usage for --stats option
2024-05-21 23:59:19 -05:00
guanyu12 cbf0890bf9 Merge amd-staging into amd-master 20240522
Signed-off-by: guanyu12 <guanyu12@amd.com>
Change-Id: Iefd6b0b0161521b0108ac9ce3d09c8e527c6e081
2024-05-22 11:12:27 +08:00
Benjamin Welton 28e6430d04 [2/N] Agent Counter implementation with unit tests to check functionality (#846)
Agent Counter Collection API with tests and samples.
---------

Co-authored-by: Benjamin Welton <ben@amd.com>
2024-05-21 13:34:54 -07:00
Ranjith Ramakrishnan 9f7e69bd5e SWDEV-442738 - Static package generation for rocm_smi_lib
Package name will have suffix static-dev/devel

Change-Id: Ia273a66c663c56b023f6d765d024b30f1c35639d
2024-05-21 13:31:00 -04:00
amd-jmacaran 654a8a27f8 Enable ROCm External CI pipeline triggers
Change-Id: Ic025465136c9e8d36af5a67e9e0880671f59a329
2024-05-21 12:37:49 -04:00
amd-jmacaran 228cd05a72 Enable ROCm External CI pipeline triggers
Change-Id: Ibb246bb12ed5b0d36447b7a310cff95ade359b78
2024-05-21 12:37:35 -04:00
amd-jmacaran 29dfe7d0fc Support multiple External CI pipelines of same component.
Specifying root-level pipelines for triggers, to allow engineering or specific-release pipelines to be made for the components/repos with the same name.

Change-Id: I10f55ea490e61251a0c959e5e0ba2faba3d690fb
2024-05-21 11:38:55 -04:00
Jonathan R. Madsen 7eeb7376b4 Fix ROCP_CI_LOG when ROCPROFILER_CI not defined (#864) 2024-05-20 16:04:28 -05:00
Jonathan R. Madsen 4d5b71b0e7 Update logging (#838)
* Update logging

* Remove unused function

* Fix lib/rocprofiler-sdk/hsa/pc_sampling.cpp logging compilation

* Fix logging FLAGS_vmodule string leak and numerical log level

* Update logging

* Update glog submodule

* Leak fixes

* format
2024-05-20 15:38:18 -05:00
Cole Ramos 57c4f2047e Update packaging.yml checkout library
Signed-off-by: Cole Ramos <colramos@amd.com>
2024-05-17 15:00:18 -05:00
Galantsev, Dmitrii 53033a5b77 Add memory bandwidth metrics
Change-Id: I310ca8af0536497be619d2bda1e540d1f11c2565
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-05-17 14:55:01 -05:00
Galantsev, Dmitrii c7fcb1ad25 Add rocprofiler_example.cc and fix logging
Change-Id: Ib3ed8754f314edc76ea56bfec9a645d720f8926d
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-05-17 14:55:01 -05:00
Cole Ramos 5f0978c278 Update AUTHORS
Signed-off-by: Cole Ramos <colramos@amd.com>
2024-05-17 13:42:36 -05:00
coleramos425 4c70cb919d Update CHANGES
Signed-off-by: coleramos425 <colramos@amd.com>
2024-05-17 18:36:11 +00:00
Ammar ELWazir 2c7e9e8e8b Removing EXPECT_EQ() that checks for rocminfo (#858) 2024-05-17 04:19:13 -05:00
Giovanni LB 7c45264e00 Scrapping a microsecond from perfetto
Change-Id: I6d9e360a1530d9cb147c64dd45dc47cfc2d13ea1
2024-05-16 11:32:17 -04:00
Ammar ELWazir ea4b793e73 Fixing rocminfo path for multiple installation ways (#857)
* Fixing rocminfo path for multiple installation ways

* Update source/lib/rocprofiler-sdk/tests/agent.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-15 15:35:53 -05:00
Ammar ELWazir 91e7dfb24e Fixing build issues with HSA (#856) 2024-05-15 14:12:44 -05:00
Galantsev, Dmitrii 0c3c3442e0 Azure - Add rocm-ci.yml
Change-Id: If5db660729c732d96eb66897f0339850db98bb6b
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-05-15 12:54:10 -05:00
Galantsev, Dmitrii 7f4dd08c69 Azure - Add rocm-ci.yml
Change-Id: I44bf12857f894363fd8acc7d831c4cfa29fb77d9
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-05-15 12:53:10 -05:00
Maisam Arif c464a77576 Merge amd-staging into amd-master 20240515
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I6f0514e16bc48f58d8ec2a1bf134370f82057ef2
2024-05-15 03:36:28 -05:00
Jonathan R. Madsen dcba111ed5 Fix code coverage GitHub workflow (#853)
- sync gcov version with gcc/g++ version
2024-05-15 01:37:06 -05:00
gobhardw 1088305d18 SWDEV-443556 Fixing hip trace for hipfft applications
Change-Id: I0076911fac755d3cf485e9fb9a5a51b13d0198c3
2024-05-15 02:17:46 -04:00
Oliveira, Daniel e7d54946fb fix: [MIT-License] [rocm/rocm_smi_lib]
Updates the license to MIT

Code changes related to the following: None

Change-Id: I62d0a5f02a2d5e58c1952337dff54892793c16cf
Signed-off-by: Oliveira, Daniel <daniel.oliveira@amd.com>
2024-05-15 01:38:36 -04:00
Oliveira, Daniel 497ef4a7ef fix: [SWDEV-461904] [rocm/rocm_smi_lib]
Checks returned error by rsmi_dev_od_volt_info_get() before assert

Code changes related to the following:
  * Unit tests

Change-Id: Icc0f329e35992aae19f07243024521181467bcd3
Signed-off-by: Oliveira, Daniel <daniel.oliveira@amd.com>
2024-05-14 18:25:00 -05:00
Ammar ELWazir 5d1320928c SWDEV-419012: Adding New Perfetto SDK & Fixing early destruction of perfetto plugin
Change-Id: Ie1d8e753f10a1ba0686b021c14b788b444499f14
2024-05-14 11:24:40 -04:00
gobhardw f3cad4c05b SWDEV-447472-updating tests
Change-Id: I27b0cddc0eb0ec3f6ed30aaef0d88971cd674033
2024-05-14 17:33:35 +05:30
Ranjith Ramakrishnan 1f4752295e SWDEV-451078 - Update rocminfo package dependency list
python3, glibc, libgcc/libgcc_s1, libstdc++/libstdc++6 added to the RPM package dependency list
python3, libc6, libgcc-s1, libstdc++6 added to the DEB package dependency list

Change-Id: I4843b1431c0d0edf1b0df1e12c82adb4ff53c8cd
2024-05-13 15:40:26 -07:00
Ammar ELWazir 95241eef3b Remove the force of using DEB,RPM,TGZ CPACK_GENERATOR
Change-Id: I2462831a31ebe74c9c69e332b5960631bb1ef279
2024-05-13 14:42:14 -04:00
Ranjith Ramakrishnan 5e4f64e786 SWDEV-442738 - Static package generation for rocminfo
Package name will have suffix static-dev/devel
rocminfo static package will depend on hsa static package

Change-Id: I3e72b19403c10e74199067f2c725ed4a007ab150
2024-05-13 13:50:54 -04:00
Ammar ELWazir 988bf4f93d SWDEV-415888: fixing issues with rocprof tool duplication for testing
Change-Id: I9168029cfc9519879bd024286ca6e2d9842deb85
2024-05-12 16:55:20 +00:00
coleramos425 1f370c9fe7 Format CMake and Python
Signed-off-by: coleramos425 <colramos@amd.com>
2024-05-10 09:07:40 -06:00
coleramos425 dba868973b Add support for --quiet flag to roofline
Signed-off-by: coleramos425 <colramos@amd.com>
2024-05-10 09:07:40 -06:00
coleramos425 1767c31db9 Include Grafana assets in CMake build
Signed-off-by: coleramos425 <colramos@amd.com>
2024-05-10 09:07:40 -06:00
coleramos425 e274f7ee88 Executable permissions to docker entrypoint
Signed-off-by: coleramos425 <colramos@amd.com>
2024-05-10 09:07:40 -06:00
coleramos425 3ab51735b5 Add docs for --quiet mode and update README
Signed-off-by: coleramos425 <colramos@amd.com>
2024-05-10 09:07:40 -06:00
coleramos425 8bca70a6ef Update docs for new Grafana reorg
Signed-off-by: coleramos425 <colramos@amd.com>
2024-05-10 09:07:40 -06:00
coleramos425 1f44b4faa5 Move all Grafana assets into subdir. Update plugin dependencies
Signed-off-by: coleramos425 <colramos@amd.com>
2024-05-10 09:07:40 -06:00
coleramos425 519bcb9b3e Update from https://github.com/ROCm/mibench/commit/b704bd3ec439f8cbece6713852fcafc855c5b07e 2024-05-10 09:07:40 -06:00
Galantsev, Dmitrii c3a4c899d5 Profiler - Add all required metrics
Change-Id: Iea3938df9407789c061c3a6ead9167a69069d6e6
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-05-09 23:24:02 -05:00
Giovanni LB 0fc74490cd Reducing rocprofilerv2 memory usage
Change-Id: I13c2dec763818df38868593bba0223f01132bb7a
2024-05-09 18:57:22 -04:00
Giovanni LB 67faf92553 Fixing crash on [deprecated] file mode
Change-Id: I39b644429d19b185f278caa039a3180c2fa3ab7c
2024-05-09 06:17:07 -03:00
Jiadong Zhu 049ab55393 Add WSL support for rocminfo
This includes detecting the running environment,
skipping kfd dependency check if in wsl platform
and disabling unavailable information on wsl.

V2: Use wslinfo to detect the environment.
V3: Add back some queries for wsl, as the not_supported
value shall be returned from hsa_runtime.

Signed-off-by: Jiadong Zhu <Jiadong.Zhu@amd.com>
Suggested-by: Tianci Yin <tianci.yin@amd.com>
Change-Id: I686d551c795cb5c5532591623022856f59512205
2024-05-09 14:37:15 +08:00
Gopesh Bhardwaj 5efede4de5 Fixing multi pmc line tests (#848)
* Fixing multi pmc line tests

* Fixing cmake-format from commandline locally
2024-05-09 10:26:53 +05:30
randyh62 383c0b19e8 link updates, spelling
Change-Id: I71aafc2a0145d139c5c9ca6cb53214c77d88acc5
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-05-08 18:15:38 -05:00
randyh62 eeb59ed080 leo update
Change-Id: I34cb1cdadc1a99d0d226441f1a6b180cb8b4b258
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-05-08 18:15:28 -05:00
randyh62 2b815a68c8 doc reorganization
Change-Id: I526e5e594032299d85d995a7e6fe2d269c3621aa
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-05-08 18:15:06 -05:00
Bill(Shuzhou) Liu 8c44416410 Discover the amdgpu when card numbers are not consecutive.
When discover the amdgpu, if the assigned numbers are not consecutive,
not all GPU can be discovered. The code is change to discover the
GPU based on max card number.

Change-Id: I8b6a8b49594d6a54c7feb2645bedb83dc5c1b4cc
2024-05-08 13:59:16 -05:00
Vladimir Indic 358c599c3f avoiding early destruction of code objects list (#847) 2024-05-08 11:00:08 +02:00
Maisam Arif 217827e2c1 Merge amd-staging into amd-master 20240508
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I8ce1757eb0666c7c3242556e20c0fd5de22d740b
2024-05-08 00:29:23 -05:00