GithubHelp home page GithubHelp logo

slam_test error! about badslam HOT 3 OPEN

jcyhcs avatar jcyhcs commented on August 17, 2024
slam_test error!

from badslam.

Comments (3)

puzzlepaint avatar puzzlepaint commented on August 17, 2024

One possible reason for such a failure is that the concrete CUDA kernel that returns the "too many resources requested for launch" error was not run during the auto-tuning. This seems likely here since the failing test is a PCG test, and PCG is not used by default. If that is the case, it would be necessary to run auto-tuning while ensuring that the specific kernel is used during the run (e.g., using the --use_pcg parameter) and merge the resulting auto-tuning files.

from badslam.

jcyhcs avatar jcyhcs commented on August 17, 2024

@puzzlepaint
hi,professor:
i follow your advise,i execute auto tuning script with add --use_pcg , then it run iteration several times,but when got the final iteratio, got error!
image
what's the problem? please help!

from badslam.

puzzlepaint avatar puzzlepaint commented on August 17, 2024

This looks like a bug in bad slam to me, sorry for that. The CUDA auto tuner class supports using only a single block size per kernel per tuning iteration, but somehow it gets two different block sizes (512 and 1024) for one kernel in your case. Unfortunately, the given stack trace does not contain much information about where that happens.

I suspect that the issue could perhaps occur because the block size gets reduced in one case (after encountering the "too many resources requested for launch" issue) and maybe for some reason it does not get reduced in the other case where that kernel is called, if some other part of the kernel configuration differs that allows it to run with a larger block size in that case. But that is just speculation.

Not sure I can offer any help here. Perhaps the issue could be worked around by manually entering a working configuration in the auto-tuning file for the problematic kernels, if needed.

from badslam.

Related Issues (20)

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.