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

4 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Jonathan
Jonathan il 26 Ago 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

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by