You seem to be worried that writing to part of a structure somehow "dirties" the rest so it's no longer thread-safe. That's not how it works, a structure is really just some data laid out contiguously ...
Parallelism helps applications make the best use of processors on single or multiple devices. However, parallelism implementation itself can prove a challenging task. In this video, Mike Voss, ...