diff --git a/examples/DME/Makefile b/examples/DME/Makefile index e3c2fd8..f86cff4 100644 --- a/examples/DME/Makefile +++ b/examples/DME/Makefile @@ -31,22 +31,22 @@ DYNAMICF_OUTPUTS:= $(FERMI_INPUTS:.cu=_dynamic.ptx) DYNAMICK_OUTPUTS:= $(KEPLER_INPUTS:.cu=_dynamic.ptx) %_fermi_small.ptx : %_fermi.cu - nvcc -o $@ -ptx -m64 -arch=compute_20 -DTOTAL_STEPS=4 $< + nvcc -o $@ -ptx -lineinfo -m64 -arch=compute_20 -DTOTAL_STEPS=4 $< %_fermi_dynamic.ptx : %_fermi.cu - nvcc -o $@ -ptx -m64 -arch=compute_20 -DDYNAMIC $< + nvcc -o $@ -ptx -lineinfo -m64 -arch=compute_20 -DDYNAMIC $< %_fermi.ptx : %_fermi.cu - nvcc -o $@ -ptx -m64 -arch=compute_20 $< + nvcc -o $@ -ptx -lineinfo -m64 -arch=compute_20 $< %_kepler_small.ptx : %_kepler.cu - nvcc -o $@ -ptx -m64 -arch=compute_35 -DTOTAL_STEPS=4 $< + nvcc -o $@ -ptx -lineinfo -m64 -arch=compute_35 -DTOTAL_STEPS=4 $< %_kepler_dynamic.ptx : %_kepler.cu - nvcc -o $@ -ptx -m64 -arch=compute_35 -DDYNAMIC $< + nvcc -o $@ -ptx -lineinfo -m64 -arch=compute_35 -DDYNAMIC $< %_kepler.ptx : %_kepler.cu - nvcc -o $@ -ptx -m64 -arch=compute_35 $< + nvcc -o $@ -ptx -lineinfo -m64 -arch=compute_35 $< .PHONY: all diff --git a/examples/Heptane/Makefile b/examples/Heptane/Makefile index e3c2fd8..9a92d55 100644 --- a/examples/Heptane/Makefile +++ b/examples/Heptane/Makefile @@ -31,22 +31,22 @@ DYNAMICF_OUTPUTS:= $(FERMI_INPUTS:.cu=_dynamic.ptx) DYNAMICK_OUTPUTS:= $(KEPLER_INPUTS:.cu=_dynamic.ptx) %_fermi_small.ptx : %_fermi.cu - nvcc -o $@ -ptx -m64 -arch=compute_20 -DTOTAL_STEPS=4 $< + nvcc -o $@ -ptx -m64 -lineinfo -arch=compute_20 -DTOTAL_STEPS=4 $< %_fermi_dynamic.ptx : %_fermi.cu - nvcc -o $@ -ptx -m64 -arch=compute_20 -DDYNAMIC $< + nvcc -o $@ -ptx -m64 -lineinfo -arch=compute_20 -DDYNAMIC $< %_fermi.ptx : %_fermi.cu - nvcc -o $@ -ptx -m64 -arch=compute_20 $< + nvcc -o $@ -ptx -m64 -lineinfo -arch=compute_20 $< %_kepler_small.ptx : %_kepler.cu - nvcc -o $@ -ptx -m64 -arch=compute_35 -DTOTAL_STEPS=4 $< + nvcc -o $@ -ptx -m64 -lineinfo -arch=compute_35 -DTOTAL_STEPS=4 $< %_kepler_dynamic.ptx : %_kepler.cu - nvcc -o $@ -ptx -m64 -arch=compute_35 -DDYNAMIC $< + nvcc -o $@ -ptx -m64 -lineinfo -arch=compute_35 -DDYNAMIC $< %_kepler.ptx : %_kepler.cu - nvcc -o $@ -ptx -m64 -arch=compute_35 $< + nvcc -o $@ -ptx -m64 -lineinfo -arch=compute_35 $< .PHONY: all diff --git a/examples/PRF/Makefile b/examples/PRF/Makefile index da58d1a..4ed4611 100644 --- a/examples/PRF/Makefile +++ b/examples/PRF/Makefile @@ -29,22 +29,22 @@ DYNAMICF_OUTPUTS:= $(FERMI_INPUTS:.cu=_dynamic.ptx) DYNAMICK_OUTPUTS:= $(KEPLER_INPUTS:.cu=_dynamic.ptx) %_fermi_small.ptx : %_fermi.cu - nvcc -o $@ -ptx -m64 -arch=compute_20 -DTOTAL_STEPS=4 $< + nvcc -o $@ -ptx -m64 -lineinfo -arch=compute_20 -DTOTAL_STEPS=4 $< %_fermi_dynamic.ptx : %_fermi.cu - nvcc -o $@ -ptx -m64 -arch=compute_20 -DDYNAMIC $< + nvcc -o $@ -ptx -m64 -lineinfo -arch=compute_20 -DDYNAMIC $< %_fermi.ptx : %_fermi.cu - nvcc -o $@ -ptx -m64 -arch=compute_20 $< + nvcc -o $@ -ptx -m64 -lineinfo -arch=compute_20 $< %_kepler_small.ptx : %_kepler.cu - nvcc -o $@ -ptx -m64 -arch=compute_35 -DTOTAL_STEPS=4 $< + nvcc -o $@ -ptx -m64 -lineinfo -arch=compute_35 -DTOTAL_STEPS=4 $< %_kepler_dynamic.ptx : %_kepler.cu - nvcc -o $@ -ptx -m64 -arch=compute_35 -DDYNAMIC $< + nvcc -o $@ -ptx -m64 -lineinfo -arch=compute_35 -DDYNAMIC $< %_kepler.ptx : %_kepler.cu - nvcc -o $@ -ptx -m64 -arch=compute_35 $< + nvcc -o $@ -ptx -m64 -lineinfo -arch=compute_35 $< .PHONY: all diff --git a/examples/RTM/Makefile b/examples/RTM/Makefile index 32ac1e8..76bc28f 100644 --- a/examples/RTM/Makefile +++ b/examples/RTM/Makefile @@ -25,13 +25,13 @@ SMALL_OUTPUTS := $(INPUTS:.cu=_small.ptx) DYNAMIC_OUTPUTS := $(INPUTS:.cu=_dynamic.ptx) %_small.ptx : %.cu - nvcc -o $@ -ptx -m64 -arch=compute_35 -DRTM_ELMTS=16 $< + nvcc -o $@ -ptx -lineinfo -m64 -arch=compute_35 -DRTM_ELMTS=16 $< %_dynamic.ptx : %.cu - nvcc -o $@ -ptx -m64 -arch=compute_35 -DDYNAMIC $< + nvcc -o $@ -ptx -lineinfo -m64 -arch=compute_35 -DDYNAMIC $< %.ptx : %.cu - nvcc -o $@ -ptx -m64 -arch=compute_35 $< + nvcc -o $@ -ptx -lineinfo -m64 -arch=compute_35 $< .PHONY: all all: normal diff --git a/examples/saxpy/Makefile b/examples/saxpy/Makefile index c513503..ad7e781 100644 --- a/examples/saxpy/Makefile +++ b/examples/saxpy/Makefile @@ -19,10 +19,10 @@ OUTPUTS := $(INPUTS:.cu=.ptx) SMALL_OUTPUTS := $(INPUTS:.cu=_small.ptx) %_small.ptx : %.cu - nvcc -o $@ -ptx -m64 -arch=compute_20 -DNUM_ITERS=8 $< + nvcc -o $@ -ptx -lineinfo -m64 -arch=compute_20 -DNUM_ITERS=8 $< %.ptx : %.cu - nvcc -o $@ -ptx -m64 -arch=compute_20 $< + nvcc -o $@ -ptx -lineinfo -m64 -arch=compute_20 $< .PHONY: all all: normal diff --git a/examples/sgemv/Makefile b/examples/sgemv/Makefile index 582ff1f..fa424d7 100644 --- a/examples/sgemv/Makefile +++ b/examples/sgemv/Makefile @@ -24,10 +24,10 @@ OUTPUTS := $(INPUTS:.cu=.ptx) SMALL_OUTPUTS := $(INPUTS:.cu=_small.ptx) %_small.ptx : %.cu - nvcc -o $@ -ptx -m64 -arch=compute_20 -DSGEMV_ITERS=8 $< + nvcc -o $@ -ptx -lineinfo -m64 -arch=compute_20 -DSGEMV_ITERS=8 $< %.ptx : %.cu - nvcc -o $@ -ptx -m64 -arch=compute_20 $< + nvcc -o $@ -ptx -lineinfo -m64 -arch=compute_20 $< .PHONY: all all: normal