A GEMM tutorial.
去 src/cuda
文件夹下面,找到你想看性能的 gemm,记住那个名字,然后回到主项目文件夹下,首先mkdir build
,然后输入 make benchmark_xxx
。
如你想看 double_buffer_yhs_refine_gemm.cu
这个矩阵乘的性能,就输入:
make benchmark_double_buffer_yhs_refine
然后二进制会出现在 bin
文件夹下面。
知乎链接:这里
License: GNU General Public License v3.0
A GEMM tutorial.
去 src/cuda
文件夹下面,找到你想看性能的 gemm,记住那个名字,然后回到主项目文件夹下,首先mkdir build
,然后输入 make benchmark_xxx
。
如你想看 double_buffer_yhs_refine_gemm.cu
这个矩阵乘的性能,就输入:
make benchmark_double_buffer_yhs_refine
然后二进制会出现在 bin
文件夹下面。
知乎链接:这里
Seems like you wanna to do an implementation of int8 gemm to do NLP inference? I wonder why you choose to hands on wmma api to do int8 gemm instead of opensource library like cutlass or vendor library like cublas? I implemented some conflict-free int8 gemm kernels, maybe I can help you to implement it.
M,N不应该满足4对齐就可以吗 shared_mem_gemm.cu也不对
例如取M=16, N=16, K=8
感觉128x8中有效的部分只有16x8,应该不影响呀
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.