From d6b04c58e870ffc0045282429d44c8a0c10f9638 Mon Sep 17 00:00:00 2001 From: Evghenii Date: Thu, 20 Feb 2014 12:27:23 +0100 Subject: [PATCH] moving helps to examples/util --- examples/{ => util}/cuda_helpers.cuh | 0 examples/{ => util}/ispc_malloc.cpp | 0 examples/{ => util}/ispc_malloc.h | 0 examples/{ => util}/nvcc_helpers.cu | 0 ptxtools/runtest_ptxcc.sh | 4 ++-- 5 files changed, 2 insertions(+), 2 deletions(-) rename examples/{ => util}/cuda_helpers.cuh (100%) rename examples/{ => util}/ispc_malloc.cpp (100%) rename examples/{ => util}/ispc_malloc.h (100%) rename examples/{ => util}/nvcc_helpers.cu (100%) 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