predefines.h File Reference
This file contains common internal runtime pre-processor definitions and the pre-processor definitions required by the SYCL 1.2 specification. More...
#include <cmath>#include <functional>#include <map>#include <memory>#include <mutex>#include <stdexcept>#include <string>#include <vector>Go to the source code of this file.
Namespaces | |
| cl | |
deduce_type_t takes an arbitrary type and attempts to map it to a cl::sycl::cl_type. | |
| cl::sycl | |
Macros | |
| #define | SYCL_LANGUAGE_VERSION COMPUTECPP_SYCL_VERSION_121 |
| Set the the default value of SYCL_LANGUAGE_VERSION to SYCL version 1.2.1. More... | |
| #define | COMPUTECPP_DEPRECATED_API_HELPER(reason) __attribute__((deprecated(reason))) |
| #define | COMPUTECPP_DEPRECATED_API(reason) COMPUTECPP_DEPRECATED_API_HELPER(reason) |
| Marks an interface as deprecated. More... | |
| #define | COMPUTECPP_SET_IGNORE_DEPRECATED_API |
| Used to suppress deprecation warnings. More... | |
| #define | COMPUTECPP_DEPRECATED_BY_SYCL_202001(message) |
| #define | COMPUTECPP_DEPRECATED_BY_SYCL_202002(message) |
| #define | COMPUTECPP_DEPRECATED_BY_SYCL_201703(message) |
| #define | COMPUTECPP_DEPRECATED_BY_SYCL_VER(syclVer, message) COMPUTECPP_DEPRECATED_BY_SYCL_##syclVer(message) |
| COMPUTECPP_DEPRECATED_BY_SYCL_VER(syclVer, message) More... | |
| #define | COMPUTECPP_INLINE_EXPERIMENTAL |
| #define | COMPUTECPP_PRIVATE_MEMORY_ATTR |
| #define | COMPUTECPP_PRIVATE |
Detailed Description
This file contains common internal runtime pre-processor definitions and the pre-processor definitions required by the SYCL 1.2 specification.
Definition in file predefines.h.
Macro Definition Documentation
◆ COMPUTECPP_DEPRECATED_API
| #define COMPUTECPP_DEPRECATED_API | ( | reason | ) | COMPUTECPP_DEPRECATED_API_HELPER(reason) |
Marks an interface as deprecated.
- Parameters
-
reason Information about the deprecation
Definition at line 553 of file predefines.h.
◆ COMPUTECPP_DEPRECATED_API_HELPER
| #define COMPUTECPP_DEPRECATED_API_HELPER | ( | reason | ) | __attribute__((deprecated(reason))) |
Definition at line 542 of file predefines.h.
◆ COMPUTECPP_DEPRECATED_BY_SYCL_201703
| #define COMPUTECPP_DEPRECATED_BY_SYCL_201703 | ( | message | ) |
Definition at line 602 of file predefines.h.
◆ COMPUTECPP_DEPRECATED_BY_SYCL_202001
| #define COMPUTECPP_DEPRECATED_BY_SYCL_202001 | ( | message | ) |
Definition at line 574 of file predefines.h.
◆ COMPUTECPP_DEPRECATED_BY_SYCL_202002
| #define COMPUTECPP_DEPRECATED_BY_SYCL_202002 | ( | message | ) |
Definition at line 588 of file predefines.h.
◆ COMPUTECPP_DEPRECATED_BY_SYCL_VER
| #define COMPUTECPP_DEPRECATED_BY_SYCL_VER | ( | syclVer, | |
| message | |||
| ) | COMPUTECPP_DEPRECATED_BY_SYCL_##syclVer(message) |
COMPUTECPP_DEPRECATED_BY_SYCL_VER(syclVer, message)
Macro which marks an interface as deprecated due to being deprecated or removed in the SYCL 1.2.1 specification. Redirects to either COMPUTECPP_DEPRECATED_BY_SYCL_ and the version number syclVer.
Definition at line 610 of file predefines.h.
◆ COMPUTECPP_INLINE_EXPERIMENTAL
| #define COMPUTECPP_INLINE_EXPERIMENTAL |
Definition at line 616 of file predefines.h.
◆ COMPUTECPP_PRIVATE
| #define COMPUTECPP_PRIVATE |
Definition at line 640 of file predefines.h.
◆ COMPUTECPP_PRIVATE_MEMORY_ATTR
| #define COMPUTECPP_PRIVATE_MEMORY_ATTR |
Definition at line 630 of file predefines.h.
◆ COMPUTECPP_SET_IGNORE_DEPRECATED_API
| #define COMPUTECPP_SET_IGNORE_DEPRECATED_API |
COMPUTECPP_MSVC_CXX_DIAGNOSTIC(disable : 4995) \ COMPUTECPP_GNU_CXX_DIAGNOSTIC(ignored "-Wdeprecated-declarations")
Used to suppress deprecation warnings.
Definition at line 559 of file predefines.h.
◆ SYCL_LANGUAGE_VERSION
| #define SYCL_LANGUAGE_VERSION COMPUTECPP_SYCL_VERSION_121 |
Set the the default value of SYCL_LANGUAGE_VERSION to SYCL version 1.2.1.
Definition at line 101 of file predefines.h.