initial commit to enable amx - #1618
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) some time within the next two weeks. |
|
Can you please run Also, there are very few amx intrinsics, so they can be implemented in a single |
|
Even though windows doesn't need the syscall, you still need to have the function to compile. Maybe add an empty |
yep, that's a good workaround to prevent repeated condition check |
updated |
|
The Also, maybe squash all these small commits into one single commit, just for the sake of cleanliness |
4d11307 to
02d797c
Compare
|
☔ The latest upstream changes (presumably fb90dfa) made this pull request unmergeable. Please resolve the merge conflicts. |
226daeb to
fd48ea1
Compare
|
@Amanieu should we keep the |
|
I don't think we should be inventing our own API in this crate, we should strictly follow the vendor's API. What if Intel decides to add its own |
|
I understood the concern raised by @Amanieu; there is indeed some probability that Intel will change the definition of the tile configuration in the future, for example, increasing/decreasing the number of tiles, which can lead to a change of the config layout. Anyway, I just moved |
d3d49fb to
9be6913
Compare
|
Everything else looks good, so this can be merged once the |
AMX Intrinsics: amx-tile: - _tile_loadconfig - _tile_storeconfig - _tile_loadd - _tile_release - _tile_stored - _tile_stream_loadd - _tile_zero amx-int8: - _tile_dpbssd - _tile_dpbsud - _tile_dpbusd - _tile_dpbuud amx-bf16: - _tile_dpbf16ps amx-fp16 - _tile_dpfp16ps amx-complex - _tile_cmmimfp16ps - _tile_cmmrlfp16ps
9be6913 to
6946bc5
Compare
As mentioned in x86_amx_intrinsics
Completed AMX Intrinsics:
amx-tileamx-int8amx-bf16amx-fp16amx-complex