DPC++ Runtime
Runtime libraries for oneAPI DPC++
force_device.hpp
Go to the documentation of this file.
1
//==---------- force_device.hpp - Forcing SYCL device ----------------------==//
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/defines.hpp
>
12
#include <
CL/sycl/info/info_desc.hpp
>
13
14
__SYCL_INLINE_NAMESPACE
(
cl
) {
15
namespace
sycl
{
16
namespace
detail {
17
18
bool
match_types
(
const
info::device_type
&l,
const
info::device_type
&r);
19
20
info::device_type
get_forced_type
();
21
22
}
// namespace detail
23
}
// namespace sycl
24
}
// __SYCL_INLINE_NAMESPACE(cl)
cl::sycl::info::device_type
device_type
Definition:
info_desc.hpp:180
sycl
Definition:
invoke_simd.hpp:68
cl::sycl::detail::get_forced_type
info::device_type get_forced_type()
Definition:
force_device.cpp:24
defines.hpp
cl
We provide new interfaces for matrix muliply in this patch:
Definition:
access.hpp:13
info_desc.hpp
cl::sycl::detail::match_types
bool match_types(const info::device_type &l, const info::device_type &r)
Definition:
force_device.cpp:20
__SYCL_INLINE_NAMESPACE
#define __SYCL_INLINE_NAMESPACE(X)
Definition:
defines_elementary.hpp:12
source
detail
force_device.hpp
Generated by
1.8.17