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

unncessary task_local_storage entries in kernel execution. #28

Closed
arhik opened this issue Mar 28, 2024 · 2 comments · Fixed by #29
Closed

unncessary task_local_storage entries in kernel execution. #28

arhik opened this issue Mar 28, 2024 · 2 comments · Fixed by #29
Assignees

Comments

@arhik
Copy link
Member

arhik commented Mar 28, 2024

task_local_storage((nameof(f), :bindings, eltype.(args), getSize.(args)), bindings)
task_local_storage((nameof(f), :bindinglayouts, eltype.(args), getSize.(args)), bindingLayouts)
task_local_storage((nameof(f), :layout, eltype.(args), getSize.(args)), pipelineLayout)
task_local_storage((nameof(f), :pipeline, eltype.(args), getSize.(args)), computePipeline)
task_local_storage((nameof(f), :bindgroup, eltype.(args), getSize.(args)), pipelineLayout.bindGroup)
task_local_storage((nameof(f), :computestage, eltype.(args), getSize.(args)), computeStage)

These will also slowdown kernel execution.

@arhik
Copy link
Member Author

arhik commented Mar 28, 2024

related to #27

@arhik
Copy link
Member Author

arhik commented Mar 29, 2024

Screenshot 2024-03-28 at 2 00 23 PM

There is a three fold performance improvement by removing task local storage lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
1 participant