You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[amd][driver] fix _PyFloat_Pack2 for Python 3.10 (#7879)
Fixing Python 3.10 build error on AMD:
```
E 95 | if (code != HIP_SUCCESS)
E | ~~~~ ^ ~~~~~~~~~~~
E __triton_launcher.c:172:5: error: no matching function for call to '_PyFloat_Pack2'
E 172 | _PyFloat_Pack2(f, (char*)&result, 1);
E | ^~~~~~~~~~~~~~
E note: candidate function not viable: no known conversion from 'char *' to 'unsigned char *' for 2nd argument
E 87 | PyAPI_FUNC(int) _PyFloat_Pack2(double x, unsigned char *p, int le);
```
0 commit comments