76333 Commits
Author SHA1 Message Date
milos-mozetic 72e6432739 EXSWHTEC-174 - Implement unit tests for Callback Activity APIs (#6)
Implemented positive and negative test cases for the following APIs:
        - hipApiName
        - hipKernelNameRef
        - hipKernelNameRefByPtr
        - hipGetStreamDeviceId
Enabled build of Callback tests only for AMD platforms, as there is no support for Nvidia platforms.
2023-03-06 08:58:26 +05:30
Jonathan Kim 7364a93b98 Fix Engine Offsetting for Copy on Engine
Forgot SDMA blit engine indices are offset by DevToDev 0-position in
a couple of places.

Change-Id: Ie811d8281bc812738ed0107694f3dffde5e93685
2023-03-03 20:45:35 -05:00
Jonathan Kim 57064af98d Fix Engine Offsetting for Copy on Engine
Forgot SDMA blit engine indices are offset by DevToDev 0-position in
a couple of places.

Change-Id: Ie811d8281bc812738ed0107694f3dffde5e93685


[ROCm/ROCR-Runtime commit: 7364a93b98]
2023-03-03 20:45:35 -05:00
Daniel Phillips d3bb1ca4af kfdtests: Relax MemoryAllocAll failure criteria
The MemoryAllocAll test in kfdtests exercises the new KFD memory
availability API by trying to allocate a single buffer object that
exactly fills all of vram. Desired object size is determined using the
memory availility KFD ioctl via libhsakmt, then an object is allocated
slightly larger than that size. If the allocation attempt fails then
the test tries to allocate a slightly smaller object, and continues
trying with smaller sizes until the allocation succeeds. The test
succeeds if the successfully allocated object is within some specified
tolerance of the available memory reported.

There are a number of known issues that can cause the successfully
allocated object to be significantly smaller than reported availability.
Until these issues are addressed, we should not fail the test, but just
log the actual divergence between the size of the object we thought we
could allocate, and what was actually possible.

Signed-off-by: Daniel Phillips <daniel.phillips@amd.com>
Change-Id: I165a30865ffbb2353286dcc896ad8e24af124615
2023-03-03 15:24:39 -08:00
Daniel Phillips 7691c4600f kfdtests: Relax MemoryAllocAll failure criteria
The MemoryAllocAll test in kfdtests exercises the new KFD memory
availability API by trying to allocate a single buffer object that
exactly fills all of vram. Desired object size is determined using the
memory availility KFD ioctl via libhsakmt, then an object is allocated
slightly larger than that size. If the allocation attempt fails then
the test tries to allocate a slightly smaller object, and continues
trying with smaller sizes until the allocation succeeds. The test
succeeds if the successfully allocated object is within some specified
tolerance of the available memory reported.

There are a number of known issues that can cause the successfully
allocated object to be significantly smaller than reported availability.
Until these issues are addressed, we should not fail the test, but just
log the actual divergence between the size of the object we thought we
could allocate, and what was actually possible.

Signed-off-by: Daniel Phillips <daniel.phillips@amd.com>
Change-Id: I165a30865ffbb2353286dcc896ad8e24af124615


[ROCm/ROCR-Runtime commit: d3bb1ca4af]
2023-03-03 15:24:39 -08:00
Nirmal Unnikrishnan e51c8fc32c SWDEV-354524 - Adding the changelog for ROCM 5.5.0 release
Change-Id: I166bc97a9c8a80744d6bde23d180864c3c16d271


[ROCm/rocm-core commit: 6794b39fff]
2023-03-03 13:43:17 -06:00
Nirmal Unnikrishnan 6794b39fff SWDEV-354524 - Adding the changelog for ROCM 5.5.0 release
Change-Id: I166bc97a9c8a80744d6bde23d180864c3c16d271
2023-03-03 13:43:17 -06:00
Eric Huang 3f55ba9fb8 kfdtest: add the check for svm usage limit
Since KFD counts svm allocation as system memory usage,
KFDSVMEvictTest will fail on the case of small system
memory, adding check is to skip test.

Signed-off-by: Eric Huang <jinhuieric.Huang@amd.com>
Change-Id: I040f16f2dd0d4092d069a632cfba9c28293f781b
2023-03-03 11:03:17 -05:00
Eric Huang 9e41c799a0 kfdtest: add the check for svm usage limit
Since KFD counts svm allocation as system memory usage,
KFDSVMEvictTest will fail on the case of small system
memory, adding check is to skip test.

Signed-off-by: Eric Huang <jinhuieric.Huang@amd.com>
Change-Id: I040f16f2dd0d4092d069a632cfba9c28293f781b


[ROCm/ROCR-Runtime commit: 3f55ba9fb8]
2023-03-03 11:03:17 -05:00
Edgar Gabriel e49c79845e Merge pull request #32 from edgargabriel/topic/mpi-auto-compile
revamp cmake MPI detection

[ROCm/rccl-tests commit: 0fc25d5b61]
2023-03-03 07:55:52 -06:00
Edgar Gabriel 0fc25d5b61 Merge pull request #32 from edgargabriel/topic/mpi-auto-compile
revamp cmake MPI detection
2023-03-03 07:55:52 -06:00
Jatin Chaudhary 759415288b SWDEV-386435 - Add checks for memfree graph node
Change-Id: I8eab93046723f0fdc01f95e3bfb9071d84eb2e18


[ROCm/clr commit: 7715b3b398]
2023-03-03 04:33:49 -05:00
Jatin Chaudhary 7715b3b398 SWDEV-386435 - Add checks for memfree graph node
Change-Id: I8eab93046723f0fdc01f95e3bfb9071d84eb2e18
2023-03-03 04:33:49 -05:00
Anusha GodavarthySurya 18edb0d97c SWDEV-366636 - Fix performance drop in TF-RCCL models
Change-Id: Ie04219daacc29654d0f47e1c15ed5cd78d88d8c8


[ROCm/clr commit: a2785c68b2]
2023-03-03 03:27:00 -05:00
Anusha GodavarthySurya a2785c68b2 SWDEV-366636 - Fix performance drop in TF-RCCL models
Change-Id: Ie04219daacc29654d0f47e1c15ed5cd78d88d8c8
2023-03-03 03:27:00 -05:00
Hao Zhou f579cd684a Merge amd-staging into amd-master 20230303
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: I489eeb6b3d6cbb713e1da8be02371fcff3831a96
2023-03-03 10:46:06 +08:00
Hao Zhou 101876576e Merge amd-staging into amd-master 20230303
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: I489eeb6b3d6cbb713e1da8be02371fcff3831a96


[ROCm/amdsmi commit: f579cd684a]
2023-03-03 10:46:06 +08:00
Jenkins b56b541ea8 Merge 'develop' into 'amd-staging'
Change-Id: Ib00be125246c2393a03df44160977197a6d09818


[ROCm/hip-tests commit: 38ce64e60d]
2023-03-03 00:11:22 +00:00
Jenkins 38ce64e60d Merge 'develop' into 'amd-staging'
Change-Id: Ib00be125246c2393a03df44160977197a6d09818
2023-03-03 00:11:22 +00:00
jatang fe3c49c51a SWDEV-384646 - Clean up clinfo includes
Change-Id: I7cc8a877fd7a61fea58331b5ca1792022df3194d


[ROCm/clr commit: a7f8964a20]
2023-03-02 16:03:52 -05:00
jatang a7f8964a20 SWDEV-384646 - Clean up clinfo includes
Change-Id: I7cc8a877fd7a61fea58331b5ca1792022df3194d
2023-03-02 16:03:52 -05:00
Edgar Gabriel e86966907d revamp cmake MPI detection
we honor user requested MPI installations using MPI_PATH first,
and check afterwards for MPICH and Open MPI in the default
Ubuntu and RHEL installation directories.


[ROCm/rccl-tests commit: bdf58b1656]
2023-03-02 19:40:13 +00:00
Edgar Gabriel bdf58b1656 revamp cmake MPI detection
we honor user requested MPI installations using MPI_PATH first,
and check afterwards for MPICH and Open MPI in the default
Ubuntu and RHEL installation directories.
2023-03-02 19:40:13 +00:00
Charis Poag da7b59046b [SWDEV-335697 + SWDEV-342812] Fix NPS & Compute tests
Updates:
    * Fixed rsmi_dev_compute_partition_get
      & rsmi_dev_nps_mode_get to properly check
      for invalid arguments
    * Updated compute partition & NPS mode tests
      - Now properly confirms the invalid
        argument is seen
      - Spacing for multiple devices is added
        to better see distinction between
        separate device's tests (for verbose output)
      - Changed expect to assert calls, so errors
        are observed faster for test failures
      - Fixed multiple device testing where a
        variable should have been unset, but
        having multiple devices caused it to
        set
      - Updated multiple device testing to iterate
        accross all devices (previously returned,
        instead of continuing checking support
        after RSMI_STATUS_NOT_SUPPORTED detected)
      - Fixed a few spelling errors & verbose output

Change-Id: Ieba9e5b46763c6cd880fbf27fcdf58be8ecbc683
Signed-off-by: Charis Poag <Charis.Poag@amd.com>


[ROCm/rocm_smi_lib commit: c252ecccd1]
2023-03-02 13:24:38 -06:00
Charis Poag c252ecccd1 [SWDEV-335697 + SWDEV-342812] Fix NPS & Compute tests
Updates:
    * Fixed rsmi_dev_compute_partition_get
      & rsmi_dev_nps_mode_get to properly check
      for invalid arguments
    * Updated compute partition & NPS mode tests
      - Now properly confirms the invalid
        argument is seen
      - Spacing for multiple devices is added
        to better see distinction between
        separate device's tests (for verbose output)
      - Changed expect to assert calls, so errors
        are observed faster for test failures
      - Fixed multiple device testing where a
        variable should have been unset, but
        having multiple devices caused it to
        set
      - Updated multiple device testing to iterate
        accross all devices (previously returned,
        instead of continuing checking support
        after RSMI_STATUS_NOT_SUPPORTED detected)
      - Fixed a few spelling errors & verbose output

Change-Id: Ieba9e5b46763c6cd880fbf27fcdf58be8ecbc683
Signed-off-by: Charis Poag <Charis.Poag@amd.com>
2023-03-02 13:24:38 -06:00
Charis Poag d2497bb2d3 [SWDEV-335697 + SWDEV-342812] Fix NPS & Compute tests
Updates:
    * Fixed rsmi_dev_compute_partition_get
      & rsmi_dev_nps_mode_get to properly check
      for invalid arguments
    * Updated compute partition & NPS mode tests
      - Now properly confirms the invalid
        argument is seen
      - Spacing for multiple devices is added
        to better see distinction between
        separate device's tests (for verbose output)
      - Changed expect to assert calls, so errors
        are observed faster for test failures
      - Fixed multiple device testing where a
        variable should have been unset, but
        having multiple devices caused it to
        set
      - Updated multiple device testing to iterate
        accross all devices (previously returned,
        instead of continuing checking support
        after RSMI_STATUS_NOT_SUPPORTED detected)
      - Fixed a few spelling errors & verbose output

Change-Id: Ieba9e5b46763c6cd880fbf27fcdf58be8ecbc683
Signed-off-by: Charis Poag <Charis.Poag@amd.com>


[ROCm/amdsmi commit: c252ecccd1]
2023-03-02 13:24:38 -06:00
coleramos425 a9ddc62b75 Remove unused Python module (#96)
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 4503be8d1c]
2023-03-02 12:48:37 -06:00
coleramos425 4503be8d1c Remove unused Python module (#96)
Signed-off-by: coleramos425 <colramos@amd.com>
2023-03-02 12:48:37 -06:00
Ranjith Ramakrishnan ec60a2ad11 SWDEV-366831 - Use actual install path rather than using backward compatibility path
hip-config if invoked from backward compatibility path was providing package prefix directory as /opt/rocm-ver/hip.
Usage of backward compatibility path will result in error, since #warning messages are changed to #error
The change will provide the actual install path /opt/rocm-ver as package prefix directory

Change-Id: I4ac54a5ed9de01d5f40f456f20b76b60237b7d9e


[ROCm/clr commit: 9a7b2d0a88]
2023-03-02 11:37:04 -05:00
Ranjith Ramakrishnan 9a7b2d0a88 SWDEV-366831 - Use actual install path rather than using backward compatibility path
hip-config if invoked from backward compatibility path was providing package prefix directory as /opt/rocm-ver/hip.
Usage of backward compatibility path will result in error, since #warning messages are changed to #error
The change will provide the actual install path /opt/rocm-ver as package prefix directory

Change-Id: I4ac54a5ed9de01d5f40f456f20b76b60237b7d9e
2023-03-02 11:37:04 -05:00
Pedram Alizadeh cd256748c0 Adding -pthread flag for linking issues into CMakeLists.txt and src/Makefile (#31)
[ROCm/rccl-tests commit: 255750b094]
2023-03-02 11:05:25 -05:00
Pedram Alizadeh 255750b094 Adding -pthread flag for linking issues into CMakeLists.txt and src/Makefile (#31) 2023-03-02 11:05:25 -05:00
Jason Tang fae41731dd Merge "SWDEV-385312 - Move install path of rocm-ocltst to /opt/rocm/share/ocltst" into amd-staging
[ROCm/clr commit: eb87d711ab]
2023-03-02 10:15:30 -05:00
Jason Tang eb87d711ab Merge "SWDEV-385312 - Move install path of rocm-ocltst to /opt/rocm/share/ocltst" into amd-staging 2023-03-02 10:15:30 -05:00
Yifan Zhang 9f0f7741de gfx11 is able to perform atomic ops even PCI reports no atomic support.
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Change-Id: Ie0d8af5a64ed717b140ac14db654c65ec7aa5ebb
2023-03-02 09:23:37 -05:00
Yifan Zhang 7daedd5eef gfx11 is able to perform atomic ops even PCI reports no atomic support.
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Change-Id: Ie0d8af5a64ed717b140ac14db654c65ec7aa5ebb


[ROCm/ROCR-Runtime commit: 9f0f7741de]
2023-03-02 09:23:37 -05:00
Anusha GodavarthySurya 2d9f92288c SWDEV-368521 - Return hipErrorNotSupported when Mipmap array create support is not available
Change-Id: I47acfa82ff3f58427b1f5fbb0d2f4aabfff0d6ec


[ROCm/clr commit: 705c56ed31]
2023-03-02 03:05:43 -05:00
Anusha GodavarthySurya 705c56ed31 SWDEV-368521 - Return hipErrorNotSupported when Mipmap array create support is not available
Change-Id: I47acfa82ff3f58427b1f5fbb0d2f4aabfff0d6ec
2023-03-02 03:05:43 -05:00
Chauncey Hui 2435a89897 SWDEV-2 - Change OpenCL version number from 3571 to 3572
[ROCm/clr commit: c2abac32c8]
2023-03-02 03:00:10 -05:00
Chauncey Hui c2abac32c8 SWDEV-2 - Change OpenCL version number from 3571 to 3572 2023-03-02 03:00:10 -05:00
milos-mozetic 6006e0d773 EXSWHTEC-223 - Implement HIP API coverage tool (#98)
- Upload the initial version of HIP API coverage tool
- Add argument to fetch path to the HIP/include directory
Within the new repository structure, HIP tests are separated from the HIP headers. Added parameter to the executable used to pass the path to the HIP/include directory.
- Add tracking of test cases via doxygen comments
- Add test cases to the HTML report
- Adjust table size for HIP API test cases
- Remove style class from the empty row in test cases table
- Create TestCaseOccurrence to display more information about found Test Cases
- Change the name of table columns to differentiate information
- Remove duplicated path to the hiprtc.h file
- Add newline at the end of file
- Add newline at the end of makefile and coverage.css

[ROCm/hip-tests commit: dc93a4e6cd]
2023-03-02 12:29:30 +05:30
milos-mozetic dc93a4e6cd EXSWHTEC-223 - Implement HIP API coverage tool (#98)
- Upload the initial version of HIP API coverage tool
- Add argument to fetch path to the HIP/include directory
Within the new repository structure, HIP tests are separated from the HIP headers. Added parameter to the executable used to pass the path to the HIP/include directory.
- Add tracking of test cases via doxygen comments
- Add test cases to the HTML report
- Adjust table size for HIP API test cases
- Remove style class from the empty row in test cases table
- Create TestCaseOccurrence to display more information about found Test Cases
- Change the name of table columns to differentiate information
- Remove duplicated path to the hiprtc.h file
- Add newline at the end of file
- Add newline at the end of makefile and coverage.css
2023-03-02 12:29:30 +05:30
Hao Zhou 8a7fa92639 Merge amd-staging into amd-master 20230302
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: I17c723b907c988754d2da5d04092c1d435e29cc1


[ROCm/rocm_smi_lib commit: c189126be6]
2023-03-02 14:13:00 +08:00
Hao Zhou c189126be6 Merge amd-staging into amd-master 20230302
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: I17c723b907c988754d2da5d04092c1d435e29cc1
2023-03-02 14:13:00 +08:00
Jaydeep Patel ed12270234 SWDEV-382553 - Remove use of useCopyHint.
Change-Id: I82eb5d7569a2a78d7709af9397d4f29c8274d781


[ROCm/clr commit: ad78c5c4a5]
2023-03-01 23:20:02 -05:00
Jaydeep Patel ad78c5c4a5 SWDEV-382553 - Remove use of useCopyHint.
Change-Id: I82eb5d7569a2a78d7709af9397d4f29c8274d781
2023-03-01 23:20:02 -05:00
ROCm CI Service Account 3af8290717 SWDEV-360327 - [catch2][dtest] Test cases added for hipLaunchHostFunc API (#170)
Change-Id: I0d92ed0d8e97a2f7b34cc89dd6dcffa2236ee308


[ROCm/hip-tests commit: 12fb9350ad]
2023-03-01 17:31:07 -08:00
ROCm CI Service Account 12fb9350ad SWDEV-360327 - [catch2][dtest] Test cases added for hipLaunchHostFunc API (#170)
Change-Id: I0d92ed0d8e97a2f7b34cc89dd6dcffa2236ee308
2023-03-01 17:31:07 -08:00
Jenkins 86bff15803 Merge 'develop' into 'amd-staging'
Change-Id: I46d0c7fbf31139e36587c65cac05a33e0bf252c2


[ROCm/hip-tests commit: dc4fb5565c]
2023-03-02 00:11:10 +00:00
Jenkins dc4fb5565c Merge 'develop' into 'amd-staging'
Change-Id: I46d0c7fbf31139e36587c65cac05a33e0bf252c2
2023-03-02 00:11:10 +00:00