MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CUDA/comments/1pepcv3/nvidia_released_cutile_python/nt12y76/?context=9999
r/CUDA • u/dansheme • Dec 05 '25
24 comments sorted by
View all comments
15
There is tilus as well, and warp dsl from nvidia also has support for tile abstraction.
Warp: https://developer.nvidia.com/blog/introducing-tile-based-programming-in-warp-1-5-0/
Tilus: https://github.com/NVIDIA/tilus
7 u/[deleted] Dec 05 '25 [removed] — view removed comment 5 u/Lime_Dragonfruit4244 Dec 05 '25 The success of triton is the reason why, after looking into the compiler it seems to be skipping ptx codegen and directly generating something called tile IR a new bytecode format directly baked into CUDA 13.1 that's why it needs CUDA 13.https://github.com/NVIDIA/cutile-python/blob/main/src/cuda/tile/_bytecode/type.pyUsing tiles for better cache locality is nothing new but using it as a programming model is new in terms of kernel programming. 1 u/c-cul Dec 05 '25 what is this bytecode means? definitely this is not SASS: https://github.com/NVIDIA/cutile-python/blob/main/src/cuda/tile/_bytecode/encodings.py 1 u/Lime_Dragonfruit4244 Dec 05 '25 I looked around and found this, this was in the announcement blog for cuda 13.1 by nvidiaBlog: https://developer.nvidia.com/blog/nvidia-cuda-13-1-powers-next-gen-gpu-programming-with-nvidia-cuda-tile-and-performance-gains/https://docs.nvidia.com/cuda/tile-ir/ 2 u/c-cul Dec 05 '25 looks like binary encoded subset of ptx - only with 110 opcodessure clang/other 3rd part vendors is not supported? 1 u/Lime_Dragonfruit4244 Dec 05 '25 I am not really sure, but i do think they might upstream a tile based IR to mlir if it really takes off. 1 u/c-cul Dec 05 '25 edited Dec 05 '25 mlir is not enough - you also need full backend to generate file with those IR 2 u/roeschinc Dec 09 '25 The dialect will be open sourced soon ™ but the compiler is closed source just like PtX.
7
[removed] — view removed comment
5 u/Lime_Dragonfruit4244 Dec 05 '25 The success of triton is the reason why, after looking into the compiler it seems to be skipping ptx codegen and directly generating something called tile IR a new bytecode format directly baked into CUDA 13.1 that's why it needs CUDA 13.https://github.com/NVIDIA/cutile-python/blob/main/src/cuda/tile/_bytecode/type.pyUsing tiles for better cache locality is nothing new but using it as a programming model is new in terms of kernel programming. 1 u/c-cul Dec 05 '25 what is this bytecode means? definitely this is not SASS: https://github.com/NVIDIA/cutile-python/blob/main/src/cuda/tile/_bytecode/encodings.py 1 u/Lime_Dragonfruit4244 Dec 05 '25 I looked around and found this, this was in the announcement blog for cuda 13.1 by nvidiaBlog: https://developer.nvidia.com/blog/nvidia-cuda-13-1-powers-next-gen-gpu-programming-with-nvidia-cuda-tile-and-performance-gains/https://docs.nvidia.com/cuda/tile-ir/ 2 u/c-cul Dec 05 '25 looks like binary encoded subset of ptx - only with 110 opcodessure clang/other 3rd part vendors is not supported? 1 u/Lime_Dragonfruit4244 Dec 05 '25 I am not really sure, but i do think they might upstream a tile based IR to mlir if it really takes off. 1 u/c-cul Dec 05 '25 edited Dec 05 '25 mlir is not enough - you also need full backend to generate file with those IR 2 u/roeschinc Dec 09 '25 The dialect will be open sourced soon ™ but the compiler is closed source just like PtX.
5
The success of triton is the reason why, after looking into the compiler it seems to be skipping ptx codegen and directly generating something called tile IR a new bytecode format directly baked into CUDA 13.1 that's why it needs CUDA 13.
https://github.com/NVIDIA/cutile-python/blob/main/src/cuda/tile/_bytecode/type.py
Using tiles for better cache locality is nothing new but using it as a programming model is new in terms of kernel programming.
1 u/c-cul Dec 05 '25 what is this bytecode means? definitely this is not SASS: https://github.com/NVIDIA/cutile-python/blob/main/src/cuda/tile/_bytecode/encodings.py 1 u/Lime_Dragonfruit4244 Dec 05 '25 I looked around and found this, this was in the announcement blog for cuda 13.1 by nvidiaBlog: https://developer.nvidia.com/blog/nvidia-cuda-13-1-powers-next-gen-gpu-programming-with-nvidia-cuda-tile-and-performance-gains/https://docs.nvidia.com/cuda/tile-ir/ 2 u/c-cul Dec 05 '25 looks like binary encoded subset of ptx - only with 110 opcodessure clang/other 3rd part vendors is not supported? 1 u/Lime_Dragonfruit4244 Dec 05 '25 I am not really sure, but i do think they might upstream a tile based IR to mlir if it really takes off. 1 u/c-cul Dec 05 '25 edited Dec 05 '25 mlir is not enough - you also need full backend to generate file with those IR 2 u/roeschinc Dec 09 '25 The dialect will be open sourced soon ™ but the compiler is closed source just like PtX.
1
what is this bytecode means? definitely this is not SASS: https://github.com/NVIDIA/cutile-python/blob/main/src/cuda/tile/_bytecode/encodings.py
1 u/Lime_Dragonfruit4244 Dec 05 '25 I looked around and found this, this was in the announcement blog for cuda 13.1 by nvidiaBlog: https://developer.nvidia.com/blog/nvidia-cuda-13-1-powers-next-gen-gpu-programming-with-nvidia-cuda-tile-and-performance-gains/https://docs.nvidia.com/cuda/tile-ir/ 2 u/c-cul Dec 05 '25 looks like binary encoded subset of ptx - only with 110 opcodessure clang/other 3rd part vendors is not supported? 1 u/Lime_Dragonfruit4244 Dec 05 '25 I am not really sure, but i do think they might upstream a tile based IR to mlir if it really takes off. 1 u/c-cul Dec 05 '25 edited Dec 05 '25 mlir is not enough - you also need full backend to generate file with those IR 2 u/roeschinc Dec 09 '25 The dialect will be open sourced soon ™ but the compiler is closed source just like PtX.
I looked around and found this, this was in the announcement blog for cuda 13.1 by nvidia
Blog: https://developer.nvidia.com/blog/nvidia-cuda-13-1-powers-next-gen-gpu-programming-with-nvidia-cuda-tile-and-performance-gains/
https://docs.nvidia.com/cuda/tile-ir/
2 u/c-cul Dec 05 '25 looks like binary encoded subset of ptx - only with 110 opcodessure clang/other 3rd part vendors is not supported? 1 u/Lime_Dragonfruit4244 Dec 05 '25 I am not really sure, but i do think they might upstream a tile based IR to mlir if it really takes off. 1 u/c-cul Dec 05 '25 edited Dec 05 '25 mlir is not enough - you also need full backend to generate file with those IR 2 u/roeschinc Dec 09 '25 The dialect will be open sourced soon ™ but the compiler is closed source just like PtX.
2
looks like binary encoded subset of ptx - only with 110 opcodes
sure clang/other 3rd part vendors is not supported?
1 u/Lime_Dragonfruit4244 Dec 05 '25 I am not really sure, but i do think they might upstream a tile based IR to mlir if it really takes off. 1 u/c-cul Dec 05 '25 edited Dec 05 '25 mlir is not enough - you also need full backend to generate file with those IR 2 u/roeschinc Dec 09 '25 The dialect will be open sourced soon ™ but the compiler is closed source just like PtX.
I am not really sure, but i do think they might upstream a tile based IR to mlir if it really takes off.
1 u/c-cul Dec 05 '25 edited Dec 05 '25 mlir is not enough - you also need full backend to generate file with those IR 2 u/roeschinc Dec 09 '25 The dialect will be open sourced soon ™ but the compiler is closed source just like PtX.
mlir is not enough - you also need full backend to generate file with those IR
2 u/roeschinc Dec 09 '25 The dialect will be open sourced soon ™ but the compiler is closed source just like PtX.
The dialect will be open sourced soon ™ but the compiler is closed source just like PtX.
15
u/Lime_Dragonfruit4244 Dec 05 '25 edited Dec 05 '25
There is tilus as well, and warp dsl from nvidia also has support for tile abstraction.
Warp: https://developer.nvidia.com/blog/introducing-tile-based-programming-in-warp-1-5-0/
Tilus: https://github.com/NVIDIA/tilus