diff --git a/bin/pic-configure b/bin/pic-configure index 2aecaa8618..28922fb02d 100755 --- a/bin/pic-configure +++ b/bin/pic-configure @@ -39,7 +39,7 @@ help() echo " (default is )" echo "-b | --backend - set compute backend and optionally the architecture" echo " syntax: backend[:architecture]" - echo " supported backends: cuda, omp2b, serial, tbb" + echo " supported backends: cuda, omp2b, serial, tbb, threads" echo " (e.g.: \"cuda:20;35;37;52;60\" or \"omp2b:native\" or \"omp2b\")" echo " default: \"cuda\" if not set via environment variable PIC_BACKEND" echo " note: architecture names are compiler dependent" @@ -77,6 +77,11 @@ get_backend_flags() if [ $num_options -eq 2 ] ; then result+=" -DPMACC_CPU_ARCH=\"${backend_cfg[1]}\"" fi + elif [ "${backend_cfg[0]}" == "threads" ] ; then + result+=" -DALPAKA_ACC_CPU_B_SEQ_T_THREADS_ENABLE=ON" + if [ $num_options -eq 2 ] ; then + result+=" -DPMACC_CPU_ARCH=\"${backend_cfg[1]}\"" + fi else echo "unsupported backend given '$1'" >&2 exit 1