Comments (7)
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.
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.
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.
Thanks @x-y-z, I will give it a try.
from nvbit.
@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.
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.
Great. We are glad it was resolved.
from nvbit.
Related Issues (20)
- F2FP or Uf2FP?
- RNNT error, operation not permitted when stream is capturing HOT 2
- Texture Memory Reference HOT 1
- How to flush instruction cache? HOT 1
- What is the maximum number of bits/bytes allowed after nvbit_insert_call?
- Loading NVBit tool with dlopen() explicitly HOT 2
- Finding source line number (in the host code) for cudaMalloc and similar API calls
- Getting PC from NVBit HOT 2
- NVBit hangs when creating Cuda Contexts in parallel (multi-gpu)
- Nvbit misses kernels compared to Nsight products
- Using Nvbit for a specific region of code
- How to use APIs in our own application code
- CUDA 12.0 / Driver > 510 - Unsupported? HOT 1
- NVbit can not work with Lammps? HOT 1
- mem_trace address type
- Non-deterministic behavior
- CUDA 12 and more recent nvidia driver support HOT 2
- Support for CUDA dynamic parallelism
- Support for cooperative groups
- Instructions after exit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvbit.