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 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 14*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Avx_Blocked, 1, "/cpu/self/avx/blocked") 15*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Avx_Serial, 1, "/cpu/self/avx/serial") 16*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Cuda, 1, "/gpu/cuda/ref") 17*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Cuda_Gen, 1, "/gpu/cuda/gen") 18*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Cuda_Shared, 1, "/gpu/cuda/shared") 19*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Hip, 1, "/gpu/hip/ref") 20*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Hip_Gen, 1, "/gpu/hip/gen") 21*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Hip_Shared, 1, "/gpu/hip/shared") 22*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Magma, 2, "/gpu/cuda/magma", "/gpu/hip/magma") 23*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Magma_Det, 2, "/gpu/cuda/magma/det", "/gpu/hip/magma/det") 24*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Memcheck_Blocked, 1, "/cpu/self/memcheck/blocked") 25*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Memcheck_Serial, 1, "/cpu/self/memcheck/serial") 26*49aac155SJeremy 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") 27*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Opt_Blocked, 1, "/cpu/self/opt/blocked") 28*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Opt_Serial, 1, "/cpu/self/opt/serial") 29*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Ref, 1, "/cpu/self/ref/serial") 30*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Ref_Blocked, 1, "/cpu/self/ref/blocked") 31*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Xsmm_Blocked, 1, "/cpu/self/xsmm/blocked") 32*49aac155SJeremy L Thompson CEED_BACKEND(CeedRegister_Xsmm_Serial, 1, "/cpu/self/xsmm/serial") 33