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

4 次查看(过去 30 天)
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

采纳的回答

Jonathan
Jonathan 2013-8-26
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by