forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add config file support for constants and test control (pytorch#4337)
Summary: Pull Request resolved: pytorch#4337 Now that the tool is getting larger, a configuration file for defining which tests to run and which to skip, as well as specifying some values like thresholds and ranges, comes in handy. This diff adds support for a JSON config file with specifications for each test. Differential Revision: https://internalfb.com/D60060188
- Loading branch information
1 parent
ee5f6a5
commit 15242c1
Showing
2 changed files
with
161 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"reg_count": { | ||
"enabled": true, | ||
"threshold": 3, | ||
"compensate": 0.1 | ||
}, | ||
"buf_cacheline_size": { | ||
"enabled": true, | ||
"threshold": 10, | ||
"compensate": 0.1 | ||
}, | ||
"buffer_bandwidth": { | ||
"enabled": true, | ||
"range": 134217728, | ||
"nflush": 4, | ||
"nunroll": 16, | ||
"niter": 10 | ||
}, | ||
"ubo_bandwidth": { | ||
"enabled": true, | ||
"range": 134217728, | ||
"nflush": 4, | ||
"nunroll": 16, | ||
"niter": 10 | ||
}, | ||
"shared_mem_bandwidth": { | ||
"enabled": true, | ||
"nflush": 4, | ||
"nunroll": 16, | ||
"niter": 10 | ||
}, | ||
"warp_size": { | ||
"enabled": true, | ||
"threshold": 3, | ||
"compensate": 0.1 | ||
}, | ||
"tex_bandwidth": { | ||
"enabled": true, | ||
"nflush": 4, | ||
"nunroll": 16, | ||
"niter": 10 | ||
} | ||
} |
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