İşleme Grafiği

8920 İşleme

Yazar SHA1 Mesaj Tarih
Cole Ramos b65aacff0e Update README.md
Signed-off-by: Cole Ramos <colramos@amd.com>
2023-08-22 12:47:02 -05:00
Cole Ramos 282814b7b0 Update VERSION
Signed-off-by: Cole Ramos <colramos@amd.com>
2023-08-22 12:46:08 -05:00
Cole Ramos 9770196763 Update CHANGES for v1.0.10
Signed-off-by: Cole Ramos <colramos@amd.com>
2023-08-22 12:45:36 -05:00
coleramos425 7187218ed9 Patch llvm-cxxfilt detection in atypical rocm installs
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-22 11:25:06 -05:00
Giovanni LB 0eb39775b9 SWDEV-418012: Fixed typo in perfetto
Change-Id: I1627c0a171403f2cc040ffa1b4d2e1525943973f
2023-08-22 12:54:33 -03:00
Jonathan Kim 132815bcfb Clean up SDMA ganging
We don't need to keep track of specific blit engines in gang for
submission anymore as ganging early exits on pending bytes.
So tidy up the fluff.

Change-Id: I77e80bf1ad8f561a03fff77bce33aa09d02760c6
2023-08-22 05:57:04 -04:00
Giovanni LB 62641013b0 SWDEV-414594: Improved error message with metrics create.
Change-Id: I3946252efb000f105816a300e638b8338b26defd
2023-08-21 23:34:52 -03:00
Galantsev, Dmitrii 62f01cb150 TESTS - Use gpu version as a workaround for a missing name
Depends-On: Ifbd38f11fbde7ba28af4be1d611310dea1b5112a
Change-Id: Ia7b7975f03424854df0a470b2719cf2ff2cf8e40
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-08-21 19:18:22 -04:00
Ranjith Ramakrishnan 65911e8368 Use memset for initializing variable sized array
In ASAN builds, the compiler used is clang. The initialization of
variable sized array using assignment operator is causing compilation
failure in ASAN builds. Used memset to fix the same.

Change-Id: I02aef3b99a6cad0cce3a378210a48732e07a88fb
2023-08-21 12:01:58 -07:00
Ammar ELWazir c15ad661fa SWDEV-407953: Adding Patch Version from ROCm Standard Option
ROCm Packaging uses ROCM_PATCH_VERSION as a standard option to add the patch version which determines the rocm release for different libraries versions

Change-Id: If335f9095b069edd4ab6c29a4eb7349552fd47f3
2023-08-21 13:25:55 -04:00
Ammar ELWazir 421febd4bf SWDEV-407953: Adding Patch Version from ROCm Standard Option
ROCm Packaging uses ROCM_PATCH_VERSION as a standard option to add the patch version which determines the rocm release for different libraries versions

Change-Id: I1edce84d2963d495c55c83cc0697761d7f696c92
2023-08-21 13:25:40 -04:00
gobhardw 77988ac0b2 SWDEV-415147 Added Supported architecures for V1 and V2
Change-Id: I307061154a17dd42ead49459a73522c9bdedca8c
2023-08-21 01:09:18 -04:00
Cole Ramos 3affe48cd8 Update issue templates 2023-08-18 11:50:19 -05:00
Jonathan Kim a3f8085025 kfdtest: add trap on wave start and end test
Add test to catch trap on wave start or end override event.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: Icb57af64475fbd2d8a6c0af9a2ee5db5d1a169c6
2023-08-18 12:15:08 -04:00
Jonathan Kim 8311ca5bfa kfdtest: add address watch test
Address watch test will test read and write operations.
Test will also check if operation is precise if precise
address watch is available.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: I7ef835790e26bf6345682755d7dd26a35853bcd5
2023-08-18 12:15:07 -04:00
Jonathan Kim 431dc8d403 kfdtest: Add ops for address watch test
Add wave launch override, set/clear address watch and precise memops
test.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: Ib405d5570cd304e02c2e76eca3593cbd9a5937d9
2023-08-18 12:11:48 -04:00
Jonathan Kim d4029a9492 kfdtest: add memory violation test
Add memory violation detection test.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: I1b56f684682836fc84fbec713bd81c53bdd6d413
2023-08-18 12:11:48 -04:00
Jonathan Kim 6c5121faff kfdtest: allow toggle of dispatch privilege
For GFX11 debugger testing, waves require to start in non-priv mode for
some test cases, so allow tester to set this.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: Iee93fda926bfd336d51c79c086f1f75bc35b70e5
2023-08-18 12:09:07 -04:00
gobhardw 1d8401dec8 Fixing usability for rocsys
Change-Id: Ic2f3c4bdc5e6eb89c03799410ee16d27de035c97
2023-08-18 10:29:51 -04:00
Ammar ELWazir a3dfe3d680 SWDEV-415259: Replacing HCC with AMD
Change-Id: I3de30d52d7e25ce5a6c727fba81af9a031f7eee3
2023-08-18 09:59:27 -04:00
Benjamin Welton 33b19051d2 Added submodules for glog/fmt (#9)
* Added submodules for glog/fmt

Removes existing printing/formatting code.

* Update external/CMakeLists.txt

Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>

* Update external/CMakeLists.txt

Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>

* Update external/CMakeLists.txt

- checkout submodule if not already checked out or clone repo if no .gitmodules file
- find_package(... REQUIRED)

* Disable tests from external directory

* Update external/CMakeLists.txt

- fix type: BRANCH -> REPO_BRANCH

* Update cmake/rocprofiler_register_formatting.cmake

- Include external/CMakeLists.txt in format-cmake target
- include format-cmake in format target

* Fix cmake options

- ROCPROFILE_REGISTER_* -> ROCPROFILER_REGISTER_*

* Update rocprofiler_register_linting.cmake

- fix header filter to exclude external headers
- enable warning-as-errors except for misc-header-include-cycle because that originates in fmt headers

* Fix clang-tidy error in utility.cpp

- a bit out of place in this PR but caught due to --warning-as-errors addition

---------

Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
2023-08-17 20:01:34 -05:00
Jonathan R. Madsen fa4295db6b Initial Implementation: include (#10)
* Initial Implementation: include

* Initial Implementation: lib details (#11)

* Initial Implementation: lib details

* Initial Implementation: lib (#12)

* Initial Implementation: lib

* Initial Implementation: source (#13)

* Initial Implementation: source

* Initial Implementation: samples (#14)

* Initial Implementation: samples

* Initial Implementation: tests (#15)

* Initial Implementation: tests

* Initial Implementation: scripts (#16)

* Initial Implementation: scripts

* Initial Implementation: cmake (#17)

* Initial Implementation: cmake

* Initial Implementation: top-level files (#18)

* Initial Implementation: top-level files

- clang-format
- clang-tidy
- cmake-format
- ignore build and cache directories
- main CMakeLists.txt
- pyproject.toml (python formatting)
- VERSION file

* Initial Implementation: workflow (#19)

* Fix unused variable

- rocprofiler_register_warn_level
2023-08-17 14:59:24 -05:00
Bill(Shuzhou) Liu a10f00bf57 Fallback to kfd node when VRAM sysfs not available
The driver may not expose VRAM sysfs in certain system. Add a
fallback to it.

Change-Id: Ib3be71b4f4d2c79318d5026b0a97f3657d8a97b6
2023-08-17 14:36:03 -05:00
Cole Ramos eb3dc981b0 Update VERSION
Signed-off-by: Cole Ramos <colramos@amd.com>
2023-08-17 12:53:25 -05:00
Cole Ramos 7244c01760 Update CHANGES for v1.0.9
Signed-off-by: Cole Ramos <colramos@amd.com>
2023-08-17 11:04:43 -05:00
Cole Ramos 9a15f37960 Change README to v1.0.9
Signed-off-by: Cole Ramos <colramos@amd.com>
2023-08-17 10:39:05 -05:00
coleramos425 064debf356 Documentation enhancements
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-17 09:50:38 -05:00
Ammar ELWazir 67b3717da9 SWDEV-415259: Replacing HCC with AMD
__HIP_PLATFORM_HCC__ with __HIP_PLATFORM_AMD__

Change-Id: I2e79cff5a0216125b4ce2aa90104d4a1696bad08
2023-08-17 09:23:45 -04:00
Jonathan Kim 8f21793a3e Fix SDMA ganging circular deadlock in oversubscription
When oversubscribing SDMA gangs, a circular deadlock can occur since
gang enqueue is staggered with respect to SDMA engine leader based
on source to destination.
As a result, an enqueued leader may be waiting on a gang item that is
waiting on another enqueued leader or gang item and so on.

To prevent this, first lock the submission to ensure dma status query
and submissions are atomic.  Once this is in place, be more stringent
with ganging in that all SDMA engines must be available in order to gang.

Finally, re-enable SDMA ganging by default.

Change-Id: I4511e3487db9d26475b5aece4897f10168cc5322
2023-08-17 08:49:09 -04:00
Jonathan Kim 4c74e47e91 Update D2D SDMA ganging for non-SPX modes
xGMI for compute partitioning in non-SPX modes does not have
a reported bandwith.
Fix it to at most 2 since each partition is either bounded
by the number of xGMI links or the number of available
SDMA contexts.

Change-Id: I09094bd7548d9eee6f039b0efe849838e5de166e
2023-08-17 07:25:08 -04:00
Jonathan Kim 30982ff6aa Bump the number of SDMA engines for gfx940
GFX940 can support up to 16 SDMA engines so bump it.

Change-Id: I41a95e66383036735712e317a57b239d84fcb78d
2023-08-17 07:25:08 -04:00
Jonathan Kim f8664e88e0 Break when finding ganged agent
There's no need to keep looking in the list once we find a ganged agent.

Change-Id: Ia0b9b484c88221a7966a814456942c19b1741978
2023-08-17 07:25:08 -04:00
Hao Zhou 3921278c4e Merge amd-staging into amd-master 20230817
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: Idb8b837f8b65e3e820719f39a6f2c0c4ebc5b7f9
2023-08-17 13:27:13 +08:00
Cole Ramos 9aeac83961 Merge pull request #162 from AMDResearch/dev
Prep v1.0.9
2023-08-16 14:29:40 -07:00
Cole Ramos eec0323945 Merge branch 'main' into dev 2023-08-16 14:29:29 -07:00
coleramos425 3ae0198f8e Renaming csv_converter to make more succinct
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-16 16:16:46 -05:00
coleramos425 f27142160c Remove debug logging
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-16 15:34:55 -05:00
coleramos425 5d74b142b6 Prevent users from ipblock filtering in standalone GUI
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-16 14:16:50 -05:00
coleramos425 74f816ed47 Add a -d option to analyze mode for consistency with profile
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-16 13:48:31 -05:00
David Yat Sin a20a0a5bac Temporarily disable SDMA ganging by default
SDMA ganging is causing some regressions with some applications hanging.
Temporarily disabling SDMA ganging by default until issue is fixed.

Change-Id: I65e172923a53a967df27b30d969ad5d215c4fa09
2023-08-15 23:17:34 +00:00
Cole Ramos abd424beea Merge pull request #160 from JoseSantosAMD/pct_of_peak
Pct of peak
2023-08-15 13:56:38 -07:00
Cole Ramos 6f6bca1383 Merge pull request #158 from JoseSantosAMD/instr_mix_min_max_avg
Instr mix min max avg
2023-08-15 13:55:22 -07:00
Giovanni LB 157eacd2bb DCGPUBU-44: Added arbitrary envvars to file/dir names. Squashed some fixes.
- Added arbitrary env-vars
- Fixed some UBs with atomic variables
- Fixed loading of file plugin
- ATT vs. kernel-trace off by one

Change-Id: I69c75f66f722e4085b5279f41afd05813628846d
2023-08-15 17:53:57 -03:00
JoseSantosAMD 6d39955708 add simple_bar styling
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
2023-08-15 15:14:20 -05:00
Cole Ramos b79b4d3512 Merge pull request #157 from JoseSantosAMD/kernel_name_mappings
Kernel name demangle
2023-08-15 13:07:22 -07:00
JoseSantosAMD 132cb37d69 add pct of peak to tables
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
2023-08-15 15:04:23 -05:00
Cole Ramos d4c4c73367 Update issue templates 2023-08-15 14:43:49 -05:00
Cole Ramos 8ddc1a3fe1 Update issue templates 2023-08-15 14:43:49 -05:00
coleramos425 dc849b264c Conform to Python formatting
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-15 14:09:38 -05:00
coleramos425 4aa33848de Fixing several bugs on original PR
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-15 14:00:36 -05:00