-
Notifications
You must be signed in to change notification settings - Fork 6
Add fallback async IO support. #163
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
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
8c12c10
Wrap HIP functions needed for async.
jordan-turbofish 78b34d1
test: Defer unlinking of file in Tmpfile to destruction time when pla…
jordan-turbofish aa15793
Add submission_size to AsyncOpFallback.
jordan-turbofish 761fcb3
hipFile: Add lock to stream.
jordan-turbofish 3507106
hipFile: Put paramsValid check in io.h.
jordan-turbofish b377eb5
hipFile: Add device_id to Stream.
jordan-turbofish f77f49c
hipFile: Add async memcpy kernel.
jordan-turbofish 1b49f0a
hipFile: Add fallback async operation.
jordan-turbofish 95d7272
hipFile: Add user-defined literals for sizes.
jordan-turbofish bbeb326
Add mock for AsyncMonitor.
jordan-turbofish f89b97b
hipFile: Adding async unit tests.
jordan-turbofish 0252f3a
hipFile: Adding async system tests.
jordan-turbofish 90b878b
Build GPU targets listed in ROCm compatibility matrix for 7.1.1
jordan-turbofish 3a3dd82
fixup! hipFile: Add device_id to Stream.
jordan-turbofish f21c275
fixup! hipFile: Put paramsValid check in io.h.
jordan-turbofish 2922514
fixup! hipFile: Add async memcpy kernel.
jordan-turbofish a5bbbf8
fixup! hipFile: Add fallback async operation.
jordan-turbofish 180b0f4
fixup! hipFile: Adding async unit tests.
jordan-turbofish e701954
review: Limit IO to MAX_RW_COUNT.
jordan-turbofish a880bd9
Add EINTR unit test.
jordan-turbofish a7d13ce
fixup! hipFile: Adding async unit tests.
jordan-turbofish c3bfa83
Fix isGpuMemory check on NVIDIA.
jordan-turbofish f29f3f3
review: Add comments to async parameter tests and show cuFile error r…
jordan-turbofish a1576e5
Fix backend.h header include.
jordan-turbofish d2a2e06
Fix accidental bracket in error message.
jordan-turbofish b50d9b3
Remove unused variable.
jordan-turbofish feaec97
Fix bytes transferred type in unit tests.
jordan-turbofish 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
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| /* Copyright (c) Advanced Micro Devices, Inc. All rights reserved. | ||
| * | ||
| * SPDX-License-Identifier: MIT | ||
| */ | ||
|
|
||
| #pragma once | ||
|
|
||
| #include <cstddef> | ||
|
jordan-turbofish marked this conversation as resolved.
|
||
|
|
||
| constexpr size_t | ||
| operator""_KiB(unsigned long long int x) | ||
| { | ||
| return 1024ULL * x; | ||
| } | ||
|
|
||
| constexpr size_t | ||
| operator""_MiB(unsigned long long int x) | ||
| { | ||
| return 1024_KiB * x; | ||
| } | ||
|
|
||
| constexpr size_t | ||
| operator""_GiB(unsigned long long int x) | ||
| { | ||
| return 1024_MiB * x; | ||
| } | ||
|
|
||
| constexpr size_t | ||
| operator""_TiB(unsigned long long int x) | ||
| { | ||
| return 1024_GiB * x; | ||
| } | ||
|
|
||
| constexpr size_t | ||
| operator""_PiB(unsigned long long int x) | ||
| { | ||
| return 1024_TiB * x; | ||
| } | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.