Skip to content

Conversation

@rraminen
Copy link

@rraminen rraminen commented Aug 5, 2025

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

@rocm-repo-management-api
Copy link

rocm-repo-management-api bot commented Aug 5, 2025

Jenkins build for 04305781843456c3da1459daf98056ff7277d17c commit finished as FAILURE
Links: Blue Ocean view / Build artifacts

Copy link
Collaborator

@pruthvistony pruthvistony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change the code to use ROCM_VERSION

@rraminen rraminen changed the title Define datatypes when TORCH_HIP_VERSION >= 700 Define datatypes when ROCM_VERSION >= 70000 Aug 6, 2025
@rocm-repo-management-api
Copy link

Jenkins build for 08b7a192cb4ee19c2c5932705ffa5c621c10bd86 commit is in progress
Links: Blue Ocean view / Build artifacts

@pruthvistony pruthvistony merged commit 3991632 into ROCm:release/2.7 Aug 6, 2025
0 of 2 checks passed
@rraminen rraminen changed the title Define datatypes when ROCM_VERSION >= 70000 [release/2.7] Define datatypes when ROCM_VERSION >= 70000 Aug 7, 2025
ethanwee1 pushed a commit that referenced this pull request Sep 10, 2025
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
ethanwee1 pushed a commit that referenced this pull request Sep 10, 2025
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
ethanwee1 pushed a commit that referenced this pull request Sep 11, 2025
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
ethanwee1 pushed a commit that referenced this pull request Sep 11, 2025
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
jithunnair-amd pushed a commit that referenced this pull request Sep 15, 2025
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
jithunnair-amd pushed a commit that referenced this pull request Sep 15, 2025
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.

2 participants