Giter VIP home page Giter VIP logo

Comments (7)

x-y-z avatar x-y-z commented on August 30, 2024

The error from the execution of your vectoradd tells that your GPU driver is too old to run programs compiled with CUDA 10.2. You either need to use an older CUDA/nvcc to compile your program and nvbit tools or upgrade your GPU driver.

from nvbit.

louisfeng avatar louisfeng commented on August 30, 2024

The error from the execution of your vectoradd tells that your GPU driver is too old to run programs compiled with CUDA 10.2. You either need to use an older CUDA/nvcc to compile your program and nvbit tools or upgrade your GPU driver.

Actually the vectoradd program was compiled with CUDA 9.2 and ran fine without the LD_PRELOAD.

from nvbit.

x-y-z avatar x-y-z commented on August 30, 2024

The error from the execution of your vectoradd tells that your GPU driver is too old to run programs compiled with CUDA 10.2. You either need to use an older CUDA/nvcc to compile your program and nvbit tools or upgrade your GPU driver.

Actually the vectoradd program was compiled with CUDA 9.2 and ran fine without the LD_PRELOAD.

OK, the issue is the incompatibility between the nvbit tool and your GPU driver. The nvbit tools need to be compiled with CUDA 10.2, which requires >=v440 GPU drivers, but your driver is too old.

I would suggest you to upgrade your GPU driver to >= v440

from nvbit.

louisfeng avatar louisfeng commented on August 30, 2024

Thanks @x-y-z, I will give it a try.

from nvbit.

louisfeng avatar louisfeng commented on August 30, 2024

@x-y-z does nvbit have hard dependency on the CUDA 10.2? Our data center don't always use the latest driver. Is it possible to relax this requirement? For example, would it possible to use CUDA 10.1 (driver 418)?

from nvbit.

louisfeng avatar louisfeng commented on August 30, 2024

I was able to build and run with CUDA 10.1 (driver 418). Thanks.

------------- NVBit (NVidia Binary Instrumentation Tool v1.3.1) Loaded --------------
NVBit core environment variables (mostly for nvbit-devs):
            NVDISASM = nvdisasm - override default nvdisasm found in PATH
            NOBANNER = 0 - if set, does not print this banner
---------------------------------------------------------------------------------
         INSTR_BEGIN = 0 - Beginning of the instruction interval where to apply instrumentation
           INSTR_END = 4294967295 - End of the instruction interval where to apply instrumentation
      START_GRID_NUM = 0 - Beginning of the kernel gird launch interval where to apply instrumentation
        END_GRID_NUM = 4294967295 - End of the kernel launch interval where to apply instrumentation
    COUNT_WARP_LEVEL = 1 - Count warp level or thread level instructions
    EXCLUDE_PRED_OFF = 0 - Exclude predicated off instruction from count
   ACTIVE_FROM_START = 1 - Start instruction counting from start or wait for cuProfilerStart and cuProfilerStop
       MANGLED_NAMES = 1 - Print kernel names mangled or not
        TOOL_VERBOSE = 0 - Enable verbosity inside the tool
----------------------------------------------------------------------------------------------------

kernel 0 - _Z6vecAddPdS_S_i - #thread-blocks 98,  kernel instructions 50077, total instructions 50077
Final sum = 100000.000000; sum/n = 1.000000 (should be ~1)
Total app instructions: 50077

from nvbit.

ovilla avatar ovilla commented on August 30, 2024

Great. We are glad it was resolved.

from nvbit.

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.