c++ - How to use the GNU scientific library (gsl) in nvidia Nsight eclipse -


i use gsl functions in cuda code. (in nsight eclipse on linux) have installed gsl , should setup linker setting in eclipse.

i have tried follow steps outlined here, have issues. in project properties there no "c/c++ build" menu "build" , not able find setting mentioned in above blog post.

how can setup linker settings ?

thanks in advance!

you won't able use gsl routines directly in cuda device code. gsl libraries (-lgsl) compiled x86 usage , not run on gpu.

if want use gsl routines in host code, should sufficient specify include file , path, linker path, , linker library:

-i/usr/local/include/gsl -l/usr/local/lib (or /usr/local/lib64) -lgsl 

here's a question/answer discussing how make these kind of additions in nsight eclipse


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -