From: <gs...@us...> - 2010-01-18 17:36:23
|
Revision: 22 http://cudagpumemtest.svn.sourceforge.net/cudagpumemtest/?rev=22&view=rev Author: gshi Date: 2010-01-18 17:36:16 +0000 (Mon, 18 Jan 2010) Log Message: ----------- we actually do not need cuda sdk to compile and run so that dependency is removed Modified Paths: -------------- Makefile README cuda_memtest.cu sanity_check.sh Modified: Makefile =================================================================== --- Makefile 2010-01-15 16:03:37 UTC (rev 21) +++ Makefile 2010-01-18 17:36:16 UTC (rev 22) @@ -39,9 +39,7 @@ CUDA_INSTALL_PATH ?=/usr/local/cuda -CUDA_SDK_PATH ?=${CUDA_INSTALL_PATH}/sdk/C -INCLUDES := -I. -I${CUDA_INSTALL_PATH}/include -I${CUDA_SDK_PATH}/common/inc/ -#INCLUDES := -I. -I${CUDA_INSTALL_PATH}/include -I${CUDA_SDK_PATH}/C/common/inc/ +INCLUDES := -I. -I${CUDA_INSTALL_PATH}/include LIB := -L${CUDA_INSTALL_PATH}/lib64 -lcuda -lcudart CUDACC = nvcc LD = nvcc Modified: README =================================================================== --- README 2010-01-15 16:03:37 UTC (rev 21) +++ README 2010-01-18 17:36:16 UTC (rev 22) @@ -45,9 +45,8 @@ (I) Compile The default cuda install path is /usr/local/cuda. -The default cuda sdk path is /usr/local/cuda/sdk. -If your install path are not the default, you will need to set -CUDA_INSTALL_PATH and CUDA_SDK_PATH to the correct path. +If your install path is not the default, you will need to set +CUDA_INSTALL_PATH to the correct path. Simply typing make should compile the program cuda_memtest %make Modified: cuda_memtest.cu =================================================================== --- cuda_memtest.cu 2010-01-15 16:03:37 UTC (rev 21) +++ cuda_memtest.cu 2010-01-18 17:36:16 UTC (rev 22) @@ -39,7 +39,6 @@ */ #include "cuda_memtest.h" -#include <cutil.h> #include <cublas.h> #include <pthread.h> #include <stdio.h> Modified: sanity_check.sh =================================================================== --- sanity_check.sh 2010-01-15 16:03:37 UTC (rev 21) +++ sanity_check.sh 2010-01-18 17:36:16 UTC (rev 22) @@ -9,4 +9,4 @@ args="--device $1" fi set -x -/home/ac/gshi/ncsa_projects/sf_cuda_memtest/cuda_memtest --stress --num_passes 1 --num_iterations 100 $args +./cuda_memtest --stress --num_passes 1 --num_iterations 100 $args This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |