syclreference.com
  1. SYCL
  2. | API Reference
  3. | Buffers
  4. | context_bound
  5. | get_context

get_context

Retrieves the context provided on construction


cl::sycl::context get_context() const
(1)
  1. Retrieves the context provided on construction
    Returns: The context bound to the buffer

syclreference.com — SYCL Reference Pages

Last updated: 2019-01-24 00:24:52 +0000