Граф коммитов
64512 Коммитов
Автор SHA1 Сообщение Дата
Jonathan R. Madsen 978d9a0714 Fix category regex + new features (#25)
* Fix category regex + new features

- fixes issue with -R option
- Supports --csv option
- Supports --csv-separator option
- Signal handler to dump logs
- Tweak to component id strings display
- Support regex negation

* Tweak PASS_REGEX for new tests

[ROCm/rocprofiler-systems commit: f93ddc1ee5]
2022-06-06 23:23:40 -05:00
Jonathan R. Madsen f93ddc1ee5 Fix category regex + new features (#25)
* Fix category regex + new features

- fixes issue with -R option
- Supports --csv option
- Supports --csv-separator option
- Signal handler to dump logs
- Tweak to component id strings display
- Support regex negation

* Tweak PASS_REGEX for new tests
2022-06-06 23:23:40 -05:00
Jonathan R. Madsen c08353f2c3 Set OMNITRACE_USE_THREAD_SAMPLING=ON for several tests (#29)
[ROCm/rocprofiler-systems commit: 75092f5d83]
2022-06-06 23:23:26 -05:00
Jonathan R. Madsen 75092f5d83 Set OMNITRACE_USE_THREAD_SAMPLING=ON for several tests (#29) 2022-06-06 23:23:26 -05:00
Jeremy Newton a5b6de5037 SWDEV-335990 - Use GNUInstallDirs
GNUInstallDirs is used to allow the user to customize the install paths
of HIP, rather than using hardcoded locations.

See documentation for more information:
https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html

Note that libdir must be overriden to "lib" before including
GNUInstallDirs, because by default, cmake tries to detect the libdir
path, but ROCm packaging would like to use lib by default for all
targets. This does not stop the user (or distros) from overriding.

Also note this change does no take into account the changes needed to
non-cmake files, such as perl scripts, so not all paths combinations are
necessarily functional.

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: Iae80f47c47ea0a74fc1c221b6eea82b557601394


[ROCm/clr commit: bf4df229c9]
2022-06-06 23:43:05 -04:00
Jeremy Newton bf4df229c9 SWDEV-335990 - Use GNUInstallDirs
GNUInstallDirs is used to allow the user to customize the install paths
of HIP, rather than using hardcoded locations.

See documentation for more information:
https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html

Note that libdir must be overriden to "lib" before including
GNUInstallDirs, because by default, cmake tries to detect the libdir
path, but ROCm packaging would like to use lib by default for all
targets. This does not stop the user (or distros) from overriding.

Also note this change does no take into account the changes needed to
non-cmake files, such as perl scripts, so not all paths combinations are
necessarily functional.

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: Iae80f47c47ea0a74fc1c221b6eea82b557601394
2022-06-06 23:43:05 -04:00
Jonathan R. Madsen 3aa5061f61 Fix perfetto_counter_track string lifetime (#28)
* Fix perfetto_counter_track string lifetime

- ensure the C-string pointer backing the perfetto::CounterTrack label is not still valid even after resizing container

* STL includes

[ROCm/rocprofiler-systems commit: 3031f173fd]
2022-06-06 21:12:18 -05:00
Jonathan R. Madsen 3031f173fd Fix perfetto_counter_track string lifetime (#28)
* Fix perfetto_counter_track string lifetime

- ensure the C-string pointer backing the perfetto::CounterTrack label is not still valid even after resizing container

* STL includes
2022-06-06 21:12:18 -05:00
Jonathan R. Madsen afc2135ee0 Update setup-env.sh and modulefile (#26)
- Fixes setup-env.sh PYTHONPATH
- setup-env.sh exports CMAKE_PREFIX_PATH
- setup-env.sh export omnitrace_DIR
- modulefile uses generic variables

[ROCm/rocprofiler-systems commit: c66dc44693]
2022-06-06 20:48:33 -05:00
Jonathan R. Madsen c66dc44693 Update setup-env.sh and modulefile (#26)
- Fixes setup-env.sh PYTHONPATH
- setup-env.sh exports CMAKE_PREFIX_PATH
- setup-env.sh export omnitrace_DIR
- modulefile uses generic variables
2022-06-06 20:48:33 -05:00
Christophe Paquot dc2aab85b2 SWDEV-322620 - Virtual Memory Management
Introducing a VirtualMemObj map as it is needed to differentiate
between virtual address ranges and actual physical memory
This is because a whole VA range can have several physical memories
as chunks.

Change-Id: Ie2a972b4faf3f7d552cfa53e77898f80ad75740a


[ROCm/clr commit: 905088e4e7]
2022-06-06 11:32:22 -07:00
Christophe Paquot 905088e4e7 SWDEV-322620 - Virtual Memory Management
Introducing a VirtualMemObj map as it is needed to differentiate
between virtual address ranges and actual physical memory
This is because a whole VA range can have several physical memories
as chunks.

Change-Id: Ie2a972b4faf3f7d552cfa53e77898f80ad75740a
2022-06-06 11:32:22 -07:00
agunashe 2bfce50351 SWDEV-327563 - Windows: fix memory tests build failure (#2716)
[ROCm/hip-tests commit: 377020155e]
2022-06-06 10:01:34 -07:00
agunashe 377020155e SWDEV-327563 - Windows: fix memory tests build failure (#2716) 2022-06-06 10:01:34 -07:00
agunashe c4061124a3 SWDEV-327563 - Windows: fix memory tests build failure (#2716)
[ROCm/hip commit: 5db6fc28c8]
2022-06-06 10:01:34 -07:00
agunashe 5db6fc28c8 SWDEV-327563 - Windows: fix memory tests build failure (#2716) 2022-06-06 10:01:34 -07:00
Todd tiantuo Li 4f86eae6f8 SWDEV-339551 - Prevent ICD from loading outdated amdocl binary
1.Keep track of library name in KHRicdVendorRec
2.Check if library with the same name has already been loaded before adding it in ICD list
CL#1760530

Change-Id: I1e0356422c71963788b76019b0d8db5b8542f9ee


[ROCm/clr commit: ed40c24fa3]
2022-06-06 05:42:19 -07:00
Todd tiantuo Li ed40c24fa3 SWDEV-339551 - Prevent ICD from loading outdated amdocl binary
1.Keep track of library name in KHRicdVendorRec
2.Check if library with the same name has already been loaded before adding it in ICD list
CL#1760530

Change-Id: I1e0356422c71963788b76019b0d8db5b8542f9ee
2022-06-06 05:42:19 -07:00
Jonathan R. Madsen 825302c8b8 New documentation page with youtube links to tutorials (#23)
[ROCm/rocprofiler-systems commit: e8b6c03d32]
2022-06-06 01:59:06 -05:00
Jonathan R. Madsen e8b6c03d32 New documentation page with youtube links to tutorials (#23) 2022-06-06 01:59:06 -05:00
Laurent Morichetti af5722a2ce Fix test errors
Check the HIP API calls status, and abort if != success.

Change-Id: Ifc38d8f28092ffdce1674a05a7886f7c0c97a885


[ROCm/roctracer commit: 4c6f249cc1]
2022-06-03 01:39:58 -04:00
Laurent Morichetti 4c6f249cc1 Fix test errors
Check the HIP API calls status, and abort if != success.

Change-Id: Ifc38d8f28092ffdce1674a05a7886f7c0c97a885
2022-06-03 01:39:58 -04:00
ROCm CI Service Account 3c22e4b289 SWDEV-1 - [catch2][dtest] Add functional test for hiprtc (#2689)
Change-Id: I204b060fc00bb81f14f7bb296d4ff5cd7be9804a

[ROCm/hip-tests commit: 486fd01d0c]
2022-06-03 08:32:33 +05:30
ROCm CI Service Account 486fd01d0c SWDEV-1 - [catch2][dtest] Add functional test for hiprtc (#2689)
Change-Id: I204b060fc00bb81f14f7bb296d4ff5cd7be9804a
2022-06-03 08:32:33 +05:30
ROCm CI Service Account 31b7a69f96 SWDEV-1 - [catch2][dtest] Add functional test for hiprtc (#2689)
Change-Id: I204b060fc00bb81f14f7bb296d4ff5cd7be9804a

[ROCm/hip commit: 32ee48cf89]
2022-06-03 08:32:33 +05:30
ROCm CI Service Account 32ee48cf89 SWDEV-1 - [catch2][dtest] Add functional test for hiprtc (#2689)
Change-Id: I204b060fc00bb81f14f7bb296d4ff5cd7be9804a
2022-06-03 08:32:33 +05:30
ROCm CI Service Account c430e0d281 SWDEV-336532 - Add hipMemoryTypeManaged in hipMemoryType enum (#2688)
Change-Id: Ia1618668a57ebaca9a65081ba13af579c0ac87c2

[ROCm/hip commit: bf3c5870e6]
2022-06-03 08:32:22 +05:30
ROCm CI Service Account bf3c5870e6 SWDEV-336532 - Add hipMemoryTypeManaged in hipMemoryType enum (#2688)
Change-Id: Ia1618668a57ebaca9a65081ba13af579c0ac87c2
2022-06-03 08:32:22 +05:30
fb55534367 Adding support for hipStreamWriteValue32/64 and hipStreamWaitValue32/64 (#2568)
* AHTS-90 - Add missing test case for hipStreamCreate
* Update hipStreamGetFlags testing
* Added testing for hipStreamSynchronize
* Added macro to test a particular error code is returned from an expression
* Update hip_test_common.hh
* Correcting checkers to properly list the test count
* fix copy paste error in HIP_CHECK_ERROR
* Add support for hipStreamWaitValue
* Remove changes unrelated to this PR
* Revert "Added testing for hipStreamSynchronize"
* Remove changes unrelated to this PR
* Added skip test for failure on AMD devices and removed changed to hip_test_common.hh
* Fixed build issues on Nvidia platforms by disabled incompatible tests; Updated negative tests to check the correct return values

Co-authored-by: Jatin Chaudhary <jatin.chaudhary@codeplay.com>
Co-authored-by: Fábio Mestre <fabio.mestre@codeplay.com>
Co-authored-by: Finlay Marno <finlay.marno@codeplay.com>
Co-authored-by: Fábio <fabio.m.mestre@gmail.com>

[ROCm/hip-tests commit: 0150ab8682]
2022-06-03 08:31:30 +05:30
0150ab8682 Adding support for hipStreamWriteValue32/64 and hipStreamWaitValue32/64 (#2568)
* AHTS-90 - Add missing test case for hipStreamCreate
* Update hipStreamGetFlags testing
* Added testing for hipStreamSynchronize
* Added macro to test a particular error code is returned from an expression
* Update hip_test_common.hh
* Correcting checkers to properly list the test count
* fix copy paste error in HIP_CHECK_ERROR
* Add support for hipStreamWaitValue
* Remove changes unrelated to this PR
* Revert "Added testing for hipStreamSynchronize"
* Remove changes unrelated to this PR
* Added skip test for failure on AMD devices and removed changed to hip_test_common.hh
* Fixed build issues on Nvidia platforms by disabled incompatible tests; Updated negative tests to check the correct return values

Co-authored-by: Jatin Chaudhary <jatin.chaudhary@codeplay.com>
Co-authored-by: Fábio Mestre <fabio.mestre@codeplay.com>
Co-authored-by: Finlay Marno <finlay.marno@codeplay.com>
Co-authored-by: Fábio <fabio.m.mestre@gmail.com>
2022-06-03 08:31:30 +05:30
086fb9d935 Adding support for hipStreamWriteValue32/64 and hipStreamWaitValue32/64 (#2568)
* AHTS-90 - Add missing test case for hipStreamCreate
* Update hipStreamGetFlags testing
* Added testing for hipStreamSynchronize
* Added macro to test a particular error code is returned from an expression
* Update hip_test_common.hh
* Correcting checkers to properly list the test count
* fix copy paste error in HIP_CHECK_ERROR
* Add support for hipStreamWaitValue
* Remove changes unrelated to this PR
* Revert "Added testing for hipStreamSynchronize"
* Remove changes unrelated to this PR
* Added skip test for failure on AMD devices and removed changed to hip_test_common.hh
* Fixed build issues on Nvidia platforms by disabled incompatible tests; Updated negative tests to check the correct return values

Co-authored-by: Jatin Chaudhary <jatin.chaudhary@codeplay.com>
Co-authored-by: Fábio Mestre <fabio.mestre@codeplay.com>
Co-authored-by: Finlay Marno <finlay.marno@codeplay.com>
Co-authored-by: Fábio <fabio.m.mestre@gmail.com>

[ROCm/hip commit: 08435a972b]
2022-06-03 08:31:30 +05:30
08435a972b Adding support for hipStreamWriteValue32/64 and hipStreamWaitValue32/64 (#2568)
* AHTS-90 - Add missing test case for hipStreamCreate
* Update hipStreamGetFlags testing
* Added testing for hipStreamSynchronize
* Added macro to test a particular error code is returned from an expression
* Update hip_test_common.hh
* Correcting checkers to properly list the test count
* fix copy paste error in HIP_CHECK_ERROR
* Add support for hipStreamWaitValue
* Remove changes unrelated to this PR
* Revert "Added testing for hipStreamSynchronize"
* Remove changes unrelated to this PR
* Added skip test for failure on AMD devices and removed changed to hip_test_common.hh
* Fixed build issues on Nvidia platforms by disabled incompatible tests; Updated negative tests to check the correct return values

Co-authored-by: Jatin Chaudhary <jatin.chaudhary@codeplay.com>
Co-authored-by: Fábio Mestre <fabio.mestre@codeplay.com>
Co-authored-by: Finlay Marno <finlay.marno@codeplay.com>
Co-authored-by: Fábio <fabio.m.mestre@gmail.com>
2022-06-03 08:31:30 +05:30
ansurya bf759ff677 SWDEV-240806 - Add graph test for hipChildGraphNode and hipGraphClone (#2392)
Change-Id: I41fd44ac22f2f39b387f6608ac8f1e3cdc9e9297

[ROCm/hip commit: f23b679a6a]
2022-06-03 08:29:20 +05:30
ansurya f23b679a6a SWDEV-240806 - Add graph test for hipChildGraphNode and hipGraphClone (#2392)
Change-Id: I41fd44ac22f2f39b387f6608ac8f1e3cdc9e9297
2022-06-03 08:29:20 +05:30
Cordell Bloor 3805867b8b Merge "SWDEV-337169 - Fix CRLF in oclperf.exclude" into amd-staging
[ROCm/clr commit: 7fdb3d3c97]
2022-06-02 14:59:52 -04:00
Cordell Bloor 7fdb3d3c97 Merge "SWDEV-337169 - Fix CRLF in oclperf.exclude" into amd-staging 2022-06-02 14:59:52 -04:00
ROCm CI Service Account fd5022e0fc SWDEV-337822 - Fixing unused var in hipTextureMipmapObj1D.cc test case for gfx90a. (#2698)
Change-Id: Ic38c40103d9503311493477d58e093e367573694

[ROCm/hip-tests commit: b6918e9ace]
2022-06-02 19:33:53 +05:30
ROCm CI Service Account b6918e9ace SWDEV-337822 - Fixing unused var in hipTextureMipmapObj1D.cc test case for gfx90a. (#2698)
Change-Id: Ic38c40103d9503311493477d58e093e367573694
2022-06-02 19:33:53 +05:30
ROCm CI Service Account b618e738bb SWDEV-337822 - Fixing unused var in hipTextureMipmapObj1D.cc test case for gfx90a. (#2698)
Change-Id: Ic38c40103d9503311493477d58e093e367573694

[ROCm/hip commit: d3abae97d1]
2022-06-02 19:33:53 +05:30
ROCm CI Service Account d3abae97d1 SWDEV-337822 - Fixing unused var in hipTextureMipmapObj1D.cc test case for gfx90a. (#2698)
Change-Id: Ic38c40103d9503311493477d58e093e367573694
2022-06-02 19:33:53 +05:30
ROCm CI Service Account d81738e65b SWDEV-306122 - [catch2][dtest] Added test for hipGraphExecMemcpyNodeSetParamsFromSymbol API (#2697)
Change-Id: I8e8bd38c28199c87f14ee51d279aac7c7dfaedcc

[ROCm/hip-tests commit: 93a2badd0f]
2022-06-02 19:33:23 +05:30
ROCm CI Service Account 93a2badd0f SWDEV-306122 - [catch2][dtest] Added test for hipGraphExecMemcpyNodeSetParamsFromSymbol API (#2697)
Change-Id: I8e8bd38c28199c87f14ee51d279aac7c7dfaedcc
2022-06-02 19:33:23 +05:30
ROCm CI Service Account 555bf1179e SWDEV-306122 - [catch2][dtest] Added test for hipGraphExecMemcpyNodeSetParamsFromSymbol API (#2697)
Change-Id: I8e8bd38c28199c87f14ee51d279aac7c7dfaedcc

[ROCm/hip commit: 484714c55c]
2022-06-02 19:33:23 +05:30
ROCm CI Service Account 484714c55c SWDEV-306122 - [catch2][dtest] Added test for hipGraphExecMemcpyNodeSetParamsFromSymbol API (#2697)
Change-Id: I8e8bd38c28199c87f14ee51d279aac7c7dfaedcc
2022-06-02 19:33:23 +05:30
ROCm CI Service Account 2f5d26bcab SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphAddMemcpyNode1D api (#2695)
Change-Id: Ie17e0960a5b718670d84f1583a787d4e12293e3a

[ROCm/hip-tests commit: eb6faad464]
2022-06-02 19:32:58 +05:30
ROCm CI Service Account eb6faad464 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphAddMemcpyNode1D api (#2695)
Change-Id: Ie17e0960a5b718670d84f1583a787d4e12293e3a
2022-06-02 19:32:58 +05:30
ROCm CI Service Account 47329c4d25 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphAddMemcpyNode1D api (#2695)
Change-Id: Ie17e0960a5b718670d84f1583a787d4e12293e3a

[ROCm/hip commit: e99cc90c26]
2022-06-02 19:32:58 +05:30
ROCm CI Service Account e99cc90c26 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphAddMemcpyNode1D api (#2695)
Change-Id: Ie17e0960a5b718670d84f1583a787d4e12293e3a
2022-06-02 19:32:58 +05:30
ROCm CI Service Account 40ccc56331 SWDEV-306122 - [catch2][dtest] hipGraph new functional tests for hipStreamBeginCapture/hipStreamEndCapture (#2694)
Change-Id: If62c6f0dbc6ada93b5847cfb280797f7811508f8

[ROCm/hip-tests commit: fe76fe4486]
2022-06-02 19:31:48 +05:30
ROCm CI Service Account fe76fe4486 SWDEV-306122 - [catch2][dtest] hipGraph new functional tests for hipStreamBeginCapture/hipStreamEndCapture (#2694)
Change-Id: If62c6f0dbc6ada93b5847cfb280797f7811508f8
2022-06-02 19:31:48 +05:30