MaxPower
MaxPower

Reputation: 35

nvcc : fatal error : Option '--cubin (-cubin)' is not allowed when compiling for multiple GPU code instances

Attempting to compile the GPU module of OpenCV 2.4.8 with VS2010 on a Win7 x64 machine with GTX760, CUDA v5.0, the following error appears after each object build routine:

nvcc : fatal error : Option '--cubin (-cubin)' is not allowed when compiling for multiple GPU code instances

what does this mean? should i change something in my CMake params before building?

I am building on top of a working library, just trying to get CUBLAS built and recognized by my application so I can use gemm for subspace projection.

Upvotes: 0

Views: 920

Answers (1)

MaxPower
MaxPower

Reputation: 35

UPDATE: I cleared the cache in CMake (which updated the "CUDA_ARCH_BIN" flag) and unchecked "CUDA_BUILD_CUBIN". The generated solution is now building with no issues. Elementary.

Upvotes: 2

Related Questions