CUDA5.5 的環(huán)境變量設(shè)置
為了方便,我寫了這個(gè)文件用于設(shè)置cuda5.5的環(huán)境變量。
其中有些環(huán)境變量可能用不到,大家根據(jù)需要修改就是了。
export?CUDA_HOME=/usr/local/cuda-5.5 export?CUDA_INC_PATH=${CUDA_HOME}/include export?CUDA_LIB_PATH=${CUDA_HOME}/lib64 export?CUDA_INSTALL_PATH=${CUDA_HOME} export?PATH=${CUDA_HOME}/bin:$PATH export?PATH=${CUDA_HOME}/computeprof/bin:$PATH export?LD_LIBRARY_PATH=${CUDA_HOME}/computeprof/bin:$LD_LIBRARY_PATH export?LD_LIBRARY_PATH=${CUDA_HOME}/lib64:$LD_LIBRARY_PATH export?LD_LIBRARY_PATH=${CUDA_HOME}/extras/CUPTI/lib64:$LD_LIBRARY_PATH export?MANPATH=${CUDA_HOME}/man:$MANPATH export?OPENCL_HOME=${CUDA_HOME} export?OPENCL_INC_PATH=${OPENCL_HOME}/include export?OPENCL_LIB_PATH=${OPENCL_HOME}/lib64 export?LD_LIBRARY_PATH=${OPENCL_LIB_PATH}:$LD_LIBRARY_PATH