Expand the SVE compatibility check for the NVIDIA HPC compiler

This commit is contained in:
Martin Kroeker 2023-08-25 16:45:56 +02:00 committed by GitHub
parent d69f57c8c2
commit e9f1b2d26f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -283,6 +283,9 @@ if [ "$architecture" = "arm64" ]; then
no_sve=0
{
$compiler_name $flags $args >/dev/null 2>&1
} || {
args=" -Msve_intrinsics -c -o $tmpf.o $tmpf"
$compiler_name $flags $args >/dev/null 2>&1
} || {
no_sve=1
}