Граф коммитов

64512 Коммитов

Автор SHA1 Сообщение Дата
Mirza Halilčević 43157d20de EXSWHTEC-297 - Introduce build dependencies for builtin atomic operations tests #292
Change-Id: Ie16d2175e330522c226cde9f30a1f326782a4551


[ROCm/hip-tests commit: 0972ef88aa]
2024-02-26 12:43:08 +05:30
Mirza Halilčević 0972ef88aa EXSWHTEC-297 - Introduce build dependencies for builtin atomic operations tests #292
Change-Id: Ie16d2175e330522c226cde9f30a1f326782a4551
2024-02-26 12:43:08 +05:30
Mirza Halilčević 89e2d0a479 EXSWHTEC-298 - Extend tests for atomic exchange operations #290
Change-Id: I19b4cb6177f3caa74c3f889de107e349ebb1d37c


[ROCm/hip-tests commit: 73e8f26cf4]
2024-02-26 12:41:18 +05:30
Mirza Halilčević 73e8f26cf4 EXSWHTEC-298 - Extend tests for atomic exchange operations #290
Change-Id: I19b4cb6177f3caa74c3f889de107e349ebb1d37c
2024-02-26 12:41:18 +05:30
Mirza Halilčević 5962202338 EXSWHTEC-301 - Extend tests for atomic min/max operations #289
Change-Id: Ie9690b7986b22be9b6abdbd33ebf0e2d5fb56d66


[ROCm/hip-tests commit: 9d52facc34]
2024-02-26 12:40:56 +05:30
Mirza Halilčević 9d52facc34 EXSWHTEC-301 - Extend tests for atomic min/max operations #289
Change-Id: Ie9690b7986b22be9b6abdbd33ebf0e2d5fb56d66
2024-02-26 12:40:56 +05:30
Mirza Halilčević 562f46ed64 EXSWHTEC-300 - Extend tests for atomic bitwise operations #288
Change-Id: I499a1c57400f13ebdf056d093228501f4eb2cb31


[ROCm/hip-tests commit: fa5ba557a5]
2024-02-26 12:39:52 +05:30
Mirza Halilčević fa5ba557a5 EXSWHTEC-300 - Extend tests for atomic bitwise operations #288
Change-Id: I499a1c57400f13ebdf056d093228501f4eb2cb31
2024-02-26 12:39:52 +05:30
Nives Vukovic 6855fc32cb EXSWHTEC-311 - Implement tests for integer type casting intrinsics #285
Change-Id: I6e6bee38dad6948d46ba2ce0d5d2e3b27c150d35


[ROCm/hip-tests commit: f9cf87fe60]
2024-02-26 12:38:43 +05:30
Nives Vukovic f9cf87fe60 EXSWHTEC-311 - Implement tests for integer type casting intrinsics #285
Change-Id: I6e6bee38dad6948d46ba2ce0d5d2e3b27c150d35
2024-02-26 12:38:43 +05:30
Nives Vukovic 78e93759c3 EXSWHTEC-310 - Implement tests for float type casting intrinsics #284
Change-Id: Ia5e5362d81c2570f1ff7e112ab1df5e0f7c68f05


[ROCm/hip-tests commit: bff6c461ee]
2024-02-26 12:38:18 +05:30
Nives Vukovic bff6c461ee EXSWHTEC-310 - Implement tests for float type casting intrinsics #284
Change-Id: Ia5e5362d81c2570f1ff7e112ab1df5e0f7c68f05
2024-02-26 12:38:18 +05:30
Nives Vukovic e15f64fa3b EXSWHTEC-305 - Implement tests for double type casting intrinsics #283
Change-Id: Iacf67376949eed4a84f7e9e95bb51fd31b5ec6a4


[ROCm/hip-tests commit: 59d6807cdb]
2024-02-26 12:30:46 +05:30
Nives Vukovic 59d6807cdb EXSWHTEC-305 - Implement tests for double type casting intrinsics #283
Change-Id: Iacf67376949eed4a84f7e9e95bb51fd31b5ec6a4
2024-02-26 12:30:46 +05:30
Mirza Halilčević 70cf4c9dac EXSWHTEC-302 - Implement tests for memory fence device functions #276
Change-Id: I327527288f90011f09262708dd6372a7c6fc4708


[ROCm/hip-tests commit: 8ef0d724f5]
2024-02-26 12:30:10 +05:30
Mirza Halilčević 8ef0d724f5 EXSWHTEC-302 - Implement tests for memory fence device functions #276
Change-Id: I327527288f90011f09262708dd6372a7c6fc4708
2024-02-26 12:30:10 +05:30
Mirza Halilčević c0f92f2477 EXSWHTEC-303 - Implement tests for synchronization device functions #275
Change-Id: Iad0e303b21443615cda6fa68a9e3ef61a452a45c


[ROCm/hip-tests commit: 0e54517f84]
2024-02-26 12:29:56 +05:30
Mirza Halilčević 0e54517f84 EXSWHTEC-303 - Implement tests for synchronization device functions #275
Change-Id: Iad0e303b21443615cda6fa68a9e3ef61a452a45c
2024-02-26 12:29:56 +05:30
Nives Vukovic 946c18172c EXSWHTEC-288 - Implement tests for special-purpose device math function #235
Change-Id: Ifa601f462a5291ef6454240191d10e245eef8d7c


[ROCm/hip-tests commit: ce167afa87]
2024-02-26 12:29:35 +05:30
Nives Vukovic ce167afa87 EXSWHTEC-288 - Implement tests for special-purpose device math function #235
Change-Id: Ifa601f462a5291ef6454240191d10e245eef8d7c
2024-02-26 12:29:35 +05:30
Nives Vukovic ccfb8b3ff5 EXSWHTEC-286 - Implement tests for log device math functions #230
Change-Id: I642a9d865fcc30d7b303b0d4dd05fcd723a59015


[ROCm/hip-tests commit: 95a75cf00f]
2024-02-26 12:29:19 +05:30
Nives Vukovic 95a75cf00f EXSWHTEC-286 - Implement tests for log device math functions #230
Change-Id: I642a9d865fcc30d7b303b0d4dd05fcd723a59015
2024-02-26 12:29:19 +05:30
Nives Vukovic 8f9f3e61d2 EXSWHTEC-285 - Implement tests for exponential and power device math functions #229
Change-Id: I34ad7ee92960500bcd14dfd7d230ca8f8f77c172


[ROCm/hip-tests commit: 87d601411b]
2024-02-26 12:29:02 +05:30
Nives Vukovic 87d601411b EXSWHTEC-285 - Implement tests for exponential and power device math functions #229
Change-Id: I34ad7ee92960500bcd14dfd7d230ca8f8f77c172
2024-02-26 12:29:02 +05:30
Nives Vukovic 1ca4fdc6f7 EXSWHTEC-284 - Implement tests for square/cube root device math functions #228
Change-Id: Ic19a440337cf3724f476c464125977b9b30b023e


[ROCm/hip-tests commit: 46ada25730]
2024-02-26 12:28:43 +05:30
Nives Vukovic 46ada25730 EXSWHTEC-284 - Implement tests for square/cube root device math functions #228
Change-Id: Ic19a440337cf3724f476c464125977b9b30b023e
2024-02-26 12:28:43 +05:30
Mirza Halilcevic e4b44cc413 EXSWHTEC-291 - Implement tests for floating-point and integer math intrinsics #227
Change-Id: I55a3cbf5ce15cd93a280af295b88c28e51246148


[ROCm/hip-tests commit: 1729154341]
2024-02-26 12:28:11 +05:30
Mirza Halilcevic 1729154341 EXSWHTEC-291 - Implement tests for floating-point and integer math intrinsics #227
Change-Id: I55a3cbf5ce15cd93a280af295b88c28e51246148
2024-02-26 12:28:11 +05:30
Jonathan R. Madsen d75ccb9081 Search for rocprofiler_set_api_table(...) via RTLD_DEFAULT (#56)
* Search for rocprofiler_set_api_table(...) via RTLD_DEFAULT

- check if rocprofiler_set_api_table function has already been loaded via dlsym(RTLD_DEFAULT, ...)
- fix warning about conflicting ROCM_DEP_ROCMCORE and ROCPROFILER_REGISTER_DEP_ROCMCORE

* Bump version to 0.4.0

[ROCm/rocprofiler-register commit: e2db37ca8d]
2024-02-25 21:14:27 -06:00
Jonathan R. Madsen e2db37ca8d Search for rocprofiler_set_api_table(...) via RTLD_DEFAULT (#56)
* Search for rocprofiler_set_api_table(...) via RTLD_DEFAULT

- check if rocprofiler_set_api_table function has already been loaded via dlsym(RTLD_DEFAULT, ...)
- fix warning about conflicting ROCM_DEP_ROCMCORE and ROCPROFILER_REGISTER_DEP_ROCMCORE

* Bump version to 0.4.0
2024-02-25 21:14:27 -06:00
SrirakshaNag b96c983373 tools support for callback counter collection (#515)
* tools support for callback counter collection

* source formatting (clang-format v11) (#516)

Co-authored-by: SrirakshaNag <SrirakshaNag@users.noreply.github.com>

* Fixing conflicts with main

* source formatting (clang-format v11) (#517)

Co-authored-by: SrirakshaNag <SrirakshaNag@users.noreply.github.com>

* source formatting (clang-format v11) (#529)

Co-authored-by: SrirakshaNag <104580803+SrirakshaNag@users.noreply.github.com>

* Adding a column for counter name and counter value

* source formatting (clang-format v11) (#530)

Co-authored-by: SrirakshaNag <104580803+SrirakshaNag@users.noreply.github.com>

* fixing issues with atomic

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: SrirakshaNag <SrirakshaNag@users.noreply.github.com>

[ROCm/rocprofiler-sdk commit: bd81e6a5f8]
2024-02-25 20:30:38 -06:00
SrirakshaNag bd81e6a5f8 tools support for callback counter collection (#515)
* tools support for callback counter collection

* source formatting (clang-format v11) (#516)

Co-authored-by: SrirakshaNag <SrirakshaNag@users.noreply.github.com>

* Fixing conflicts with main

* source formatting (clang-format v11) (#517)

Co-authored-by: SrirakshaNag <SrirakshaNag@users.noreply.github.com>

* source formatting (clang-format v11) (#529)

Co-authored-by: SrirakshaNag <104580803+SrirakshaNag@users.noreply.github.com>

* Adding a column for counter name and counter value

* source formatting (clang-format v11) (#530)

Co-authored-by: SrirakshaNag <104580803+SrirakshaNag@users.noreply.github.com>

* fixing issues with atomic

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: SrirakshaNag <SrirakshaNag@users.noreply.github.com>
2024-02-25 20:30:38 -06:00
Harish Kasiviswanathan 858dfd364f libhsakmt: Use correct gpu_id for GPU system memory
For GTT memory allocation if GPU is provided honour it.

Change-Id: Iea9a26bc44cd3daa2337845f53dc430787b0643b
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
2024-02-25 10:45:36 -05:00
Harish Kasiviswanathan aeddcb8156 libhsakmt: Use correct gpu_id for GPU system memory
For GTT memory allocation if GPU is provided honour it.

Change-Id: Iea9a26bc44cd3daa2337845f53dc430787b0643b
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>


[ROCm/ROCR-Runtime commit: 858dfd364f]
2024-02-25 10:45:36 -05:00
Ammar ELWazir a7e1a05b34 Update run-ci.py (#534)
[ROCm/rocprofiler-sdk commit: 4bb95f885b]
2024-02-24 14:48:41 -06:00
Ammar ELWazir 4bb95f885b Update run-ci.py (#534) 2024-02-24 14:48:41 -06:00
Jose Santos 65de1593e5 update test_profile_general.py
Signed-off-by: Jose Santos <josantos@login1.hpcfund>


[ROCm/rocprofiler-compute commit: 5a26c0c87a]
2024-02-23 17:21:38 -06:00
Jose Santos 5a26c0c87a update test_profile_general.py
Signed-off-by: Jose Santos <josantos@login1.hpcfund>
2024-02-23 17:21:38 -06:00
Jose Santos fa2ac2631e Adding pytest_profile_general.py
Signed-off-by: Jose Santos <josantos@login1.hpcfund>


[ROCm/rocprofiler-compute commit: 61c110ccd7]
2024-02-23 17:21:38 -06:00
Jose Santos 61c110ccd7 Adding pytest_profile_general.py
Signed-off-by: Jose Santos <josantos@login1.hpcfund>
2024-02-23 17:21:38 -06:00
Nicholas Curtis 47316e0969 Add requirements.txt for docs
Signed-off-by: Nicholas Curtis <nicurtis@amd.com>


[ROCm/rocprofiler-compute commit: 99a6a244ac]
2024-02-23 15:18:34 -06:00
Nicholas Curtis 99a6a244ac Add requirements.txt for docs
Signed-off-by: Nicholas Curtis <nicurtis@amd.com>
2024-02-23 15:18:34 -06:00
kjayapra-amd d30e344ae0 SWDEV-446959 - Check fatbinaryinfo for nullptr and return hipErrorInvalidDevice.
Change-Id: Iabc0d8b66ddf73a92e67dd469f1a8bc0b54b9309


[ROCm/clr commit: 8a715ba58c]
2024-02-23 14:45:43 -06:00
kjayapra-amd 8a715ba58c SWDEV-446959 - Check fatbinaryinfo for nullptr and return hipErrorInvalidDevice.
Change-Id: Iabc0d8b66ddf73a92e67dd469f1a8bc0b54b9309
2024-02-23 14:45:43 -06:00
jujiang 91d73f01f9 SWDEV-447465 - Update HIP documents for the repos link change
Change-Id: Ib191c96b57458c7abc9c490329d582c28d4632a7


[ROCm/hip commit: 25f61a1f50]
2024-02-23 13:18:01 -05:00
jujiang 25f61a1f50 SWDEV-447465 - Update HIP documents for the repos link change
Change-Id: Ib191c96b57458c7abc9c490329d582c28d4632a7
2024-02-23 13:18:01 -05:00
Jonathan R. Madsen a360de4550 Correlation ID Retirement + misc (#527)
* Correlation ID Retirement

- include/rocprofiler-sdk/buffer_tracing.h
  - add rocprofiler_buffer_tracing_correlation_id_retirement_record_t
- include/rocprofiler-sdk/fwd.h
  - ROCPROFILER_BUFFER_TRACING_CORRELATION_ID_RETIREMENT
- lib/rocprofiler-sdk/buffer_tracing.cpp
  - kind string for correlation id retirement
- lib/rocprofiler-sdk/buffer.hpp
  - emplace returns bool
- lib/rocprofiler-sdk/registration.cpp
  - pass lib_instance to copy_table functions
- lib/rocprofiler-sdk/context/context.*
  - update correlation_id struct
    - make ref_count private
    - {get,add,sub}_ref_count() functions
      - sub_ref_count() performs correlation id retirement
    - use stack for "latest" thread-local correlation id
- lib/rocprofiler-sdk/hip/hip.*
  - migrate to new {get,add,sub}_ref_count() for correlation ids
  - return in iterate_args
  - handle table instance in copy_table
- lib/rocprofiler-sdk/hsa/hsa.*
  - migrate to new {get,add,sub}_ref_count() for correlation ids
  - return in iterate_args
  - handle table instance in copy_table
- lib/rocprofiler-sdk/marker/marker.*
  - migrate to new {get,add,sub}_ref_count() for correlation ids
  - return in iterate_args
  - handle table instance in copy_table
- lib/rocprofiler-sdk/hsa/async_copy.cpp
  - migrate to new {get,add,sub}_ref_count() for correlation ids
  - handle table instance in async_copy_init / async_copy_save
- lib/rocprofiler-sdk/hsa/queue.cpp
  - migrate to new {get,add,sub}_ref_count() for correlation ids
  - tweak to external correlation id mapping in WriteInterceptor
- tests/async-copy-tracing/validate.py
  - check retired_correlation_ids
- tests/common/serialization.hpp
  - support rocprofiler_buffer_tracing_correlation_id_retirement_record_t
- tests/kernel-tracing/validate.py
  - check retired_correlation_ids
- tests/common/CMakeLists.txt
  - perfetto external project
- tests/common/perfetto.hpp
  - perfetto categories + aliases
  - add_perfetto_annotation
  - metaprogramming helpers
- tests/tools/CMakeLists.txt
  - link to tests-perfetto
- tests/tools/json-tool.cpp
  - demangling functions
  - serialization of marker API callback args
  - reduce parallel bottleneck in tool_tracing_callback
  - support correlation id retirement
  - Multiple threads for buffers
  - Support ROCPROFILER_TOOL_CONTEXTS_EXCLUDE env variable
  - write_perfetto() function

* Update tests/rocprofv3/tracing/validate.py

- tweak test_hsa_api_trace

* Update PTL submodule

- fixes for data race during destruction of task

* Update lib/rocprofiler-sdk/buffer.*

- unique_buffer_vec_t uses std::unique_ptr instead of allocator::unique_static_ptr_t

* Reduce timeouts in counter collection samples [skip ci]

* Update tests/tools/json-tool.cpp

- tweak demangle(string_view, int*) -> demangle(string_view, int&)

* Update lib/rocprofiler-sdk/hsa/async_copy.cpp

- move sub_ref_count() to later in async_copy_handler to delay retirement slightly more

[ROCm/rocprofiler-sdk commit: 875f53b608]
2024-02-23 10:30:33 -06:00
Jonathan R. Madsen 875f53b608 Correlation ID Retirement + misc (#527)
* Correlation ID Retirement

- include/rocprofiler-sdk/buffer_tracing.h
  - add rocprofiler_buffer_tracing_correlation_id_retirement_record_t
- include/rocprofiler-sdk/fwd.h
  - ROCPROFILER_BUFFER_TRACING_CORRELATION_ID_RETIREMENT
- lib/rocprofiler-sdk/buffer_tracing.cpp
  - kind string for correlation id retirement
- lib/rocprofiler-sdk/buffer.hpp
  - emplace returns bool
- lib/rocprofiler-sdk/registration.cpp
  - pass lib_instance to copy_table functions
- lib/rocprofiler-sdk/context/context.*
  - update correlation_id struct
    - make ref_count private
    - {get,add,sub}_ref_count() functions
      - sub_ref_count() performs correlation id retirement
    - use stack for "latest" thread-local correlation id
- lib/rocprofiler-sdk/hip/hip.*
  - migrate to new {get,add,sub}_ref_count() for correlation ids
  - return in iterate_args
  - handle table instance in copy_table
- lib/rocprofiler-sdk/hsa/hsa.*
  - migrate to new {get,add,sub}_ref_count() for correlation ids
  - return in iterate_args
  - handle table instance in copy_table
- lib/rocprofiler-sdk/marker/marker.*
  - migrate to new {get,add,sub}_ref_count() for correlation ids
  - return in iterate_args
  - handle table instance in copy_table
- lib/rocprofiler-sdk/hsa/async_copy.cpp
  - migrate to new {get,add,sub}_ref_count() for correlation ids
  - handle table instance in async_copy_init / async_copy_save
- lib/rocprofiler-sdk/hsa/queue.cpp
  - migrate to new {get,add,sub}_ref_count() for correlation ids
  - tweak to external correlation id mapping in WriteInterceptor
- tests/async-copy-tracing/validate.py
  - check retired_correlation_ids
- tests/common/serialization.hpp
  - support rocprofiler_buffer_tracing_correlation_id_retirement_record_t
- tests/kernel-tracing/validate.py
  - check retired_correlation_ids
- tests/common/CMakeLists.txt
  - perfetto external project
- tests/common/perfetto.hpp
  - perfetto categories + aliases
  - add_perfetto_annotation
  - metaprogramming helpers
- tests/tools/CMakeLists.txt
  - link to tests-perfetto
- tests/tools/json-tool.cpp
  - demangling functions
  - serialization of marker API callback args
  - reduce parallel bottleneck in tool_tracing_callback
  - support correlation id retirement
  - Multiple threads for buffers
  - Support ROCPROFILER_TOOL_CONTEXTS_EXCLUDE env variable
  - write_perfetto() function

* Update tests/rocprofv3/tracing/validate.py

- tweak test_hsa_api_trace

* Update PTL submodule

- fixes for data race during destruction of task

* Update lib/rocprofiler-sdk/buffer.*

- unique_buffer_vec_t uses std::unique_ptr instead of allocator::unique_static_ptr_t

* Reduce timeouts in counter collection samples [skip ci]

* Update tests/tools/json-tool.cpp

- tweak demangle(string_view, int*) -> demangle(string_view, int&)

* Update lib/rocprofiler-sdk/hsa/async_copy.cpp

- move sub_ref_count() to later in async_copy_handler to delay retirement slightly more
2024-02-23 10:30:33 -06:00
Jonathan R. Madsen 561bbc92ea Correct the install locations of cmake config files (#55)
* Correct the install locations of cmake config files

The cmake config files should be installed in <Install_Prefix>/lib/cmake/<component_name>

* Apply suggestions from code review

* Correct the install locations of cmake config files

- ROCm standard for cmake config files is <install-prefix>/lib/cmake/<package-name>

---------

Co-authored-by: Ranjith Ramakrishnan <Ranjith.Ramakrishnan@amd.com>

[ROCm/rocprofiler-register commit: 1f0d06b6cb]
2024-02-23 10:17:58 -06:00
Jonathan R. Madsen 1f0d06b6cb Correct the install locations of cmake config files (#55)
* Correct the install locations of cmake config files

The cmake config files should be installed in <Install_Prefix>/lib/cmake/<component_name>

* Apply suggestions from code review

* Correct the install locations of cmake config files

- ROCm standard for cmake config files is <install-prefix>/lib/cmake/<package-name>

---------

Co-authored-by: Ranjith Ramakrishnan <Ranjith.Ramakrishnan@amd.com>
2024-02-23 10:17:58 -06:00