sdemyanov / ConvNet

Convolutional Neural Networks for Matlab for classification and segmentation, including Invariang Backpropagation (IBP) and Adversarial Training (AT) algorithms. Trained on GPU, require cuDNN v5.
240 stars 141 forks source link

compiling gpu #26

Open namjey opened 8 years ago

namjey commented 8 years ago

I have some troubles with compiling GPU version with script compile.m

I have cuda supported GPU(gtx760) and have already set up 'CUDA_PATH' and 'VS100COMNTOOLS' by using 'getenv' and 'setenv'. Also, have Microsoft visual studio 2012 and SDK. However I don't know how to set up the CUDA settings for 'mex' (mex_CUDA_win64.xml). Therefore, I guess I am getting the error: (Error in compile (line 122) mex(mexfile, ['"' cudafiles '"'], ['"' cppfiles '"'], ... No supported compiler or SDK was found.)

How can I configure the CUDA settings (mex_CUDA_win64.xml)? Or, do I have other problems?

Looking forward to see your reply! TY

sdemyanov commented 8 years ago

Hi,

Frankly saying I don't already remember those details. My advice would be to compile mex files using purely VS. Mex files are dll's by nature. Try to go this direction.

Regards, Sergey.

On Mon, Nov 23, 2015 at 1:15 PM, namjey notifications@github.com wrote:

I have some troubles with compiling GPU version with script compile.m

I have cuda supported GPU(gtx760) and have already set up 'CUDA_PATH' and 'VS100COMNTOOLS' by using 'getenv' and 'setenv'. Also, have Microsoft visual studio 2012 and SDK. However I don't know how to set up the CUDA settings for 'mex' (mex_CUDA_win64.xml). Therefore, I guess I am getting the error: (Error in compile (line 122) mex(mexfile, ['"' cudafiles '"'], ['"' cppfiles '"'], ... No supported compiler or SDK was found.)

How can I configure the CUDA settings (mex_CUDA_win64.xml)? Or, do I have other problems?

Looking forward to see your reply! TY

— Reply to this email directly or view it on GitHub https://github.com/sdemyanov/ConvNet/issues/26.

AlaaSulaiman commented 8 years ago

Hi, In fact, I've the same problem, I don't know how to fie it up since two days. Please, do you know how can I solve this problem?

I'm looking to hear from you. Thanks