Skip to content

Commit e9f1b2d

Browse files
authored
Expand the SVE compatibility check for the NVIDIA HPC compiler
1 parent d69f57c commit e9f1b2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

c_check

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,9 @@ if [ "$architecture" = "arm64" ]; then
283283
no_sve=0
284284
{
285285
$compiler_name $flags $args >/dev/null 2>&1
286+
} || {
287+
args=" -Msve_intrinsics -c -o $tmpf.o $tmpf"
288+
$compiler_name $flags $args >/dev/null 2>&1
286289
} || {
287290
no_sve=1
288291
}

0 commit comments

Comments
 (0)