xref: /libCEED/rust/libceed-sys/c-src/backends/ceed-backend-list.h (revision 9ba83ac0e4b1fca39d6fa6737a318a9f0cbc172d)
1*9ba83ac0SJeremy L Thompson // Copyright (c) 2017-2026, 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 
10ea61e9acSJeremy L Thompson // List each backend registration function once here.
11ea61e9acSJeremy 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
12ea61e9acSJeremy L Thompson // backends that are not configured.
131d013790SJed Brown 
1449aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Avx_Blocked, 1, "/cpu/self/avx/blocked")
1549aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Avx_Serial, 1, "/cpu/self/avx/serial")
1649aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Cuda, 1, "/gpu/cuda/ref")
1749aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Cuda_Gen, 1, "/gpu/cuda/gen")
1849aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Cuda_Shared, 1, "/gpu/cuda/shared")
1949aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Hip, 1, "/gpu/hip/ref")
2049aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Hip_Gen, 1, "/gpu/hip/gen")
2149aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Hip_Shared, 1, "/gpu/hip/shared")
22bd882c8aSJames Wright CEED_BACKEND(CeedRegister_Sycl, 1, "/gpu/sycl/ref")
23bd882c8aSJames Wright CEED_BACKEND(CeedRegister_Sycl_Shared, 1, "/gpu/sycl/shared")
246ca0f394SUmesh Unnikrishnan CEED_BACKEND(CeedRegister_Sycl_Gen, 1, "/gpu/sycl/gen")
2549aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Magma, 2, "/gpu/cuda/magma", "/gpu/hip/magma")
2649aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Magma_Det, 2, "/gpu/cuda/magma/det", "/gpu/hip/magma/det")
2749aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Memcheck_Blocked, 1, "/cpu/self/memcheck/blocked")
2849aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Memcheck_Serial, 1, "/cpu/self/memcheck/serial")
2949aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Occa, 6, "/cpu/self/occa", "/cpu/openmp/occa", "/gpu/dpcpp/occa", "/gpu/opencl/occa", "/gpu/hip/occa", "/gpu/cuda/occa")
3049aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Opt_Blocked, 1, "/cpu/self/opt/blocked")
3149aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Opt_Serial, 1, "/cpu/self/opt/serial")
3249aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Ref, 1, "/cpu/self/ref/serial")
3349aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Ref_Blocked, 1, "/cpu/self/ref/blocked")
3449aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Xsmm_Blocked, 1, "/cpu/self/xsmm/blocked")
3549aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Xsmm_Serial, 1, "/cpu/self/xsmm/serial")
36