diff --git a/examples_ptx/radixSort/Makefile_cpu b/examples_ptx/radixSort/Makefile_cpu new file mode 100644 index 00000000..a70ba750 --- /dev/null +++ b/examples_ptx/radixSort/Makefile_cpu @@ -0,0 +1,9 @@ + +EXAMPLE=sort +CPP_SRC=sort.cpp sort_serial.cpp +ISPC_SRC=sort.ispc +ISPC_IA_TARGETS=avx1-i32x8 +ISPC_ARM_TARGETS=neon +#ISPC_FLAGS=-DDEBUG + +include ../common.mk diff --git a/examples_ptx/radixSort/Makefile_gpu b/examples_ptx/radixSort/Makefile_gpu new file mode 100644 index 00000000..97a51f26 --- /dev/null +++ b/examples_ptx/radixSort/Makefile_gpu @@ -0,0 +1,13 @@ +PROG=sort +ISPC_SRC=sort.ispc +CU_SRC=sort.cu +CXX_SRC=sort.cpp sort_serial.cpp +PTXCC_REGMAX=32 + +LLVM_GPU=1 +NVVM_GPU=1 + +include ../common_gpu.mk + + +