DPC++ Runtime
Runtime libraries for oneAPI DPC++
error_handling.hpp
Go to the documentation of this file.
1 //===-------- error_handling.hpp - SYCL error handling ---------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #pragma once
10 
11 #include <CL/sycl/detail/cg.hpp>
12 #include <CL/sycl/detail/pi.h>
13 #include <detail/device_impl.hpp>
14 
16 namespace sycl {
17 namespace detail {
18 
19 namespace enqueue_kernel_launch {
28 bool handleError(pi_result, const device_impl &, pi_kernel, const NDRDescT &);
29 } // namespace enqueue_kernel_launch
30 
31 } // namespace detail
32 } // namespace sycl
33 } // __SYCL_INLINE_NAMESPACE(cl)
cg.hpp
pi.h
_pi_result
_pi_result
Definition: pi.h:85
sycl
Definition: invoke_simd.hpp:68
device_impl.hpp
_pi_kernel
Implementation of a PI Kernel for CUDA.
Definition: pi_cuda.hpp:624
cl
We provide new interfaces for matrix muliply in this patch:
Definition: access.hpp:13
cl::sycl::detail::enqueue_kernel_launch::handleError
bool handleError(pi_result Error, const device_impl &DeviceImpl, pi_kernel Kernel, const NDRDescT &NDRDesc)
Analyzes error code and arguments of piEnqueueKernelLaunch to emit user-friendly exception describing...
Definition: enqueue_kernel.cpp:296
__SYCL_INLINE_NAMESPACE
#define __SYCL_INLINE_NAMESPACE(X)
Definition: defines_elementary.hpp:12