Skip to content

add cache size configuration examples to README#324

Open
Life-enjoyer7 wants to merge 1 commit intovortexgpgpu:masterfrom
Life-enjoyer7:chur_work
Open

add cache size configuration examples to README#324
Life-enjoyer7 wants to merge 1 commit intovortexgpgpu:masterfrom
Life-enjoyer7:chur_work

Conversation

@Life-enjoyer7
Copy link

Hello. This pull request adds documentation for configuring cache sizes in Vortex.

Currently, the README explains how to enable L2 and L3 caches using the '--l2cache' and '--l3cache' flags, but it does not describe how to actually set the cache sizes.

This PR introduces a new section "Configuring Cache Sizes" under the "How to Test (using 'blackbox.sh')" chapter. It includes:

  • A table with the relevant parameters: DCACHE_SIZE, ICACHE_SIZE, L2_CACHE_SIZE, L3_CACHE_SIZE
  • Their default values (in bytes)
  • Example CONFIGS flags for overriding them at build time
  • A complete example of running the BFS benchmark with custom cache sizes

The documentation clarifies that all sizes must be specified in bytes.

This change improves usability for users who want to experiment with different cache configurations or optimize Vortex for specific workloads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant