How to compile a CUDA program with an specific toolkit version? -


i have cuda toolkit 5.5 , 5.0 installed in ubuntu system,i want compile .cu file specific version..how ?

you setting proper environment variables. following example cuda 5.5 on x86_64 machine.

export cuda_home=/usr/local/cuda-5.5 export ld_library_path=${cuda_home}/lib64:${ld_library_path} export path=${cuda_home}/bin:${path} 

Comments

Popular posts from this blog

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c++ - CryptStringToBinary API behavior -