-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/array_view_variant
- Loading branch information
Showing
35 changed files
with
473 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.38.1 | ||
0.39.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,37 @@ | ||
|
||
ecbuild_add_option( FEATURE CUDA | ||
DESCRIPTION "Enable CUDA support" | ||
DEFAULT OFF | ||
) | ||
# ecbuild_add_option( FEATURE CUDA | ||
# DESCRIPTION "Enable CUDA support" | ||
# DEFAULT OFF | ||
# ) | ||
# ecbuild_add_option( FEATURE HIP | ||
# DESCRIPTION "Enable CUDA support" | ||
# DEFAULT OFF | ||
# ) | ||
|
||
if( HAVE_CUDA ) | ||
|
||
enable_language( CUDA ) | ||
ecbuild_info( "CUDA language enabled" ) | ||
|
||
find_package( CUDAToolkit REQUIRED ) | ||
set( atlas_HAVE_CUDA 0 ) | ||
set( atlas_HAVE_HIP 0 ) | ||
set( atlas_HAVE_GPU 0 ) | ||
|
||
if( hic_HAVE_CUDA ) | ||
enable_language( CUDA ) | ||
ecbuild_info( "CUDA language enabled" ) | ||
find_package(CUDAToolkit REQUIRED) | ||
set( atlas_HAVE_CUDA 1 ) | ||
set( atlas_HAVE_GPU 1 ) | ||
elseif( hic_HAVE_HIP ) | ||
enable_language( HIP ) | ||
ecbuild_info( "HIP language enabled" ) | ||
find_package(hip CONFIG REQUIRED) | ||
set( atlas_HAVE_HIP 1 ) | ||
set( atlas_HAVE_GPU 1 ) | ||
endif() | ||
|
||
set( HAVE_CUDA ${atlas_HAVE_CUDA} ) | ||
set( HAVE_HIP ${atlas_HAVE_HIP} ) | ||
set( HAVE_GPU ${atlas_HAVE_GPU} ) | ||
|
||
if( HAVE_GPU ) | ||
ecbuild_info("GPU support enabled") | ||
else() | ||
ecbuild_info("GPU support not enabled") | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.