Commit Graph

37726 Commits

Author SHA1 Message Date
Elwazir, Ammar 906b8b507a Support new HIP APIs (#179)
* Adding New HIP APIs

* Format Fix

* Format Fix

* Removing changes from ostream and moving it to format

* Addressing Code Review Comments

* Versioning the new hip calls formatting

---------

Co-authored-by: Ammar ELWazir <aelwazir@amd.com>

[ROCm/rocprofiler-sdk commit: dd5c0ea257]
2025-02-04 15:50:18 -06:00
Elwazir, Ammar dd5c0ea257 Support new HIP APIs (#179)
* Adding New HIP APIs

* Format Fix

* Format Fix

* Removing changes from ostream and moving it to format

* Addressing Code Review Comments

* Versioning the new hip calls formatting

---------

Co-authored-by: Ammar ELWazir <aelwazir@amd.com>
2025-02-04 15:50:18 -06:00
Steven Chung 782976f5c2 SWDEV-496674 - Convert non-templated typedefs to templates for consistent mangling
Change-Id: I952d15f20afc85c0118403f82e75360197049ef5
2025-02-04 16:37:00 -05:00
Choudhary, Rahul 16cd712685 Update rocm_ci_caller.yml to use amd-master (#11)
Update rocm_ci_caller.yml to use amd-master , until amd-mainline is aligned

Signed-off-by: Choudhary, Rahul <Rahul.Choudhary@amd.com>
2025-02-04 12:46:10 -08:00
Williams, Justin e1d3b6b5b8 [SWDEV-479339/SWDEV-498804] Added RDC Dockerfile (#50)
* [SWDEV-479339/SWDEV-498804] Added RDC Dockerfile

* Updated Dockerfile
2025-02-04 12:58:40 -06:00
Williams, Justin e2a8d40bb1 [SWDEV-479339/SWDEV-498804] Added RDC Dockerfile (#50)
* [SWDEV-479339/SWDEV-498804] Added RDC Dockerfile

* Updated Dockerfile

[ROCm/rdc commit: e1d3b6b5b8]
2025-02-04 12:58:40 -06:00
Elwazir, Ammar 08247a9056 Tests: Scratch memory validate bug, summary validate bug (#187)
Scratch memory validate bug, summary validate bug

Co-authored-by: Ammar ELWazir <aelwazir@amd.com>

[ROCm/rocprofiler-sdk commit: b9ad800194]
2025-02-04 12:48:28 -06:00
Elwazir, Ammar b9ad800194 Tests: Scratch memory validate bug, summary validate bug (#187)
Scratch memory validate bug, summary validate bug

Co-authored-by: Ammar ELWazir <aelwazir@amd.com>
2025-02-04 12:48:28 -06:00
Ioannis Assiouras 472e0b7b20 SWDEV-490855 - Enabled Perf_KernelLaunchLatency_IncreasingNumberOfStreams under perftests
Change-Id: I2a494022d5cc113dce044faadd7d2462a2aece08
2025-02-04 13:20:47 -05:00
kjayapra-amd cc62a82347 SWDEV-488290 - Remove Stream to Engine logic and rely on engine query status HSA API.
Change-Id: I469ab6679360c8ee8d4ee515678a8aa8d4578ebf
2025-02-04 13:00:16 -05:00
Jonathan Luu 79edda7cc8 SWDEV-511848 - Update package description to the correct Name and source link
Change-Id: Iee5d22ecd01a15dcfc5caff6f1ab8261d71fbb71
2025-02-04 10:48:10 -06:00
AravindanC 61ad6381aa Enable distro id based checks in rocm-core post/pre scripts
Change-Id: I1970dc3a36b8bd47d238b032afe5714c3e7f8e57
2025-02-04 10:48:10 -06:00
Ajay 25572c2efc SWDEV-485453 - add hipcc dependency to hip-dev
Change-Id: I607fc7c3b3a2137835cb2fb8eeb23d3daed51c91
2025-02-04 11:29:59 -05:00
Rahul Manocha 81051f3520 SWDEV-511855 - Fix hipMemcpyPeer to support stream capture checks
Change-Id: I7797f069b3ed4240b6785e82da7494a97b4843c6
2025-02-04 11:22:35 -05:00
Welton, Benjamin f615e85f71 [SWDEV-509876] Remove buffer requirement from device counting service (#132)
* [SWDEV-509876] Remove buffer requirement from device counting service

No longer require a buffer to be given when setting up device counting
service. This is to reduce performance overhead in cases where immediate
return of counting samples is being used (synchronous mode).

* Missed file

* Update source/include/rocprofiler-sdk/device_counting_service.h

Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>

* Update source/lib/rocprofiler-sdk/counters/controller.cpp

Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>

* Update source/lib/rocprofiler-sdk/counters/device_counting.cpp

Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>

* Fixes for build

---------

Co-authored-by: Benjamin Welton <ben@amd.com>
Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>
Co-authored-by: Benjamin Welton <bewelton@amd.com>

[ROCm/rocprofiler-sdk commit: 0c4a56c6bb]
2025-02-04 06:06:03 -06:00
Welton, Benjamin 0c4a56c6bb [SWDEV-509876] Remove buffer requirement from device counting service (#132)
* [SWDEV-509876] Remove buffer requirement from device counting service

No longer require a buffer to be given when setting up device counting
service. This is to reduce performance overhead in cases where immediate
return of counting samples is being used (synchronous mode).

* Missed file

* Update source/include/rocprofiler-sdk/device_counting_service.h

Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>

* Update source/lib/rocprofiler-sdk/counters/controller.cpp

Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>

* Update source/lib/rocprofiler-sdk/counters/device_counting.cpp

Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>

* Fixes for build

---------

Co-authored-by: Benjamin Welton <ben@amd.com>
Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>
Co-authored-by: Benjamin Welton <bewelton@amd.com>
2025-02-04 06:06:03 -06:00
Nagaraj, Sriraksha 4282aa31d9 Adding att v3 support (#84)
* Adding att v3 support

* misc fix

* bug fix

* Python linting workflow and rules

* fix regex

* Adding temporary args

* fix temporary args

* fix format

* remove att_perfcounters from test input

* Review comments (#163)

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>

* Revert "Review comments (#163)"

This reverts commit 9ef0f8e5a4489d5581255e1b70ced2aef5c1c1d0.

* Address review comments 2

* review changes

* review comments

* review

* cmake alias

* review

* review

* review

* review

* Enabling percounter in v3 script

* review

* formatting

* formatting

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
Co-authored-by: Baraldi, Giovanni <Giovanni.Baraldi@amd.com>
Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>

[ROCm/rocprofiler-sdk commit: d4a51e4102]
2025-02-04 04:05:38 -06:00
Nagaraj, Sriraksha d4a51e4102 Adding att v3 support (#84)
* Adding att v3 support

* misc fix

* bug fix

* Python linting workflow and rules

* fix regex

* Adding temporary args

* fix temporary args

* fix format

* remove att_perfcounters from test input

* Review comments (#163)

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>

* Revert "Review comments (#163)"

This reverts commit 9ef0f8e5a4489d5581255e1b70ced2aef5c1c1d0.

* Address review comments 2

* review changes

* review comments

* review

* cmake alias

* review

* review

* review

* review

* Enabling percounter in v3 script

* review

* formatting

* formatting

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
Co-authored-by: Baraldi, Giovanni <Giovanni.Baraldi@amd.com>
Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>
2025-02-04 04:05:38 -06:00
Madsen, Jonathan 6c773a7616 Fix HSA_AMD_MEMORY_POOL_EXECUTABLE_FLAG for ROCm < 6.3 (#178)
Fix HSA_AMD_MEMORY_POOL_EXECUTABLE_FLAG for ROCm < 6.4

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>

[ROCm/rocprofiler-sdk commit: 72a27feb04]
2025-02-04 04:05:19 -06:00
Madsen, Jonathan 72a27feb04 Fix HSA_AMD_MEMORY_POOL_EXECUTABLE_FLAG for ROCm < 6.3 (#178)
Fix HSA_AMD_MEMORY_POOL_EXECUTABLE_FLAG for ROCm < 6.4

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
2025-02-04 04:05:19 -06:00
Aidan Belton-Schure 152cee3737 SWDEV-443561 - Add tools dispatch table
Change-Id: I3445554e486ab7b94592571f52c1530cb918d021
2025-02-04 04:57:38 -05:00
Madsen, Jonathan 6cb0dda8ba Fix async memory copy validation tests (#182)
* Fix async copy validation test

- make the async copy tracing test work regardless of however many HSA memory copies the HIP memory copy decomposes into

* Fix rocprofv3 memory copy tests

* Fix compilation support for hipGraphBatchMemOpNodeGetParams

* Fix rocprofv3-test-summary-*-validate

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>

[ROCm/rocprofiler-sdk commit: 7fcd80f744]
2025-02-04 02:41:19 -06:00
Madsen, Jonathan 7fcd80f744 Fix async memory copy validation tests (#182)
* Fix async copy validation test

- make the async copy tracing test work regardless of however many HSA memory copies the HIP memory copy decomposes into

* Fix rocprofv3 memory copy tests

* Fix compilation support for hipGraphBatchMemOpNodeGetParams

* Fix rocprofv3-test-summary-*-validate

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
2025-02-04 02:41:19 -06:00
Juan Manuel Martinez Caamaño 8c9e6d0fa5 SWDEV-132637: Remove OpenCL cl_khr_depth_images workaround that is not needed anymore
The cl_khr_depth_images associated macro definition is defined twice in
the compiler: in opencl-c.h and automatically by the compiler deduced
from the cl-ext list. These two co-exist and there is no need to remove
cl_khr_depth_images from the cl-ext list.

If we remove cl_khr_depth_images from the cl-ext list, and we do not
include opencl-c.h the macro is not defined.

This fixes conformance test ./test_compiler compiler_defines_for_extensions
when using Comgr with -include opencl-c-base.h -fdeclare-opencl-builtins
without including opencl-c.h.

Before we got the error `ERROR: Supported extension cl_khr_depth_images
not defined in kernel`

This change is needed to eventually get rid of the opencl-c.pch that is embedded in comgr, and that makes implementing a compilation cache in comgr hard.

Change-Id: I76497874ebe7163966420d4ac23a0788b93a36fd
2025-02-04 03:14:31 -05:00
ajanicijamd aab094f1db Added libamd_comgr.so to internal modules and fix argument parsing module in Timemory (#96)
Updates Timemory submodule

[ROCm/rocprofiler-systems commit: fc5b325979]
2025-02-03 14:43:14 -05:00
ajanicijamd fc5b325979 Added libamd_comgr.so to internal modules and fix argument parsing module in Timemory (#96)
Updates Timemory submodule
2025-02-03 14:43:14 -05:00
Vignesh Edithal e68c297cb2 Use github app for develop to amd-staging sync
* Use the token for rocprofiler-compute-runner github app to perform
  auth to bypass amd-staging branch protection


[ROCm/rocprofiler-compute commit: 25b6bbbb3c]
2025-02-03 13:41:14 -05:00
Vignesh Edithal 25b6bbbb3c Use github app for develop to amd-staging sync
* Use the token for rocprofiler-compute-runner github app to perform
  auth to bypass amd-staging branch protection
2025-02-03 13:41:14 -05:00
David Galiffi 78f1c9e179 Disable the weekly sync
Disable the weekly sync from staging to mainline. We'll do this manually with CQE approval.

[ROCm/rocprofiler-systems commit: 80dc2efc50]
2025-02-03 13:13:22 -05:00
David Galiffi 80dc2efc50 Disable the weekly sync
Disable the weekly sync from staging to mainline. We'll do this manually with CQE approval.
2025-02-03 13:13:22 -05:00
Choudhary, Rahul d70d3fb59f Create kws_caller.yml and rocm_ci_caller.yml (#1)
Enabling per PR based KWS check and PSDB check
2025-02-03 09:43:35 -08:00
Choudhary, Rahul fad2fcda9f Merge pull request #1 from AMD-ROCm-Internal/rahchoud_amdeng-patch-1
Create kws_caller.yml and rocm_ci_caller.yml
2025-02-03 09:35:08 -08:00
Jacob Lambert 33e48b9629 SWDEV-387063 - Use clang default for C++ version
Instead of enforcing c++14 here, we can instead use the current
clang default

Change-Id: Ib0a178a53c1377f2910edf6fab82b2bac6567ac7
2025-02-03 11:07:52 -05:00
Young Hui - AMD 5c27ece3ff DOCs: update index and TOC to better organize how-to docs (#78)
[ROCm/rocprofiler-systems commit: 10ba4b76de]
2025-01-31 21:03:18 -05:00
Young Hui - AMD 10ba4b76de DOCs: update index and TOC to better organize how-to docs (#78) 2025-01-31 21:03:18 -05:00
Choudhary, Rahul 7c03610905 Update rocm_ci_caller.yml added amd-npi pull request trigger 2025-01-31 16:10:41 -08:00
Choudhary, Rahul 33ac653411 Delete .github/rocm_ci_caller.yml 2025-01-31 16:06:10 -08:00
Choudhary, Rahul 6bd1718fd1 Create rocm_ci_caller.yml 2025-01-31 16:05:53 -08:00
Choudhary, Rahul 0e1d6396cc Create rocm_ci_caller.yml 2025-01-31 15:43:24 -08:00
Choudhary, Rahul 0f7c9495f4 Create kws_caller.yml and rocm_ci_caller.yml
Enabling ROCM CI workflow
2025-01-31 15:42:44 -08:00
Choudhary, Rahul c603d7164c Create rocm_ci_caller.yml 2025-01-31 14:25:18 -08:00
Choudhary, Rahul 460a28ed03 Create kws_caller.yml 2025-01-31 14:22:03 -08:00
Jimbo Xie 4872b420c9 SWDEV-504383 - Cleaned up kForcedTimeout10us and removed IsHwEventReadyForcedWait
Also removed active_wait_timeout

Change-Id: I7a429f003c09a4df267b5c0983050704260094c6
2025-01-31 14:40:18 -05:00
taosang2 32daa8f384 SWDEV-501963 - Add missing codes for gfx950
Cherry-pick https://gerrit-git.amd.com/c/compute/ec/clr/+/1162997

Change-Id: I6b3c6bf55c61cffd43cd6f17b75998f751b75723
2025-01-31 14:34:49 -05:00
Justin Williams f106364fc7 Make README.md pretty
Change-Id: I7c3341deaf3621ebbc9e495b023b1dd4971a5f1d
2025-01-31 12:22:45 -06:00
Justin Williams 1a0e1ff280 Make README.md pretty
Change-Id: I7c3341deaf3621ebbc9e495b023b1dd4971a5f1d


[ROCm/rdc commit: f106364fc7]
2025-01-31 12:22:45 -06:00
Galantsev, Dmitrii bee9991c4a Revert "Dgalants/add auth script location (#108)"
This reverts commit a70aa81cfd.
2025-01-31 12:22:45 -06:00
Galantsev, Dmitrii 0bb38058e7 Revert "Dgalants/add auth script location (#108)"
This reverts commit 2f68fe1efe.


[ROCm/rdc commit: bee9991c4a]
2025-01-31 12:22:45 -06:00
Tao Sang 267d120bb0 FEAT-62198 - Extend device scope for disabled cases
Change-Id: I814e35c528d90ed2bbb34d77377f1b7fd3f1f11d
2025-01-31 11:42:13 -05:00
taosang2 4ec274c7d4 FEAT-56803 - Fix ocltst slow issues
Fix very slow issues of two ocltst test cases.

Cherry pick
 https://gerrit-git.amd.com/c/compute/ec/clr/+/1009383

Change-Id: I0228c5e87cdec366993fd4afb1c25e7f8161c2c5
2025-01-31 10:45:43 -05:00