-
Notifications
You must be signed in to change notification settings - Fork 6
Testing: Dynamic enablement/disablement of backends #225
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
21 commits
Select commit
Hold shift + click to select a range
a1df42c
static: Introduce STATIC
kurtmcmillan 8201ca7
configuration: Allow MConfiguration to replace Configuration in Conte…
kurtmcmillan 84f9427
configuration: Allow fastpath enablement to be overridden
kurtmcmillan 4f0fe42
configuration: Allow fallback enablement to be overridden
kurtmcmillan 2163b52
backend/fastpath: Check fastpath enablement when scoring IO
kurtmcmillan 0c0023e
backend/fastpath: Check fastpath enablement when performing IO
kurtmcmillan 1fdd6cd
backend/fallback: Test cleanup - Rework fallback scoring tests
kurtmcmillan ae9c4fc
backend/fallback: Test cleanup - Test names should use camel case
kurtmcmillan d9018da
backend/fallback: Test cleanup - Test names should use camel case
kurtmcmillan b2befbf
backend/fallback: Test cleanup - Move msys, mhip, mlibmounthelper int…
kurtmcmillan eb17eb7
backend/fallback: Test cleanup - Move nonnull_ptr into FallbackIo
kurtmcmillan c8d3b65
backend/fallback: Test cleanup - Move mhip, msys, mlibmounthelper int…
kurtmcmillan 75a56c4
backend/fallback: Test cleanup - Use uniform initialization
kurtmcmillan be68275
backend/fallback: Check fallback enablement when scoring IO
kurtmcmillan cf2acf0
backend/fallback: Check fallback enablement when performing IO
kurtmcmillan b247f5e
test/system: Test cleanup - Give parameterized tests better names
kurtmcmillan 997e283
test/system: Use backend override functions to enable the desired bac…
kurtmcmillan a578867
state: Always instantiate all backends
kurtmcmillan 2bc8468
test/system: Move io.cpp to amd/io.cpp
kurtmcmillan a6053d1
review: Rename STATIC -> HIPFILE_STATIC
kurtmcmillan a45a49e
review: Fix typos
kurtmcmillan 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| /* Copyright (c) Advanced Micro Devices, Inc. All rights reserved. | ||
| * | ||
| * SPDX-License-Identifier: MIT | ||
| */ | ||
|
|
||
| #pragma once | ||
|
|
||
| // When testing it is sometimes inconvenient if a variable is statically initialized. | ||
| // Declaring a variable as STATIC will result in the variable being static only | ||
| // when tests are not being built. | ||
| #ifdef AIS_TESTING | ||
| #define HIPFILE_STATIC | ||
| #else | ||
| #define HIPFILE_STATIC static | ||
| #endif |
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.