nvc++: "last line of file ends without a newline"

Add CI vector tests for NVHPC
This commit is contained in:
Tom Lin 2022-07-24 21:43:09 +01:00
parent a299d613bb
commit 37dcdc224c
5 changed files with 9 additions and 4 deletions

View File

@ -242,6 +242,11 @@ build_nvhpc() {
local cxx="-DCMAKE_CXX_COMPILER=${NVHPC_NVCXX:?}" local cxx="-DCMAKE_CXX_COMPILER=${NVHPC_NVCXX:?}"
run_build $name "${NVHPC_NVCXX:?}" std-data "$cxx -DNVHPC_OFFLOAD=$NV_ARCH_CCXY" run_build $name "${NVHPC_NVCXX:?}" std-data "$cxx -DNVHPC_OFFLOAD=$NV_ARCH_CCXY"
run_build $name "${NVHPC_NVCXX:?}" std-indices "$cxx -DNVHPC_OFFLOAD=$NV_ARCH_CCXY" run_build $name "${NVHPC_NVCXX:?}" std-indices "$cxx -DNVHPC_OFFLOAD=$NV_ARCH_CCXY"
# std again but with vectors
run_build $name "${NVHPC_NVCXX:?}" std-data "$cxx -DNVHPC_OFFLOAD=$NV_ARCH_CCXY -DUSE_VECTOR=ON"
run_build $name "${NVHPC_NVCXX:?}" std-indices "$cxx -DNVHPC_OFFLOAD=$NV_ARCH_CCXY -DUSE_VECTOR=ON"
run_build $name "${NVHPC_NVCXX:?}" acc "$cxx -DTARGET_DEVICE=gpu -DTARGET_PROCESSOR=px -DCUDA_ARCH=$NV_ARCH_CCXY" run_build $name "${NVHPC_NVCXX:?}" acc "$cxx -DTARGET_DEVICE=gpu -DTARGET_PROCESSOR=px -DCUDA_ARCH=$NV_ARCH_CCXY"
run_build $name "${NVHPC_NVCXX:?}" acc "$cxx -DTARGET_DEVICE=multicore -DTARGET_PROCESSOR=zen" run_build $name "${NVHPC_NVCXX:?}" acc "$cxx -DTARGET_DEVICE=multicore -DTARGET_PROCESSOR=zen"
} }

View File

@ -121,4 +121,4 @@ template class STDDataStream<float>;
template class STDDataStream<double>; template class STDDataStream<double>;
#undef BEGIN #undef BEGIN
#undef END #undef END

View File

@ -127,4 +127,4 @@ template class STDIndicesStream<float>;
template class STDIndicesStream<double>; template class STDIndicesStream<double>;
#undef BEGIN #undef BEGIN
#undef END #undef END

View File

@ -157,4 +157,4 @@ template class STDRangesStream<float>;
template class STDRangesStream<double>; template class STDRangesStream<double>;
#undef BEGIN #undef BEGIN
#undef END #undef END

View File

@ -155,4 +155,4 @@ template class TBBStream<float>;
template class TBBStream<double>; template class TBBStream<double>;
#undef BEGIN #undef BEGIN
#undef END #undef END