nvc++: "last line of file ends without a newline"
Add CI vector tests for NVHPC
This commit is contained in:
parent
a299d613bb
commit
37dcdc224c
@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -121,4 +121,4 @@ template class STDDataStream<float>;
|
|||||||
template class STDDataStream<double>;
|
template class STDDataStream<double>;
|
||||||
|
|
||||||
#undef BEGIN
|
#undef BEGIN
|
||||||
#undef END
|
#undef END
|
||||||
|
|||||||
@ -127,4 +127,4 @@ template class STDIndicesStream<float>;
|
|||||||
template class STDIndicesStream<double>;
|
template class STDIndicesStream<double>;
|
||||||
|
|
||||||
#undef BEGIN
|
#undef BEGIN
|
||||||
#undef END
|
#undef END
|
||||||
|
|||||||
@ -157,4 +157,4 @@ template class STDRangesStream<float>;
|
|||||||
template class STDRangesStream<double>;
|
template class STDRangesStream<double>;
|
||||||
|
|
||||||
#undef BEGIN
|
#undef BEGIN
|
||||||
#undef END
|
#undef END
|
||||||
|
|||||||
@ -155,4 +155,4 @@ template class TBBStream<float>;
|
|||||||
template class TBBStream<double>;
|
template class TBBStream<double>;
|
||||||
|
|
||||||
#undef BEGIN
|
#undef BEGIN
|
||||||
#undef END
|
#undef END
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user