xref: /libCEED/rust/libceed-sys/c-src/backends/ceed-backend-list.h (revision ea61e9ac44808524e4667c1525a05976f536c19c)
13d8e8822SJeremy L Thompson // Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors.
23d8e8822SJeremy L Thompson // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
33d8e8822SJeremy L Thompson //
43d8e8822SJeremy L Thompson // SPDX-License-Identifier: BSD-2-Clause
53d8e8822SJeremy L Thompson //
63d8e8822SJeremy L Thompson // This file is part of CEED:  http://github.com/ceed
73d8e8822SJeremy L Thompson 
81d013790SJed Brown // This header does not have guards because it is included multiple times.
91d013790SJed Brown 
10*ea61e9acSJeremy L Thompson // List each backend registration function once here.
11*ea61e9acSJeremy L Thompson // This will be expanded inside CeedRegisterAll() to call each registration function in the order listed, and also to define weak symbol aliases for
12*ea61e9acSJeremy L Thompson // backends that are not configured.
131d013790SJed Brown 
1471415c51Sjeremylt MACRO(CeedRegister_Avx_Blocked, 1, "/cpu/self/avx/blocked")
1571415c51Sjeremylt MACRO(CeedRegister_Avx_Serial, 1, "/cpu/self/avx/serial")
1671415c51Sjeremylt MACRO(CeedRegister_Cuda, 1, "/gpu/cuda/ref")
1771415c51Sjeremylt MACRO(CeedRegister_Cuda_Gen, 1, "/gpu/cuda/gen")
1871415c51Sjeremylt MACRO(CeedRegister_Cuda_Shared, 1, "/gpu/cuda/shared")
1971415c51Sjeremylt MACRO(CeedRegister_Hip, 1, "/gpu/hip/ref")
2071415c51Sjeremylt MACRO(CeedRegister_Hip_Gen, 1, "/gpu/hip/gen")
2171415c51Sjeremylt MACRO(CeedRegister_Hip_Shared, 1, "/gpu/hip/shared")
2271415c51Sjeremylt MACRO(CeedRegister_Magma, 2, "/gpu/cuda/magma", "/gpu/hip/magma")
2371415c51Sjeremylt MACRO(CeedRegister_Magma_Det, 2, "/gpu/cuda/magma/det", "/gpu/hip/magma/det")
2471415c51Sjeremylt MACRO(CeedRegister_Memcheck_Blocked, 1, "/cpu/self/memcheck/blocked")
2571415c51Sjeremylt MACRO(CeedRegister_Memcheck_Serial, 1, "/cpu/self/memcheck/serial")
260be03a92SJeremy L Thompson MACRO(CeedRegister_Occa, 6, "/cpu/self/occa", "/cpu/openmp/occa", "/gpu/dpcpp/occa", "/gpu/opencl/occa", "/gpu/hip/occa", "/gpu/cuda/occa")
2771415c51Sjeremylt MACRO(CeedRegister_Opt_Blocked, 1, "/cpu/self/opt/blocked")
2871415c51Sjeremylt MACRO(CeedRegister_Opt_Serial, 1, "/cpu/self/opt/serial")
2971415c51Sjeremylt MACRO(CeedRegister_Ref, 1, "/cpu/self/ref/serial")
3071415c51Sjeremylt MACRO(CeedRegister_Ref_Blocked, 1, "/cpu/self/ref/blocked")
3171415c51Sjeremylt MACRO(CeedRegister_Xsmm_Blocked, 1, "/cpu/self/xsmm/blocked")
3271415c51Sjeremylt MACRO(CeedRegister_Xsmm_Serial, 1, "/cpu/self/xsmm/serial")
33