-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HIP version of asgard #400
Closed
Closed
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
79ab7a9
Initial hipify from perl script
ckendrick f70d02b
WIP HIP CMake configuration
ckendrick 0e65742
Hipifying some missed parts
ckendrick 3daf645
Updating formatting for hipified files
ckendrick e2491dc
Minor cmake adjustments for hip
ckendrick 4b94cc8
Add initial hip platform configuration
ckendrick e816103
Update cmake cuda options and add hipblas
ckendrick 0d98648
CMake adjustments and initial platform options
ckendrick 0a78c9e
Add in nvidia platform update for hip 4.2
ckendrick b397160
Update tensor linking and missed cublas calls
ckendrick 15a9d35
Update hip compiler option variables, hip_add_library for kronmult
ckendrick b0a81a1
Update nvidia arch flag for kronmult_cuda
ckendrick 0889a35
Set hip_clang_path in cmake to find for amd platform
ckendrick 3d2f466
Set the hip_clang_include_path needed for spack installs
ckendrick 119cbb2
Update hip build for amd platform
ckendrick b9002c6
Add hcc platform def for backwards compatability
ckendrick d08af1e
Add temporary workaround for kronmult hip interface
ckendrick 3dc539d
Temporarily suppress clang compiler warnings
ckendrick ef16b56
Fix shared flags for hip platform, amd gpu target archs
ckendrick a745fbe
Move kronmult source properties before add_lib
ckendrick e591cd9
Add check for empty matrix to avoid hipmemcpy2d error
ckendrick 770a040
Fix hardcoded amd clang version and update target flags
ckendrick c318c89
Modify include dirs to hide deprecated cuda messages
ckendrick cf7c04a
Update device test tol for batch tests
ckendrick d5f34ca
Fix clang formatting issues
ckendrick 8c69e57
Re-enable kronmult for amd platforms
ckendrick 49f45dc
Rename hip platform from hcc to amd
ckendrick 8cd9e45
Adjust lib dispatch device test tol for amd
ckendrick 2de03a3
Clean up cmake, add hipblas version check for amd
ckendrick c5ed1fd
Pass gpu arch to kronmult, set amd flags only on amd
ckendrick c79997b
Change kronmult fetch content to after configuration
ckendrick 91b0626
Fix kron linking on nvidia
ckendrick acf6305
Consolidate gpu arch flags and reorder hip flags
ckendrick 37ebc25
Add new register project arg when building openblas
ckendrick 8909eab
Decrease batched gemv test tol for amd gpu
ckendrick ef3c11b
Change CMake HIP linking
ckendrick File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#pragma once | ||
#ifdef ASGARD_USE_CUDA | ||
#ifdef ASGARD_USE_HIP | ||
#define USE_GPU | ||
#endif | ||
#include "distribution.hpp" | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😮