Top "Nvcc" questions

"nvcc" is NVIDIA's LLVM-based C/C++ compiler for targeting GPUs with CUDA.

How can I compile CUDA code then link it to a C++ project?

I am looking for help getting started with a project involving CUDA. My goal is to have a project that …

cuda g++ nvcc
Linking error: DSO missing from command line

I am rather new to Linux (using Ubuntu 14.04 LTS 64bit), coming from Windows, and am attempting to port over an …

linux linker x11 glfw nvcc
error: cuda_runtime.h: No such file or directory

How can I force gcc to look in /usr/cuda/local/include for cuda_runtime.h? I'm attempting to compile …

c gcc cuda nvcc
nvcc: command not found

I installed cuda sdk 5.0 to /opt and even compiled all examples, but I can't execute nvcc. Here is some console …

cuda nvcc
CUDA: How to use -arch and -code and SM vs COMPUTE

I am still not sure how to properly specify the architectures for code generation when building with nvcc. I am …

cuda nvcc ptx fat-binaries
CUDA: nvcc cannot be detected though installed

I successfully installed CUDA 7.0 on ubuntu(ami instance), but when I typed 'nvcc -version', it told me that The program …

build cuda gpu ubuntu-14.04 nvcc
Simplest Possible Example to Show GPU Outperform CPU Using CUDA

I am looking for the most concise amount of code possible that can be coded both for a CPU (using …

cuda g++ nvcc
Cannot run CUDA code that queries NVML - error regarding libnvidia-ml.so

Recently a colleague needed to use NVML to query device information, so I downloaded the Tesla development kit 3.304.5 and copied …

cuda nvcc tesla nvml
What is the purpose of using multiple "arch" flags in Nvidia's NVCC compiler?

I've recently gotten my head around how NVCC compiles CUDA device code for different compute architectures. From my understanding, when …

cuda nvcc ptx
cuda shared library linking: undefined reference to cudaRegisterLinkedBinary

Goal: create a shared library containing my CUDA kernels that has a CUDA-free wrapper/header. create a test executable for …

c++ cuda makefile shared-libraries nvcc