Choudhary, Rahul
69be6f1c16
Update rocm_ci_caller.yml: base ref to support pull and push request
...
The change is present in mainline and was missing in staging
2024-12-18 11:57:44 -08:00
Choudhary, Rahul
61ee9e50e8
Update rocm_ci_caller.yml: base ref to support pull and push request
...
The change is present in mainline and was missing in staging
[ROCm/rdc commit: 69be6f1c16 ]
2024-12-18 11:57:44 -08:00
Vladana Stojiljkovic
fd92c47fea
SWDEV-491257 - Create stream capture tests with Event APIs
...
Change-Id: I9803a78c3513845f7bf91333a0db0d43bed5b346
2024-12-18 13:52:31 -05:00
Marko Arandjelovic
a35f7bbad6
SWDEV-477706 - Add unit test for hipTexRefGetBorderColor and hipTexRefSetBorderColor
...
Change-Id: I01a3a8c5bd2e8f7396bf55c0d6dd8b7a7d5df9d3
2024-12-18 13:41:04 -05:00
Trowbridge, Ian
b2aa29eb0a
Skip Building of OpenMP Samples and Tests ( #77 )
...
* Add option to disable openmp samples
* Skip building openmp tests and samples for now
[ROCm/rocprofiler-sdk commit: 9de284a568 ]
2024-12-18 11:37:51 -06:00
Trowbridge, Ian
9de284a568
Skip Building of OpenMP Samples and Tests ( #77 )
...
* Add option to disable openmp samples
* Skip building openmp tests and samples for now
2024-12-18 11:37:51 -06:00
adapryor
e1e7f59269
Fix for SWDEV-500637
...
Signed-off-by: adapryor <Adam.pryor@amd.com >
Change-Id: Id42a2da321bdba74dfc8e16d7dc04d05cef4e34a
2024-12-18 11:10:41 -06:00
adapryor
c42d0232f4
Fix for SWDEV-500637
...
Signed-off-by: adapryor <Adam.pryor@amd.com >
Change-Id: Id42a2da321bdba74dfc8e16d7dc04d05cef4e34a
[ROCm/rdc commit: e1e7f59269 ]
2024-12-18 11:10:41 -06:00
Michael Xie
8d02e942a6
SWDEV-488231 - Add memory cleanup after test
...
Change-Id: I0a4f6e1649c1c30e6f76243f83681a6755b5368b
2024-12-18 12:06:57 -05:00
Sourabh Betigeri
726a537a74
SWDEV-488318 - Fixes memory leaks in SPT tests
...
Change-Id: Icabc541b25342d7d5c095b437b91f74582cd9336
2024-12-18 11:43:20 -05:00
Xiaogang Chen
eafa929520
kfdtest: fix a regession on KFDEvictTest test case
...
The kfdtest multi-gpu extension only allows using the first gpu(in topology
order) as default gpu for KFDEvictTest test case. We should allow user
to select any gpu in system as default gpu to run KFDEvictTest test case.
Signed-off-by: Xiaogang Chen<Xiaogang.Chen@amd.com >
Change-Id: I8848771d92ae2812fbb96e917454ab3b4a71a2fa
2024-12-18 10:13:54 -06:00
Apurv Mishra
699d0140be
rocr: multiple uninitialized and unused variables
...
Minor modifications to multiple source and header
files based on Coverity report
Change-Id: I4a73d0f56640983c4d5124e13c8c280245cca672
Signed-off-by: Apurv Mishra <apurv.mishra@amd.com >
2024-12-18 10:11:13 -05:00
Apurv Mishra
441bd9fe6c
rocr: refactor of runtime.cpp based on Coverity
...
Add return checks, initialization and clean
redundant memory operations
fix 1: check return value of 'setsockopt' for error
fix 2: check return value of 'PtrInfo' for error
fix 3: move 'tool_names' instead of copying
fix 4: call 'munmap' for 'va' only once
fix 5: use 'ssize' for possible return values of -1 (err)
fix 6: add missing initialization in constructors
fix 7: add initialization for some scalars and pointers
Change-Id: I07d90e36d4e1fe48c4de4f44e18083e5ed4c5fbc
Signed-off-by: Apurv Mishra <apurv.mishra@amd.com >
2024-12-18 10:06:55 -05:00
Sourabh Betigeri
cd9db5a2fa
SWDEV-505277 - Adds hipStreamBatchMemOp in the enum of hcc_map
...
Change-Id: I6e58dfbe4ba13db8717edc36020fefabc9ddbe23
2024-12-18 05:38:58 -05:00
Choudhary, Rahul
948271bd9b
Create rocm_ci_caller.yml enabling PSDB and OSDB for amd-mainline changes
2024-12-17 11:36:22 -08:00
Choudhary, Rahul
cb49a2e8a4
Create rocm_ci_caller.yml enabling PSDB and OSDB for amd-mainline changes
...
[ROCm/rdc commit: 948271bd9b ]
2024-12-17 11:36:22 -08:00
Saleel Kudchadker
fa63919a63
SWDEV-504340 - Move cast of cl_mem inside the condition
...
Change-Id: I9c91f5d945a8d8bd2b2f55e3d11ede66afe4eef7
2024-12-17 12:58:12 -05:00
Giovanni Baraldi
59e9e3a0c3
SWDEV-490031: Fixing activity metrics
...
Change-Id: Id4e74b0f3ff35d892de05e044faf399d98199354
2024-12-17 10:32:01 -06:00
Giovanni Baraldi
2c7baf6c89
SWDEV-490031: Fixing activity metrics
...
Change-Id: Id4e74b0f3ff35d892de05e044faf399d98199354
[ROCm/rocprofiler commit: 59e9e3a0c3 ]
2024-12-17 10:32:01 -06:00
German Andryeyev
e3efce20be
SWDEV-504650 - Switch to shared_mutex for events
...
Use shared mutex for events validation
Change-Id: Iff291c758d9edd65717c506150f3b9d39e5306ba
2024-12-17 11:04:58 -05:00
Jatin Chaudhary
fccf0fa2f0
SWDEV-377518 - Fix bf16/fp8 header to be compileable with hiprtc
...
Change-Id: I2093a39d79a46da7e102266c04c2a71e03dcb88e
2024-12-17 08:57:15 -05:00
Marko Arandjelovic
d38eb853a0
SWDEV-499927 - Added nullptr checks to prevent segfaults
...
Change-Id: I6c721340d195f803a48187009d714c94587f098d
2024-12-17 18:01:40 +05:30
Longlong Yao
22ed708c39
Use /dev/dxg to detect wsl environment
...
Since wslinfo does not exist in docker running on wsl,
change the way to detect wsl environment.
Change-Id: I215eb985a227caeef47483cd51818c84bf1d8a4c
Signed-off-by: Longlong Yao <Longlong.Yao@amd.com >
2024-12-16 20:18:53 -08:00
dependabot[bot]
9be05fc673
Bump rocm-docs-core[api_reference] from 1.11.0 to 1.12.0 in /docs/sphinx
...
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases )
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.11.0...v1.12.0 )
---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
[ROCm/rocprofiler-systems commit: fc6900c70e ]
2024-12-16 22:46:06 -05:00
dependabot[bot]
fc6900c70e
Bump rocm-docs-core[api_reference] from 1.11.0 to 1.12.0 in /docs/sphinx
...
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases )
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.11.0...v1.12.0 )
---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-16 22:46:06 -05:00
Horatio Zhang
b02b842368
rocrtst: fix build error for opencl-c.h
...
<built-in>:2:10: fatal error: '/opt/rocm/llvm/lib/clang/18/includeopencl-c.h' file not found
2 | #include "/opt/rocm/llvm/lib/clang/18/includeopencl-c.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Change-Id: I56138aba15465b6dd47bb3aad810bdd10f2b2a74
Signed-off-by: Horatio Zhang <Hongkun.Zhang@amd.com >
2024-12-16 21:28:09 -05:00
Ioannis Assiouras
e8b2fdab96
SWDEV-483134 - Remove hipExtHostAlloc API
...
Change-Id: I60777ef5c56b60dd8100d0d794ca10fb3b96a555
2024-12-16 17:13:49 -05:00
Ioannis Assiouras
327a48ee69
SWDEV-483134 - Remove hipExtHostAlloc API
...
Change-Id: I28796c08565f1bb9280ba38a4db78767b975198b
2024-12-16 17:05:47 -05:00
Pengda Xie
078fe7e5de
SWDEV-503764 - Add wptr and rptr to ClPrint for dispatch barrier methods
...
- added wptr and rptr to ClPrint in dispatchBarrierPacket and dispatchBarrierValuePacket
Change-Id: I8a62289deb23c9f657a9b0ac6138bb55eafecba2
2024-12-16 16:45:30 -05:00
Peter Park
01ba75c945
docs: Add section on building rocprofsys without ROCm ( #57 )
...
Adds brief information in install.rst regarding
Provided build scripts
What to do when building rocprofiler-systems w/o ROCm
Recent changes to the configuration settings as a result of rocprofiler-sdk support.
Fixes minor formatting issues in install.rst resulting in Sphinx build warnings
---------
Co-authored-by: David Galiffi <David.Galiffi@amd.com >
[ROCm/rocprofiler-systems commit: 02ed6e187e ]
2024-12-16 16:29:15 -05:00
Peter Park
02ed6e187e
docs: Add section on building rocprofsys without ROCm ( #57 )
...
Adds brief information in install.rst regarding
Provided build scripts
What to do when building rocprofiler-systems w/o ROCm
Recent changes to the configuration settings as a result of rocprofiler-sdk support.
Fixes minor formatting issues in install.rst resulting in Sphinx build warnings
---------
Co-authored-by: David Galiffi <David.Galiffi@amd.com >
2024-12-16 16:29:15 -05:00
darren-amd
5a6f6ed83d
Allow disabling of openmp examples ( #64 )
...
Add flag to disable openmp examples
Co-authored-by: David Galiffi <David.Galiffi@amd.com >
---------
Co-authored-by: David Galiffi <David.Galiffi@amd.com >
[ROCm/rocprofiler-systems commit: 888b9a43a0 ]
2024-12-16 14:31:56 -05:00
darren-amd
888b9a43a0
Allow disabling of openmp examples ( #64 )
...
Add flag to disable openmp examples
Co-authored-by: David Galiffi <David.Galiffi@amd.com >
---------
Co-authored-by: David Galiffi <David.Galiffi@amd.com >
2024-12-16 14:31:56 -05:00
Xiaogang Chen
ec457752dc
kfdtest: update run_kfdtest.sh when HSA_TEST_GPUS_NUM is enable
...
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: I68e4f4f8fd7397d3b39b3473638836e4531bef2b
2024-12-16 12:47:50 -05:00
Xiaogang Chen
cbb38606e3
kfdtest: Convert KFDSVMRangeTest into multi-GPU test framework
...
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: Ia4d55c38576c39b3768a847c60d70bda88f65740
2024-12-16 12:47:44 -05:00
Xiaogang Chen
641f1f797d
kfdtest: Convert KFDLocalMemoryTest into multi-GPU test framework
...
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: Iaf20ec15e85ed10998e9735881d3c029abedd3a4
2024-12-16 12:47:39 -05:00
Xiaogang Chen
10c9b98f6e
kfdtest: Convert KFDMemoryTest into multi-GPU test framework
...
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: I29d7fbb156a88b4df5be5f2fa0c20fbc47b108ed
2024-12-16 12:47:34 -05:00
Xiaogang Chen
f229605b06
kfdtest: Convert KFDQMTest into multi-GPU test framework
...
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: Ia3582ab5b802ead4df267eeb280b8e7d37eb0ac2
2024-12-16 12:47:28 -05:00
Xiaogang Chen
dbccf11ef8
kfdtest: Convert KFDExceptionTest into multi-GPU test framework
...
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: I545ac485d13a3a56a3b352926ec71daa5b074862
2024-12-16 12:47:21 -05:00
Xiaogang Chen
0357e2e139
kfdtest: Convert KFDEventTest into multi-GPU test framework
...
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: Id1dc91f654686f159adb1bc70907e11558ee4be0
2024-12-16 12:47:14 -05:00
Xiaogang Chen
fa31caddba
kfdtest: Convert KFDCWSRTest into multi-GPU test framework
...
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: I51646ebd95b2ef4820f7b503bd642deb05a86930
2024-12-16 12:47:08 -05:00
Xiaogang Chen
6c6daf66bf
kfdtest: Convert KFDGWSTest into multi-GPU test framework
...
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: I0901750b2ce55bd7f44425b01442d98f0faf12fd
2024-12-16 12:47:01 -05:00
Xiaogang Chen
759ca45f54
kfdtest: convert KFDGraphicsInterop into multi-GPU test framework
...
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: I590be9ea063b0d115641aa5b40be4c376377c1dd
2024-12-16 12:46:55 -05:00
Xiaogang Chen
dd1801df41
kfdtest: convert KFDPerfCountersTest into multi-GPU test framework
...
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: I29124147394b69c7fb5533a0e54d375d06b1ec13
2024-12-16 12:46:49 -05:00
Xiaogang Chen
c69e660e7a
kfdtest: Update KFDMultiProcessTest class to support kfdtest run on multiple gpu
...
Update KFDMultiProcessTest class to fork process on gpu wise.
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: Ibb12d64b4cbc5f082d737fd8d8a74233b75be13e
2024-12-16 12:46:42 -05:00
Xiaogang Chen
b4943d718b
kfdtest: Implement an infracture to support kfdtest run on multi gpu
...
Update class KFDBaseComponentTest to have kfdtest run on multi gpu under google test framework.
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: If139c4fc6cf062fb800ff171c69cbf9604f98278
2024-12-16 12:46:32 -05:00
Xiaogang Chen
665e6f80bf
kfdtest: Add an env variable to control kfdtest on multi gpu
...
Add HSA_TEST_GPUS_NUM env variable that controls gpu number kfdtest uses.
This env variable will be used by following patches.
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: I800042f93d4e0955040f450e9b5cf09927971323
2024-12-16 12:46:25 -05:00
Xiaogang Chen
36a82593ed
kfdtest: Extend gtest log functions
...
Extend Google test log functions to extend kfdtest running on multiple gpu.
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: I6d8de92fec606309756423b3a6fa2af3558c0517
2024-12-16 12:46:16 -05:00
Xiaogang Chen
e1fdd6fb5f
kfdtest: Separate LLVM initialization and instantiation
...
Assembler function from LLVM is not multi-thread safe and is ASIC dependent.
To extend kfdtest to test on multiple GPU separate LLVM initialization and
assembler instantiation. Each test uses its own assembler.
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com >
Change-Id: I94c996e807b81d8b19361b450be985b12042477c
2024-12-16 12:46:07 -05:00
Rambabu Swargam
92b717da81
SWDEV-490555 - [catch2][dtest] Additional tests for hipMemcpyDtoA and hipMemcpy2DArrayToArray
...
Change-Id: Icd0e4c35cc0cf60f2e943c4f4da39de23a8c1e5b
2024-12-16 12:13:01 -05:00