-
Notifications
You must be signed in to change notification settings - Fork 3
Cache align base addresses and fix address offsets #27
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
base: master
Are you sure you want to change the base?
Changes from 1 commit
0c669f8
e295e47
de5d39d
1f0c1fb
333d26f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -52,6 +52,7 @@ class SpatterGenerator : public RequestGenerator { | |
| { "verbose", "Sets the verbosity of the output", "0" }, | ||
| { "args", "Sets the arguments to describe Spatter pattern(s)", "" }, | ||
| { "datawidth", "Sets the width of the memory operation", "8" }, | ||
| { "cache_line_size", "Size of the cache line the prefetcher is attached to", "64" }, | ||
|
||
| { "start_source", "Sets the start address of the source array", "0" }, | ||
| { "start_target", "Sets the start address of the target array", "0" }, | ||
| { "warmup_runs", "Sets the the number of warm-up runs", "1" } | ||
|
|
@@ -71,6 +72,8 @@ class SpatterGenerator : public RequestGenerator { | |
| void tokenizeArgs(const std::string &args, const int32_t &argc, char ***argv); | ||
| bool initConfigs(const std::string& args); | ||
|
|
||
| uint64_t alignAddress(const uint64_t cacheLineSize, const uint64_t address); | ||
|
|
||
| size_t getPatternSize(const Spatter::ConfigurationBase *config); | ||
| void updateIndices(); | ||
|
|
||
|
|
@@ -84,8 +87,9 @@ class SpatterGenerator : public RequestGenerator { | |
| uint64_t sourceAddr; | ||
| uint64_t targetAddr; | ||
| uint32_t datawidth; | ||
| uint32_t startSource; | ||
| uint32_t startTarget; | ||
| uint64_t cacheLine; | ||
| uint64_t startSource; | ||
| uint64_t startTarget; | ||
| uint32_t maxWarmupRuns; | ||
| uint32_t remainingWarmupRuns; | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.