30 Коммитов

Автор SHA1 Сообщение Дата
Matt Arsenault 0c0d8dc974 SWDEV-548892 - Stop using __ockl_lane_id (#2186)
__lane_id already exists and is identical.
2025-12-19 20:34:55 +01:00
Jatin Chaudhary 8e1aee62d0 make hip-tests compileable with TheRock (#1624)
## Motivation

Resolved: SWDEV-566226

The current implementation of agents inside of rocprof-systems keeps just the minimal necessary set of information required for populating the `info_agent` table inside of rocpd database. There is a sufficient amount of data that is being left out from database, so this change should fix that and store the additional agent information as an `extdata` row inside of `info_agent` table.

## Technical Details

This PR introduces additional filed inside of `agent` structure inside which is representing the JSON formatted string of all the additional information we can acquire about particular agent. This data is processed and added during the initial fetching of agents, and afterwards pushed inside of the database.

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>

* SWDEV-557412 - Incorporate proper chunk offset when remapping virtual memory (#1848)

* SWDEV-557412 - Incorporate proper offset when remapping virtual memory

* Fix condition to check if VMHeap allocation address matches a chunk address

* Move offset calculation outside if/else block

---------

Co-authored-by: JeniferC99 <150404595+JeniferC99@users.noreply.github.com>

* SWDEV-567852 - Clean-up hip::init() (#1948)

* SWDEV-559267 - Use CLPrint to DevLogPrintf with Log Level - detail debug. (#1160)

* SWDEV-548892 - Stop using ocml isinf wrapper (#1854)

* SWDEV-562708 - change default maximum SVM size to 256GB (#1731)

* SWDEV-503089 - Fix and enable disabled HIP tests from math group (#1319)

* SWDEV-503089 - Fix and enable disabled HIP tests from math group

* SWDEV-503089 - Move single precision reduced run to a common function

* SWDEV-548892 - Stop using ockl steadyctr function (#1882)

Directly use the builtin

* Implement PTL support (#1957)

* Implement PTL support

Signed-off-by: adapryor <Adam.pryor@amd.com>
(cherry picked from commit 45bc31292e7940a3b8fca044ef7df22047b95733)

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>

---------

Signed-off-by: adapryor <Adam.pryor@amd.com>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Co-authored-by: Maisam Arif <Maisam.Arif@amd.com>

* SWDEV-558080 - Add recommended granularity (#1176)

* Add recommended granularity

* Improve granularity testing

* Update based on feedback

* Fix and enable VMM tests on cuda (#1855)

* Fix and enable VMM tests on cuda

* Minor syntax fixes

---------

Co-authored-by: Rahul Manocha <rmanocha@amd.com>

* [rocprofiler-systems] Add support for ompt_callback_thread_begin (#1681)

* Add thread_begin callback

* Make OMPT callbacks that are instant have start_ts = end_ts

* SWDEV-567514: Remove default stream wait (#1977)

- when virtual map command is called

- can create deadlock

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>

* Fix flaky test Unit_hipStreamAddCallback_StrmSyncTiming (#2022)

* Review comments

* skip the 3 failing tests to merge hip-tests rocm-systems PR

---------

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
Signed-off-by: adapryor <Adam.pryor@amd.com>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Co-authored-by: GunaShekar <agunashe@amd.com>
Co-authored-by: agunashe <ajay.gunashekar@amd.com>
Co-authored-by: Ethan Trinh <Ethan.Trinh@amd.com>
Co-authored-by: JeniferC99 <150404595+JeniferC99@users.noreply.github.com>
Co-authored-by: Victor Zhang <111778801+victzhan@users.noreply.github.com>
Co-authored-by: German Andryeyev <56892148+gandryey@users.noreply.github.com>
Co-authored-by: usrihari123 <srihari.u@amd.com>
Co-authored-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
Co-authored-by: anujshuk-amd <anujshuk@amd.com>
Co-authored-by: itrowbri <Ian.Trowbridge@amd.com>
Co-authored-by: marantic-amd <marantic@amd.com>
Co-authored-by: David Galiffi <David.Galiffi@amd.com>
Co-authored-by: cadolphe-amd <chris.adolphe@amd.com>
Co-authored-by: Karthik Jayaprakash <54370791+kjayapra-amd@users.noreply.github.com>
Co-authored-by: Matt Arsenault <Matthew.Arsenault@amd.com>
Co-authored-by: Todd tiantuo Li <88386084+lttamd@users.noreply.github.com>
Co-authored-by: amilanov-amd <Aleksandar.Milanov@amd.com>
Co-authored-by: Adam Pryor <61172547+adam360x@users.noreply.github.com>
Co-authored-by: Maisam Arif <Maisam.Arif@amd.com>
Co-authored-by: AidanBeltonS <abeltons@amd.com>
Co-authored-by: Rahul Manocha <153310294+manocharahul@users.noreply.github.com>
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
Co-authored-by: Kian Cossettini <Kian.Cossettini@amd.com>
Co-authored-by: Shadi Dashmiz <94885391+shadidashmiz@users.noreply.github.com>
Co-authored-by: Ioannis Assiouras <38722728+iassiour@users.noreply.github.com>
Co-authored-by: Ajay GunaShekar <86270081+agunashe@users.noreply.github.com>
2025-12-03 08:53:17 -08:00
systems-assistant[bot] ad3cb435ee SWDEV-507874 - Psdb perf: reduce test iterations (#618)
Change-Id: Ia9af40ecfb2ea121388a3c7a932805b49cef7669

Co-authored-by: agunashe <ajay.gunashekar@amd.com>
2025-10-20 09:00:05 -07:00
systems-assistant[bot] baaca0f956 SWDEV-545485 - Fix memory leaks in memset performance tests (#541)
Co-authored-by: Satyanvesh Dittakavi <Satyanvesh.Dittakavi@amd.com>
Co-authored-by: Satyanvesh Dittakavi <53337087+satyanveshd@users.noreply.github.com>
2025-09-03 20:35:42 +05:30
Danylo Lytovchenko 2ff2316227 Adjust clang format to the new versions, revert broken macro layout (#714) 2025-08-22 17:23:22 +02:00
Danylo Lytovchenko f7338717ae SWDEV-470698 - fix formatting, add format check workflow (#657) 2025-08-20 19:58:06 +05:30
Dittakavi, Satyanvesh b6af8596ba SWDEV-530921 - Update warp sync test to not use warpSize at compile time (#184)
[ROCm/hip-tests commit: 0c095130e6]
2025-05-22 14:26:39 +05:30
Dittakavi, Satyanvesh fd7786f846 SWDEV-1 - Fix hip on nvidia psdb failures (#185)
[ROCm/hip-tests commit: 1da044b273]
2025-05-19 15:18:27 +05:30
Arandjelovic, Marko 7c28abc538 SWDEV-505672 - Add performance test for HtoD and DtoH with kernel in-between (#27)
[ROCm/hip-tests commit: 3257c44126]
2025-05-14 20:12:23 +05:30
Hernandez, Gerardo 5d5fa6fc2a SWDEV-420237 - Add tests for reduce sync operations (#102)
[ROCm/hip-tests commit: 001affc6ae]
2025-05-14 11:57:05 +01:00
Branislav Brzak 0a0d50354c SWDEV-487934 - Properly destroy shareable mem pool
Change-Id: I6df15c0d463dd95237c5c51e8136d96ede3db4fe


[ROCm/hip-tests commit: 31c3eb29d4]
2024-12-05 04:41:17 -05:00
Jaydeep Patel ad52c74707 SWDEV-479807 - Skip if peer access is not supported.
Change-Id: I2a40976e7e1a4c86c41ea86e87359c7d4b85c6d8


[ROCm/hip-tests commit: 2f067487d2]
2024-10-23 10:57:23 -04:00
taosang2 6af4dd61e6 SWDEV-451393 - Add kernel execution perf test
Add kernel excution perf test per blockSize and block number.
Implement a solution to roughly evaluate gpu variable
frequency based on clock64() and wall_clock64().

Change-Id: Ic87761a862d4a894fdcaab3431d63fe2592bb682


[ROCm/hip-tests commit: 0a22d14775]
2024-10-23 02:25:07 -04:00
Rahul Manocha 70541b6c27 [SWDEV-442583] - Fix for hipMemset performance tests
Change-Id: Id4f0d82551aaad6b7054660f318421e062c74c64


[ROCm/hip-tests commit: eeaa39f2bf]
2024-05-06 10:49:30 -04:00
Branislav Brzak 35c7d3e1c6 SWDEV-448163 - Fix Doxygen warnings
Change-Id: If72e312461a72920b6a482009c9aef4cf92f2e1b


[ROCm/hip-tests commit: 6c23e25c86]
2024-03-25 05:18:34 -04:00
Jatin Chaudhary b60e8dca7c SWDEV-446760 - add image check and skip failing tests
Change-Id: If4a135222ab755c23a4c0d00c29bea33744528a5


[ROCm/hip-tests commit: d0088ee34f]
2024-03-21 06:16:45 -04:00
Jaydeep Patel fed7008230 SWDEV-448989 - Check image support.
Change-Id: Id245c3f348c6c7b4146224f93534443f93a01a9d


[ROCm/hip-tests commit: bffc913f8c]
2024-03-19 11:59:52 -04:00
Jaydeep Patel cab05268fa SWDEV-447525 - Zero-initialize hipMemPoolProps.
Change-Id: Iee71961bd1d679f0a6a9223e6387748602706c2d


[ROCm/hip-tests commit: b45bc412d7]
2024-03-15 14:26:00 +00:00
Jaydeep Patel 053e0e59f3 SWDEV-447525 - Tests for maxSize Mem pool props.
Change-Id: If0ce1bafa8101da8b1856fe9175737cdb82a2b86


[ROCm/hip-tests commit: bd760c4818]
2024-03-13 01:32:56 -04:00
Sebastian Luzynski 6009e57546 SWDEV-448163 - Fix doxygen warnings
This is a first batch of doxygen warnings fixes.

Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: Iba81d08b15738f80d86626113026e8a7e9cab42b


[ROCm/hip-tests commit: ea3508bf46]
2024-03-08 04:22:28 -05:00
Rakesh Roy fa871e211f SWDEV-1 - Merge github PRs to amd-staging
- https://github.com/ROCm/hip-tests/pull/119
- https://github.com/ROCm/hip-tests/pull/151
- https://github.com/ROCm/hip-tests/pull/57
- https://github.com/ROCm/hip-tests/pull/58
- https://github.com/ROCm/hip-tests/pull/59
- https://github.com/ROCm/hip-tests/pull/60
- https://github.com/ROCm/hip-tests/pull/99
- https://github.com/ROCm/hip-tests/pull/139
- https://github.com/ROCm/hip-tests/pull/152
- https://github.com/ROCm/hip-tests/pull/48
- https://github.com/ROCm/hip-tests/pull/54
- https://github.com/ROCm/hip-tests/pull/53
- https://github.com/ROCm/hip-tests/pull/24
- https://github.com/ROCm/hip-tests/pull/23
- https://github.com/ROCm/hip-tests/pull/22
- https://github.com/ROCm/hip-tests/pull/21
- https://github.com/ROCm/hip-tests/pull/20
- https://github.com/ROCm/hip-tests/pull/14
- https://github.com/ROCm/hip-tests/pull/8

Change-Id: I1eea54cd1436f3ddbfd5c1b3b2f672eb81d03cd4


[ROCm/hip-tests commit: 96df1fde80]
2024-02-23 20:42:03 +05:30
German Andryeyev 7e1d48625c SWDEV-311270 - Fix HIP tests for mempool IPC
Change-Id: Ib5065a259e66fd53c3ffd6bc038dd65be00a3a3d


[ROCm/hip-tests commit: 228748a9d8]
2024-02-20 11:35:44 -05:00
Mirza Halilčević d1bebf302f EXSWHTEC-249 - Implement Performance Tests for Memcpy APIs #119
Change-Id: Ib04fe4dd3efce92d7c7bfc8f0c75abd8e9dfe7be


[ROCm/hip-tests commit: e3bac85a3c]
2024-02-19 23:36:51 +05:30
Nives Vukovic 48c932afad EXSWHTEC-259 - Implement new and extend existing tests for thread_block #151
Change-Id: I4d85af8e5f805a1c8ff7b7efd3b3400f38343ea9


[ROCm/hip-tests commit: 4fa177dd2b]
2024-02-19 23:36:30 +05:30
Mirza Halilčević db334cac97 EXSWHTEC-248 - Implement Performance Tests for Memset APIs #99
Change-Id: I6b4a0758299b0fd6d70c75508a4a0d67c62187ff


[ROCm/hip-tests commit: 95a954e63a]
2024-02-19 23:29:36 +05:30
Mirza Halilčević a2e616488e EXSWHTEC-252 - Implement Kernel Launch Performance Tests #139
Change-Id: Ib27db722a31ac0cd7ad1942722c6eba62087defb


[ROCm/hip-tests commit: 2be6860916]
2024-02-19 23:29:18 +05:30
Maneesh Gupta 6ae21d195e SWDEV-1 - Merge github PRs to amd-staging
- https://github.com/ROCm/hip-tests/pull/194
- https://github.com/ROCm/hip-tests/pull/36
- https://github.com/ROCm/hip-tests/pull/44
- https://github.com/ROCm/hip-tests/pull/47
- https://github.com/ROCm/hip-tests/pull/62
- https://github.com/ROCm/hip-tests/pull/63
- https://github.com/ROCm/hip-tests/pull/64
- https://github.com/ROCm/hip-tests/pull/65
- https://github.com/ROCm/hip-tests/pull/66
- https://github.com/ROCm/hip-tests/pull/67
- https://github.com/ROCm/hip-tests/pull/68
- https://github.com/ROCm/hip-tests/pull/69
- https://github.com/ROCm/hip-tests/pull/142
- https://github.com/ROCm/hip-tests/pull/196
- https://github.com/ROCm/hip-tests/pull/238

Change-Id: I74f7fef76d7d536b1cf89dad3e527c92d1cd21b5


[ROCm/hip-tests commit: 6429ef1b60]
2023-12-20 10:39:37 +00:00
Nives Vukovic 450d7159dd EXSWHTEC-251 - Implement Performance Tests for Stream APIs (#142)
Change-Id: I790d8cadb3a94a220a52c8bdc0a23b1a63931232


[ROCm/hip-tests commit: f05f97758e]
2023-12-20 10:22:01 +00:00
Marko Veniger abe4a14f9e EXSWHTEC-250 - Implement Performance Tests for Event APIs (#133)
* Introduce performance tests to project.
* Improve benchmarking utilities.
* Delete copy constructors from Timer and Benchmark classes.
* Disable Catch2's benchmarking functionalities.
* Implement Performance Tests for Event APIs
* Implement microbenchmarks for the Event Management APIs.
* Add output modifier to Benchmark class.
* Seperate hipEventCreateWithFlags and hipEventDestroy into seperate files.
* Introduce command line options.
* Update performance_common.hh

[ROCm/hip-tests commit: bca87f46a6]
2023-08-14 20:47:29 +05:30
milos-mozetic 4c7a0c7bef EXSWHTEC-231 - Implement custom Benchmarking tool for Performance tests (#117)
- Introduce performance tests to project.
- Improve benchmarking utilities.
- Delete copy constructors from Timer and Benchmark classes.
- Disable Catch2's benchmarking functionalities.
- Address review comments and add progress bar/display output to the Benchmarking tool
- Add flushing of the buffer on the benchmark name display
- Introduce command line options.
- Add allocation type to string helper function.
- Add output modifier to Benchmark class.
- Fix invalid calculation of deviation
- Update performance_common.hh
- Resolve build error on Windows by adding include for reduce and accumulate

[ROCm/hip-tests commit: 5fbbdcae68]
2023-07-18 12:53:27 +05:30