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 #ifndef CEED_MAGMA_GEMM_SELECTOR_H 9 #define CEED_MAGMA_GEMM_SELECTOR_H 10 11 #include "ceed-magma.h" 12 13 //////////////////////////////////////////////////////////////////////////////// 14 CEED_INTERN void gemm_selector(int gpu_arch, char precision, char trans_A, int m, int n, int k, int *n_batch, int *use_magma); 15 16 //////////////////////////////////////////////////////////////////////////////// 17 CEED_INTERN CeedInt nontensor_rtc_get_nb(int gpu_arch, char trans_A, int q_comp, int P, int Q, int n); 18 19 #endif // CEED_MAGMA_GEMM_SELECTOR_H 20