xref: /libCEED/rust/libceed-sys/c-src/backends/ceed-backend-list.h (revision 78a97f55f6a0b493f351ed551b9ecfb9c33a05ae)
1 // Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
3 //
4 // SPDX-License-Identifier: BSD-2-Clause
5 //
6 // This file is part of CEED:  http://github.com/ceed
7 
8 // This header does not have guards because it is included multiple times.
9 
10 // List each backend registration function once here.
11 // This will be expanded inside CeedRegisterAll() to call each registration function in the order listed, and also to define weak symbol aliases for
12 // backends that are not configured.
13 
14 MACRO(CeedRegister_Avx_Blocked, 1, "/cpu/self/avx/blocked")
15 MACRO(CeedRegister_Avx_Serial, 1, "/cpu/self/avx/serial")
16 MACRO(CeedRegister_Cuda, 1, "/gpu/cuda/ref")
17 MACRO(CeedRegister_Cuda_Gen, 1, "/gpu/cuda/gen")
18 MACRO(CeedRegister_Cuda_Shared, 1, "/gpu/cuda/shared")
19 MACRO(CeedRegister_Hip, 1, "/gpu/hip/ref")
20 MACRO(CeedRegister_Hip_Gen, 1, "/gpu/hip/gen")
21 MACRO(CeedRegister_Hip_Shared, 1, "/gpu/hip/shared")
22 MACRO(CeedRegister_Magma, 2, "/gpu/cuda/magma", "/gpu/hip/magma")
23 MACRO(CeedRegister_Magma_Det, 2, "/gpu/cuda/magma/det", "/gpu/hip/magma/det")
24 MACRO(CeedRegister_Memcheck_Blocked, 1, "/cpu/self/memcheck/blocked")
25 MACRO(CeedRegister_Memcheck_Serial, 1, "/cpu/self/memcheck/serial")
26 MACRO(CeedRegister_Occa, 6, "/cpu/self/occa", "/cpu/openmp/occa", "/gpu/dpcpp/occa", "/gpu/opencl/occa", "/gpu/hip/occa", "/gpu/cuda/occa")
27 MACRO(CeedRegister_Opt_Blocked, 1, "/cpu/self/opt/blocked")
28 MACRO(CeedRegister_Opt_Serial, 1, "/cpu/self/opt/serial")
29 MACRO(CeedRegister_Ref, 1, "/cpu/self/ref/serial")
30 MACRO(CeedRegister_Ref_Blocked, 1, "/cpu/self/ref/blocked")
31 MACRO(CeedRegister_Xsmm_Blocked, 1, "/cpu/self/xsmm/blocked")
32 MACRO(CeedRegister_Xsmm_Serial, 1, "/cpu/self/xsmm/serial")
33