Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@r-abishek
Copy link
Member

HazarathKumarM and others added 3 commits September 30, 2024 19:06
> Remove the Repeating half includes
Move half.hpp to Common Header and Remove from Other Files
@kiritigowda kiritigowda self-requested a review October 7, 2024 21:09
@kiritigowda kiritigowda self-assigned this Oct 7, 2024
@kiritigowda kiritigowda added enhancement New feature or request ci:precheckin labels Oct 7, 2024
@kiritigowda
Copy link
Collaborator

@r-abishek failing CI

r-abishek and others added 5 commits October 30, 2024 13:21
Error:
" In file included from /opt/rocm-6.3.0/share/rpp/test/HIP/Tensor_hip.cpp:33:
2989
4: /opt/rocm-6.3.0/share/rpp/test/HIP/../rpp_test_suite_image.h:53:14: error: typedef redefinition with different types ('half' (aka '__half') vs 'halfhpp' (aka 'half_float::half'))
2990
4:    53 | typedef half Rpp16f;
2991
4:       |              ^
2992
4: /opt/rocm/include/rpp/rppdefs.h:41:17: note: previous definition is here
2993
4:    41 | typedef halfhpp Rpp16f;
2994
4:       |                 ^
2995
4: 1 error generated when compiling for gfx942."
@kiritigowda kiritigowda merged commit daa0636 into ROCm:develop Nov 27, 2024
3 checks passed
HazarathKumarM referenced this pull request in HazarathKumarM/rpp Mar 19, 2025
* Add includes for half in rpp_defs
> Remove the Repeating half includes

* revert changes in old test suite

* Update rpp_test_suite_image.h to fix redefinition error

Error:
" In file included from /opt/rocm-6.3.0/share/rpp/test/HIP/Tensor_hip.cpp:33:
2989
4: /opt/rocm-6.3.0/share/rpp/test/HIP/../rpp_test_suite_image.h:53:14: error: typedef redefinition with different types ('half' (aka '__half') vs 'halfhpp' (aka 'half_float::half'))
2990
4:    53 | typedef half Rpp16f;
2991
4:       |              ^
2992
4: /opt/rocm/include/rpp/rppdefs.h:41:17: note: previous definition is here
2993
4:    41 | typedef halfhpp Rpp16f;
2994
4:       |                 ^
2995
4: 1 error generated when compiling for gfx942."

---------

Co-authored-by: HazarathKumarM <[email protected]>
Co-authored-by: Kiriti Gowda <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:precheckin enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants