diff --git a/examples/cuda_helpers.cuh b/examples/util/cuda_helpers.cuh similarity index 100% rename from examples/cuda_helpers.cuh rename to examples/util/cuda_helpers.cuh diff --git a/examples/ispc_malloc.cpp b/examples/util/ispc_malloc.cpp similarity index 100% rename from examples/ispc_malloc.cpp rename to examples/util/ispc_malloc.cpp diff --git a/examples/ispc_malloc.h b/examples/util/ispc_malloc.h similarity index 100% rename from examples/ispc_malloc.h rename to examples/util/ispc_malloc.h diff --git a/examples/nvcc_helpers.cu b/examples/util/nvcc_helpers.cu similarity index 100% rename from examples/nvcc_helpers.cu rename to examples/util/nvcc_helpers.cu diff --git a/ptxtools/runtest_ptxcc.sh b/ptxtools/runtest_ptxcc.sh index 5edbff22..67d9ccd7 100755 --- a/ptxtools/runtest_ptxcc.sh +++ b/ptxtools/runtest_ptxcc.sh @@ -11,11 +11,11 @@ then LLVMDIS=$LLVM32/bin/llvm-dis $($LLVMDIS $1 -o $TMPDIR/$fbname.ll) && $($PTXGEN $TMPDIR/$fbname.ll -o $TMPDIR/$fbname.ptx) && \ $($PTXCC $TMPDIR/$fbname.ptx -o $TMPDIR/$fbname.o -Xnvcc="-G") && \ - $(nvcc test_static_nvptx.cpp examples/nvcc_helpers.cu examples/ispc_malloc.cpp $TMPDIR/$fbname.o -arch=sm_35 -Iexamples/ -D_CUDA_ -lcudadevrt $ARGS); + $(nvcc test_static_nvptx.cpp examples/util/nvcc_helpers.cu examples/util/ispc_malloc.cpp $TMPDIR/$fbname.o -arch=sm_35 -Iexamples/util/ -D_CUDA_ -lcudadevrt $ARGS); else $(sed 's/\.b0/\.b32/g' $1 > $TMPDIR/$fbname) && \ $($PTXCC $TMPDIR/$fbname -o $TMPDIR/$fbname.o -Xnvcc="-G") && \ - $(nvcc test_static_nvptx.cpp examples/nvcc_helpers.cu examples/ispc_malloc.cpp $TMPDIR/$fbname.o -arch=sm_35 -Iexamples/ -D_CUDA_ -lcudadevrt $ARGS); + $(nvcc test_static_nvptx.cpp examples/util/nvcc_helpers.cu examples/util/ispc_malloc.cpp $TMPDIR/$fbname.o -arch=sm_35 -Iexamples/util/ -D_CUDA_ -lcudadevrt $ARGS); fi