Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
elpa
elpa
Commits
f505a61a
Commit
f505a61a
authored
Sep 09, 2016
by
Andreas Marek
Browse files
Update headers of real test program
parent
e7b7e5bf
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/Fortran/test_real2_api.F90
View file @
f505a61a
...
...
@@ -209,7 +209,7 @@ program test_real2_choose_kernel_with_api_double_precision
print
*
,
"an environment variable will always take precedence over"
print
*
,
"everything else! "
print
*
#ifdef WITH_ONE_SPECIFIC_
COMPLEX
_KERNEL
#ifdef WITH_ONE_SPECIFIC_
REAL
_KERNEL
print
*
,
" However, this version of ELPA was build with only one of all the available"
print
*
,
" kernels, thus it will not be successful to call ELPA with another "
print
*
,
" kernel than the one specified at compile time!"
...
...
@@ -234,6 +234,16 @@ program test_real2_choose_kernel_with_api_double_precision
#ifdef WITH_REAL_GENERIC_SSE_ASSEMBLY_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_SSE"
#endif
#ifdef WITH_REAL_SSE_BLOCK2_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_SSE_BLOCK2"
#endif
#ifdef WITH_REAL_SSE_BLOCK4_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_SSE_BLOCK4"
#endif
#ifdef WITH_REAL_SSE_BLOCK6_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_SSE_BLOCK6"
#endif
#ifdef WITH_REAL_AVX_BLOCK2_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX_BLOCK2"
#endif
...
...
@@ -243,6 +253,25 @@ program test_real2_choose_kernel_with_api_double_precision
#ifdef WITH_REAL_AVX_BLOCK6_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX_BLOCK6"
#endif
#ifdef WITH_REAL_AVX2_BLOCK2_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX2_BLOCK2"
#endif
#ifdef WITH_REAL_AVX2_BLOCK4_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX2_BLOCK4"
#endif
#ifdef WITH_REAL_AVX2_BLOCK6_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX2_BLOCK6"
#endif
#ifdef WITH_REAL_AVX512_BLOCK2_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX512_BLOCK2"
#endif
#ifdef WITH_REAL_AVX512_BLOCK4_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX512_BLOCK4"
#endif
#ifdef WITH_REAL_AVX512_BLOCK6_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX512_BLOCK6"
#endif
#ifdef WITH_REAL_BGP_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_BGP"
#endif
...
...
@@ -330,7 +359,7 @@ program test_real2_choose_kernel_with_api_double_precision
na_cols
,
mpi_comm_rows
,
mpi_comm_cols
,
mpi_comm_world
,
&
#ifndef WITH_ONE_SPECIFIC_REAL_KERNEL
REAL_ELPA_KERNEL_GENERIC_SIMPLE
)
#else /* WITH_ONE_SPECIFIC_
COMPLEX
_KERNEL */
#else /* WITH_ONE_SPECIFIC_
REAL
_KERNEL */
#ifdef WITH_REAL_GENERIC_KERNEL
REAL_ELPA_KERNEL_GENERIC
)
...
...
test/Fortran/test_real2_api_single.F90
View file @
f505a61a
...
...
@@ -234,6 +234,15 @@ program test_real2_choose_kernel_with_api_single_precision
#ifdef WITH_REAL_GENERIC_SSE_ASSEMBLY_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_SSE"
#endif
#ifdef WITH_REAL_SSE_BLOCK2_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_SSE_BLOCK2"
#endif
#ifdef WITH_REAL_SSE_BLOCK4_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_SSE_BLOCK4"
#endif
#ifdef WITH_REAL_SSE_BLOCK6_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_SSE_BLOCK6"
#endif
#ifdef WITH_REAL_AVX_BLOCK2_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX_BLOCK2"
#endif
...
...
@@ -243,6 +252,24 @@ program test_real2_choose_kernel_with_api_single_precision
#ifdef WITH_REAL_AVX_BLOCK6_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX_BLOCK6"
#endif
#ifdef WITH_REAL_AVX2_BLOCK2_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX2_BLOCK2"
#endif
#ifdef WITH_REAL_AVX2_BLOCK4_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX2_BLOCK4"
#endif
#ifdef WITH_REAL_AVX2_BLOCK6_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX2_BLOCK6"
#endif
#ifdef WITH_REAL_AVX512_BLOCK2_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX512_BLOCK2"
#endif
#ifdef WITH_REAL_AVX512_BLOCK4_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX512_BLOCK4"
#endif
#ifdef WITH_REAL_AVX512_BLOCK6_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_AVX512_BLOCK6"
#endif
#ifdef WITH_REAL_BGP_KERNEL
print
*
,
" The settings are: REAL_ELPA_KERNEL_BGP"
#endif
...
...
@@ -330,7 +357,7 @@ program test_real2_choose_kernel_with_api_single_precision
na_cols
,
mpi_comm_rows
,
mpi_comm_cols
,
mpi_comm_world
,
&
#ifndef WITH_ONE_SPECIFIC_REAL_KERNEL
REAL_ELPA_KERNEL_GENERIC_SIMPLE
)
#else /* WITH_ONE_SPECIFIC_
COMPLEX
_KERNEL */
#else /* WITH_ONE_SPECIFIC_
REAL
_KERNEL */
#ifdef WITH_REAL_GENERIC_KERNEL
REAL_ELPA_KERNEL_GENERIC
)
...
...
@@ -343,7 +370,6 @@ program test_real2_choose_kernel_with_api_single_precision
#ifdef WITH_REAL_SSE_ASSEMBLY_KERNEL
REAL_ELPA_KERNEL_SSE
)
#endif
#ifdef WITH_ONE_SPECIFIC_REAL_KERNEL
#ifdef WITH_REAL_SSE_BLOCK6_KERNEL
REAL_ELPA_KERNEL_SSE_BLOCK6
)
...
...
@@ -381,46 +407,17 @@ program test_real2_choose_kernel_with_api_single_precision
#endif
#endif
#else /* WITH_ONE_SPECIFIC_REAL_KERNEL */
#ifdef WITH_REAL_SSE_BLOCK2_KERNEL
REAL_ELPA_KERNEL_SSE_BLOCK2
)
#endif
#ifdef WITH_REAL_SSE_BLOCK4_KERNEL
REAL_ELPA_KERNEL_SSE_BLOCK4
)
#endif
#ifdef WITH_REAL_SSE_BLOCK6_KERNEL
REAL_ELPA_KERNEL_SSE_BLOCK6
)
#endif
#ifdef WITH_REAL_AVX_BLOCK2_KERNEL
REAL_ELPA_KERNEL_AVX_BLOCK2
)
#endif
#ifdef WITH_REAL_AVX_BLOCK4_KERNEL
REAL_ELPA_KERNEL_AVX_BLOCK4
)
#endif
#ifdef WITH_REAL_AVX_BLOCK6_KERNEL
REAL_ELPA_KERNEL_AVX_BLOCK6
)
#endif
#ifdef WITH_REAL_AVX2_BLOCK2_KERNEL
REAL_ELPA_KERNEL_AVX2_BLOCK2
)
#ifdef WITH_REAL_AVX512_BLOCK6_KERNEL
REAL_ELPA_KERNEL_AVX512_BLOCK6
)
#else
#ifdef WITH_REAL_AVX512_BLOCK4_KERNEL
REAL_ELPA_KERNEL_AVX512_BLOCK4
)
#else
#ifdef WITH_REAL_AVX512_BLOCK2_KERNEL
REAL_ELPA_KERNEL_AVX512_BLOCK2
)
#endif
#ifdef WITH_REAL_AVX_BLOCK4_KERNEL
REAL_ELPA_KERNEL_AVX2_BLOCK4
)
#endif
#ifdef WITH_REAL_AVX2_BLOCK6_KERNEL
REAL_ELPA_KERNEL_AVX2_BLOCK6
)
#endif
#endif /* WITH_ONE_SPECIFIC_REAL_KERNEL */
#ifdef WITH_REAL_BGP_KERNEL
REAL_ELPA_KERNEL_BGP
)
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment