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