Ginkgo Generated from branch based on main. Ginkgo version 1.9.0
A numerical linear algebra library targeting many-core architectures
 
Loading...
Searching...
No Matches
fwd_decls.hpp
1// SPDX-FileCopyrightText: 2017 - 2024 The Ginkgo authors
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
5#ifndef GKO_PUBLIC_CORE_BASE_FWD_DECLS_HPP_
6#define GKO_PUBLIC_CORE_BASE_FWD_DECLS_HPP_
7
8
9#include <ginkgo/config.hpp>
10
11
12struct cublasContext;
13
14struct cusparseContext;
15
16struct CUstream_st;
17
18struct CUevent_st;
19
20struct hipblasContext;
21
22struct hipsparseContext;
23
24#if GINKGO_HIP_PLATFORM_HCC
25struct ihipStream_t;
26struct ihipEvent_t;
27#define GKO_HIP_STREAM_STRUCT ihipStream_t
28#define GKO_HIP_EVENT_STRUCT ihipEvent_t
29#else
30#define GKO_HIP_STREAM_STRUCT CUstream_st
31#define GKO_HIP_EVENT_STRUCT CUevent_st
32#endif
33
34
35namespace sycl {
36inline namespace _V1 {
37
38
39class queue;
40class event;
41
42
43} // namespace _V1
44} // namespace sycl
45
46
47#endif // GKO_PUBLIC_CORE_BASE_FWD_DECLS_HPP_