Commit 8968898
Define datatypes when ROCM_VERSION >= 70000 (#2458)
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-5436981 parent 1a14d80 commit 8968898
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments