Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-07 10:37:17

0001 /***************************************************************************
0002  * Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and         *
0003  * Martin Renou                                                             *
0004  * Copyright (c) QuantStack                                                 *
0005  * Copyright (c) Serge Guelton                                              *
0006  *                                                                          *
0007  * Distributed under the terms of the BSD 3-Clause License.                 *
0008  *                                                                          *
0009  * The full license is in the file LICENSE, distributed with this software. *
0010  ****************************************************************************/
0011 
0012 #ifndef XSIMD_BATCH_FWD_HPP
0013 #define XSIMD_BATCH_FWD_HPP
0014 
0015 #include "../config/xsimd_config.hpp"
0016 
0017 // TODO this is somehow redundant with XSIMD_DEFAULT_ARCH but is only supported
0018 // when an architecture is defined.
0019 #if defined(XSIMD_NO_SUPPORTED_ARCHITECTURE)
0020 #define XSIMD_BATCH_DEFAULT_ARCH_IMPL void
0021 #else
0022 #include "../config/xsimd_arch.hpp"
0023 #define XSIMD_BATCH_DEFAULT_ARCH_IMPL default_arch
0024 #endif // XSIMD_NO_SUPPORTED_ARCHITECTURE
0025 
0026 namespace xsimd
0027 {
0028     template <class T, class A = XSIMD_BATCH_DEFAULT_ARCH_IMPL>
0029     class batch_bool;
0030 
0031     template <typename T, class A, bool... Values>
0032     struct batch_bool_constant;
0033 
0034     template <class T, class A = XSIMD_BATCH_DEFAULT_ARCH_IMPL>
0035     class batch;
0036 
0037     template <typename T, class A, T... Values>
0038     struct batch_constant;
0039 }
0040 
0041 #endif