syclreference.com
  1. SYCL
  2. | API Reference
  3. | Error handling
  4. | exception
  5. | get_context

get_context

Returns the SYCL context that is associated with this SYCL exception


cl::sycl::context get_context() const
(1)
  1. Returns the SYCL context that is associated with this SYCL exception
    Returns: Context that is associated with this exception

syclreference.com — SYCL Reference Pages

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