Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling gpu #26

Open
namjey opened this issue Nov 23, 2015 · 2 comments
Open

compiling gpu #26

namjey opened this issue Nov 23, 2015 · 2 comments

Comments

@namjey
Copy link

namjey commented Nov 23, 2015

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
Copy link
Owner

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 [email protected] 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
#26.

@AlaaSulaiman
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants