Skip to content

Commit 0e90d6e

Browse files
committed
Enable array reshaping for better inlining
1 parent 2f8eef1 commit 0e90d6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ elseif ((CMAKE_Fortran_COMPILER_ID STREQUAL "NVHPC") OR (CMAKE_Fortran_COMPILER_
189189
add_compile_options(
190190
$<$<COMPILE_LANGUAGE:Fortran>:-Mfreeform>
191191
$<$<COMPILE_LANGUAGE:Fortran>:-cpp>
192+
$<$<COMPILE_LANGUAGE:Fortran>:-Minline=reshape>
192193
$<$<COMPILE_LANGUAGE:Fortran>:-Minfo=inline>
193194
$<$<COMPILE_LANGUAGE:Fortran>:-Minfo=accel>
194195
)

0 commit comments

Comments
 (0)