Skip to content
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

Meaning of DMM_MEMORY_TILE_SIZE #33

Open
CPA872 opened this issue Dec 13, 2023 · 1 comment
Open

Meaning of DMM_MEMORY_TILE_SIZE #33

CPA872 opened this issue Dec 13, 2023 · 1 comment

Comments

@CPA872
Copy link

CPA872 commented Dec 13, 2023

Hi, I was wondering what is the meaning of DMM_MEMORY_TILE_SIZE_N and DMM_MEMORY_TILE_SIZE_M parameters.

Additionally, how will these parameters affect the performance? For example, in the given default parameters, -DMM_PARALLELISM_N=32 -DMM_PARALLELISM_M=8 -DMM_MEMORY_TILE_SIZE_N=512 -DMM_MEMORY_TILE_SIZE_M=512, Does reducing MEMORY_TILE_SIZES to 256 affect performance? If so, in what way?

Thanks in advance.

@definelicht
Copy link
Contributor

Hi there, there's an in-depth description of the parameters in the paper. The memory tile sizes indirectly affect the performance in at least two ways:

  • If there are too few tiles, the double buffering strategy will not be able to feed enough new data for the next tile before the previous tile has been computed.
  • A smaller memory tile will require more memory bandwidth, so eventually this can become a memory bottleneck.

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

No branches or pull requests

2 participants