64-bit compile of .cu to .ptxw64 --> 'cannot execute c1xx.dll' (error D8027)

6 views (last 30 days)
Hi all,
I'm setting up an environment for 64-bit Matlab/cuda kernel-development. Basically I want to be able to compile .cu files into 64-bit .ptx files so that I can load a cuda kernel to Matlab and utilize it with feval.
I call nvcc with the following line:
nvcc -m 64 -ptx -Xptxas=-v -arch sm_20 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin" -I "C:\Program Files\MATLAB\R2013a/extern/include" applyScaleFactors.cu --output-file applyScaleFactors.ptxw64
I get the following error:
cl : Command line error D8027 : cannot execute 'C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/../../VC/bin/amd64\c1xx.dll'
Any ideas on how to solve this would be really helpful!
Background:
Regards, Jonathan

Accepted Answer

Jonathan
Jonathan on 26 Aug 2013
Problem solved!
I had during previous troubleshooting placed a the files cl.exe and vcvars32.bat in my .cu project folder. Removing these solved my issue.
Cheers, Jonathan

More Answers (0)

Categories

Find more on Downloads in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!