Namespaces

Namespaces#

All SYCL classes, constants, types and functions are available in the sycl:: namespace, unless the CL/sycl.hpp header is used in which case they are all available in the cl::sycl:: namespace.

All SYCL backend-specific functionality is made available in the namespace sycl::<backend_name> where <backend_name> is the name of the SYCL backend as defined in the SYCL backend specification.

See also

SYCL Specification Section 4.3