• Advertisement
Sign in to follow this  

Metal - not understanding thread dispatch

This topic is 926 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, the workings of dispatchThreadGroups is not clicking for me. I have a tasks that I'd like to add two arrays (each of size 8) together. If I set 4 threads for 2 thread groups, only half of my array is executed. The same if set 8 threads for 1 thread group. I don't understand why I need 2 thread groups of 8 threads each to get all results written. That should result in a segment fault, no?







Edited by knu_revo

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement