cuda_bandwidthTest: cuda_bandwidthTest.o
	nvcc -O3 cuda_bandwidthTest.o -I /opt/cuda/inc -L /opt/cuda/lib -lcutil -lglut -o cuda_bandwidthTest

cuda_bandwidthTest.o: cuda_bandwidthTest.cu
	nvcc -O3 -c --ptxas-options --suppress-double-demote-warning --compiler-options -fno-inline cuda_bandwidthTest.cu -I /opt/cuda/inc -L /opt/cuda/lib -lcutil -lglut

clean:
	rm -rf *~ *.o cuda_bandwidthTest
