Skip to content

Conversation

@rraminen
Copy link

@rraminen rraminen commented Aug 6, 2025

Fixes SWDEV-543698

This PR fixes the errors like below:

[rank7]: RuntimeError: /tmp/comgr-c3c81b/input/CompileSourceejOPx6:34:8: error: unknown type name 'uint64_t'; did you mean '__hip_internal::uint64_t'? [rank7]: 34 | if(((uint64_t) t0.data) % (4 * sizeof(half)) != 0) flag_vec4 = false;

Earlier uint64_t was defined in HIP headers in std namespace. Now it is moved to __hip_internal namespace in hip headers. This change is made in ROCm 7.0.

Fixes https://ontrack-internal.amd.com/browse/SWDEV-543698

@pruthvistony pruthvistony merged commit a928221 into ROCm:rocm7.0_internal_testing Aug 6, 2025
@rraminen rraminen changed the title Define datatypes when ROCM_VERSION >= 70000 [rocm7.0_internal_testing] Define datatypes when ROCM_VERSION >= 70000 Aug 7, 2025
pruthvistony pushed a commit that referenced this pull request Aug 7, 2025
Fixes SWDEV-543698

Cherry-picked from #2468

This PR fixes the errors like below:

[rank7]: RuntimeError: /tmp/comgr-c3c81b/input/CompileSourceejOPx6:34:8:
error: unknown type name 'uint64_t'; did you mean
'__hip_internal::uint64_t'? [rank7]: 34 | if(((uint64_t) t0.data) % (4 *
sizeof(half)) != 0) flag_vec4 = false;

Earlier uint64_t was defined in HIP headers in std namespace. Now it is
moved to __hip_internal namespace in hip headers. This change is made in
ROCm 7.0.

Fixes https://ontrack-internal.amd.com/browse/SWDEV-543698
pruthvistony pushed a commit that referenced this pull request Aug 7, 2025
Fixes SWDEV-543698

Cherry-picked from #2468
This PR fixes the errors like below:

[rank7]: RuntimeError: /tmp/comgr-c3c81b/input/CompileSourceejOPx6:34:8:
error: unknown type name 'uint64_t'; did you mean
'__hip_internal::uint64_t'? [rank7]: 34 | if(((uint64_t) t0.data) % (4 *
sizeof(half)) != 0) flag_vec4 = false;

Earlier uint64_t was defined in HIP headers in std namespace. Now it is
moved to __hip_internal namespace in hip headers. This change is made in
ROCm 7.0.

Fixes https://ontrack-internal.amd.com/browse/SWDEV-543698
tvukovic-amd pushed a commit that referenced this pull request Aug 20, 2025
Fixes SWDEV-543698

Cherry-picked from #2468
This PR fixes the errors like below:

[rank7]: RuntimeError: /tmp/comgr-c3c81b/input/CompileSourceejOPx6:34:8:
error: unknown type name 'uint64_t'; did you mean
'__hip_internal::uint64_t'? [rank7]: 34 | if(((uint64_t) t0.data) % (4 *
sizeof(half)) != 0) flag_vec4 = false;

Earlier uint64_t was defined in HIP headers in std namespace. Now it is
moved to __hip_internal namespace in hip headers. This change is made in
ROCm 7.0.

Fixes https://ontrack-internal.amd.com/browse/SWDEV-543698
@rraminen
Copy link
Author

!cherry-pick --onto rocm7.1_internal_testing

dhonnappa-amd pushed a commit that referenced this pull request Sep 12, 2025
Fixes SWDEV-543698

This PR fixes the errors like below:

[rank7]: RuntimeError: /tmp/comgr-c3c81b/input/CompileSourceejOPx6:34:8:
error: unknown type name 'uint64_t'; did you mean
'__hip_internal::uint64_t'? [rank7]: 34 | if(((uint64_t) t0.data) % (4 *
sizeof(half)) != 0) flag_vec4 = false;

Earlier uint64_t was defined in HIP headers in std namespace. Now it is
moved to __hip_internal namespace in hip headers. This change is made in
ROCm 7.0.

Fixes https://ontrack-internal.amd.com/browse/SWDEV-543698
@dhonnappa-amd
Copy link

Can't perform the cherry-pick keyword: unexpected error

Comment processed by Build

@akashveramd
Copy link

! cherry-pick --onto rocm7.1_internal_testing

dhonnappa-amd pushed a commit that referenced this pull request Sep 12, 2025
Fixes SWDEV-543698

This PR fixes the errors like below:

[rank7]: RuntimeError: /tmp/comgr-c3c81b/input/CompileSourceejOPx6:34:8:
error: unknown type name 'uint64_t'; did you mean
'__hip_internal::uint64_t'? [rank7]: 34 | if(((uint64_t) t0.data) % (4 *
sizeof(half)) != 0) flag_vec4 = false;

Earlier uint64_t was defined in HIP headers in std namespace. Now it is
moved to __hip_internal namespace in hip headers. This change is made in
ROCm 7.0.

Fixes https://ontrack-internal.amd.com/browse/SWDEV-543698
@dhonnappa-amd
Copy link

Can't perform the cherry-pick keyword: unexpected error

Comment processed by Build

jithunnair-amd pushed a commit that referenced this pull request Sep 12, 2025
#2639)

Fixes SWDEV-543698

Cherry-picked from #2468
This PR fixes the errors like below:

[rank7]: RuntimeError: /tmp/comgr-c3c81b/input/CompileSourceejOPx6:34:8:
error: unknown type name 'uint64_t'; did you mean
'__hip_internal::uint64_t'? [rank7]: 34 | if(((uint64_t) t0.data) % (4 *
sizeof(half)) != 0) flag_vec4 = false;

Earlier uint64_t was defined in HIP headers in std namespace. Now it is
moved to __hip_internal namespace in hip headers. This change is made in
ROCm 7.0.

Fixes https://ontrack-internal.amd.com/browse/SWDEV-543698
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants