In SYCL™, Context Matters
15 September 2021
SYCL Summer Sessions 2021
Thomas Applencourt, Argonne National Laboratory
In SYCL, contexts are used for memory isolation. This is a common source of error, mainly when using SYCL2020 Unified Shared Memory. In particular, a kernel submitted to a queue (Q1 for example) can only access memory that has been allocated in the same context as the one used to create Q1.
This 30min talk will illustrate those contexts subtleties via small reproducers extracted from real-life examples and provide recommendations on how one can avoid those pitfalls.
Codeplay Software Ltd has published this article only as an opinion piece. Although every effort has been made to ensure the information contained in this post is accurate and reliable, Codeplay cannot and does not guarantee the accuracy, validity or completeness of this information. The information contained within this blog is provided "as is" without any representations or warranties, expressed or implied. Codeplay Sofware Ltd makes no representations or warranties in relation to the information in this post.