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. This will be expanded 11 // inside CeedRegisterAll() to call each registration function in the order 12 // listed, and also to define weak symbol aliases for backends that are not 13 // configured. 14 15 MACRO(CeedRegister_Avx_Blocked, 1, "/cpu/self/avx/blocked") 16 MACRO(CeedRegister_Avx_Serial, 1, "/cpu/self/avx/serial") 17 MACRO(CeedRegister_Cuda, 1, "/gpu/cuda/ref") 18 MACRO(CeedRegister_Cuda_Gen, 1, "/gpu/cuda/gen") 19 MACRO(CeedRegister_Cuda_Shared, 1, "/gpu/cuda/shared") 20 MACRO(CeedRegister_Hip, 1, "/gpu/hip/ref") 21 MACRO(CeedRegister_Hip_Gen, 1, "/gpu/hip/gen") 22 MACRO(CeedRegister_Hip_Shared, 1, "/gpu/hip/shared") 23 MACRO(CeedRegister_Magma, 2, "/gpu/cuda/magma", "/gpu/hip/magma") 24 MACRO(CeedRegister_Magma_Det, 2, "/gpu/cuda/magma/det", "/gpu/hip/magma/det") 25 MACRO(CeedRegister_Memcheck_Blocked, 1, "/cpu/self/memcheck/blocked") 26 MACRO(CeedRegister_Memcheck_Serial, 1, "/cpu/self/memcheck/serial") 27 MACRO(CeedRegister_Occa, 4, "/cpu/self/occa", "/cpu/openmp/occa", "/gpu/hip/occa", "/gpu/cuda/occa") 28 MACRO(CeedRegister_Opt_Blocked, 1, "/cpu/self/opt/blocked") 29 MACRO(CeedRegister_Opt_Serial, 1, "/cpu/self/opt/serial") 30 MACRO(CeedRegister_Ref, 1, "/cpu/self/ref/serial") 31 MACRO(CeedRegister_Ref_Blocked, 1, "/cpu/self/ref/blocked") 32 MACRO(CeedRegister_Xsmm_Blocked, 1, "/cpu/self/xsmm/blocked") 33 MACRO(CeedRegister_Xsmm_Serial, 1, "/cpu/self/xsmm/serial") 34