Giter Site home page Giter Site logo

cudatutorial's People

Contributors

andsonder avatar aurelius84 avatar liyulingyue avatar therainisme avatar xiaoguoguo626807 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cudatutorial's Issues

画图工具

请问 11_gemm_optimize 章节的矩阵示意图是使用什么来画的呢,画风非常好看!

Thread Tiling代码

你好,我看了你的Thread Tiling那块的代码,有些地方不太理解。
// 计算每个线程的结果 for (uint dotIdx = 0; dotIdx < BK; ++dotIdx) { // 我们将点积循环放在外循环中,这有助于重用Bs,我们可以将其缓存在tmp变量中。 float Btmp = Bs[dotIdx * BN + threadCol]; for (uint resIdx = 0; resIdx < TM; ++resIdx) { threadResults[resIdx] += As[(threadRow * TM + resIdx) * BK + dotIdx] * Btmp; } }
这段代码我不太能理解,尤其是Btmp在Bs中的索引是*BN的,也就是按行索引的,threadCol也是[0-63]计算整行,As是乘TM,按列索引,这是否和图示的As按行Bs按列不太符合,还是我哪里理解的不对?

Nvprof Cannot be used with compute capability 8.0 and higher

Windows使用nvprof需要将lib添加到环境变量中,并且nvprof无法在一些比较新的显卡上使用,报错信息如下:

D:\Codes\CUDATutorial\02_first_kernel>nvprof add.exe
======== Warning: nvprof is not supported on devices with compute capability 8.0 and higher.
                  Use NVIDIA Nsight Systems for GPU tracing and CPU sampling and NVIDIA Nsight Compute for GPU profiling.
                  Refer https://developer.nvidia.com/tools-overview for more details.

可能需要在03_nvprof_usage中补充nsight的使用方法。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.