DPC++ Runtime
Runtime libraries for oneAPI Data Parallel C++
aspects.hpp
Go to the documentation of this file.
1 //==--------------- aspects.hpp - SYCL Aspect Enums ------------*- 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 #pragma once
9 
11 
13 namespace sycl {
14 
15 enum class aspect {
16  host = 0,
17  cpu = 1,
18  gpu = 2,
19  accelerator = 3,
20  custom = 4,
21  fp16 = 5,
22  fp64 = 6,
23  int64_base_atomics __SYCL2020_DEPRECATED("use atomic64 instead") = 7,
24  int64_extended_atomics __SYCL2020_DEPRECATED("use atomic64 instead") = 8,
25  image = 9,
26  online_compiler = 10,
27  online_linker = 11,
28  queue_profiling = 12,
34  usm_system_allocator __SYCL2020_DEPRECATED(
35  "use usm_system_allocations instead") = usm_system_allocations,
46  atomic64 = 28,
48  ext_oneapi_srgb = 30,
50  host_debuggable = 32,
51 };
52 
53 } // namespace sycl
54 } // __SYCL_INLINE_NAMESPACE(cl)
cl::sycl::aspect::usm_system_allocations
@ usm_system_allocations
cl::sycl::aspect::gpu
@ gpu
cl::sycl::aspect::ext_intel_gpu_eu_count
@ ext_intel_gpu_eu_count
cl::sycl::aspect::usm_restricted_shared_allocations
@ usm_restricted_shared_allocations
__SYCL2020_DEPRECATED
#define __SYCL2020_DEPRECATED(message)
Definition: defines_elementary.hpp:56
cl::sycl::aspect::ext_intel_device_info_uuid
@ ext_intel_device_info_uuid
cl::sycl::aspect::ext_intel_gpu_subslices_per_slice
@ ext_intel_gpu_subslices_per_slice
cl::sycl::aspect::cpu
@ cpu
cl::sycl::aspect::ext_oneapi_native_assert
@ ext_oneapi_native_assert
cl::sycl::aspect::usm_device_allocations
@ usm_device_allocations
cl::sycl::aspect::ext_intel_mem_channel
@ ext_intel_mem_channel
cl::sycl::aspect::fp64
@ fp64
cl::sycl::aspect::usm_shared_allocations
@ usm_shared_allocations
defines.hpp
cl::sycl::aspect::online_compiler
@ online_compiler
cl
We provide new interfaces for matrix muliply in this patch:
Definition: access.hpp:13
cl::sycl::aspect::usm_atomic_shared_allocations
@ usm_atomic_shared_allocations
cl::sycl::aspect::ext_intel_gpu_eu_simd_width
@ ext_intel_gpu_eu_simd_width
cl::sycl::aspect
aspect
Definition: aspects.hpp:15
cl::sycl::aspect::host_debuggable
@ host_debuggable
cl::sycl::aspect::custom
@ custom
cl::sycl::aspect::fp16
@ fp16
cl::sycl::image
Defines a shared image data.
Definition: image_impl.hpp:29
cl::sycl::aspect::online_linker
@ online_linker
cl::sycl::aspect::ext_intel_pci_address
@ ext_intel_pci_address
cl::sycl::aspect::usm_atomic_host_allocations
@ usm_atomic_host_allocations
cl::sycl::aspect::queue_profiling
@ queue_profiling
cl::sycl::aspect::accelerator
@ accelerator
cl::sycl::aspect::usm_host_allocations
@ usm_host_allocations
cl::sycl::aspect::ext_intel_max_mem_bandwidth
@ ext_intel_max_mem_bandwidth
cl::sycl::aspect::ext_oneapi_srgb
@ ext_oneapi_srgb
cl::sycl::aspect::ext_intel_gpu_eu_count_per_subslice
@ ext_intel_gpu_eu_count_per_subslice
cl::sycl::aspect::ext_intel_gpu_slices
@ ext_intel_gpu_slices
cl::sycl::aspect::host
@ host
cl::sycl::aspect::atomic64
@ atomic64
__SYCL_INLINE_NAMESPACE
#define __SYCL_INLINE_NAMESPACE(X)
Definition: defines_elementary.hpp:12