Skip to content
Snippets Groups Projects
Select Git revision
  • 315995c21c5f88ddd3b0d7711d25bd12e80696e2
  • master default protected
  • enxhi_issue460_remove_TOAR-I_access
  • michael_issue459_preprocess_german_stations
  • sh_pollutants
  • develop protected
  • release_v2.4.0
  • michael_issue450_feat_load-ifs-data
  • lukas_issue457_feat_set-config-paths-as-parameter
  • lukas_issue454_feat_use-toar-statistics-api-v2
  • lukas_issue453_refac_advanced-retry-strategy
  • lukas_issue452_bug_update-proj-version
  • lukas_issue449_refac_load-era5-data-from-toar-db
  • lukas_issue451_feat_robust-apriori-estimate-for-short-timeseries
  • lukas_issue448_feat_load-model-from-path
  • lukas_issue447_feat_store-and-load-local-clim-apriori-data
  • lukas_issue445_feat_data-insight-plot-monthly-distribution
  • lukas_issue442_feat_bias-free-evaluation
  • lukas_issue444_feat_choose-interp-method-cams
  • 414-include-crps-analysis-and-other-ens-verif-methods-or-plots
  • lukas_issue384_feat_aqw-data-handler
  • v2.4.0 protected
  • v2.3.0 protected
  • v2.2.0 protected
  • v2.1.0 protected
  • Kleinert_etal_2022_initial_submission
  • v2.0.0 protected
  • v1.5.0 protected
  • v1.4.0 protected
  • v1.3.0 protected
  • v1.2.1 protected
  • v1.2.0 protected
  • v1.1.0 protected
  • IntelliO3-ts-v1.0_R1-submit
  • v1.0.0 protected
  • v0.12.2 protected
  • v0.12.1 protected
  • v0.12.0 protected
  • v0.11.0 protected
  • v0.10.0 protected
  • IntelliO3-ts-v1.0_initial-submit
41 results

join.py

Blame
  • simd.hpp 2.39 KiB
    /*
    
       Copyright (C) 2019, Forschungszentrum Juelich
    
       Author(s): Bine Brank, b.brank@fz-juelich.de
    
       Redistribution and use in source and binary forms, with or without
       modification, are permitted provided that the following conditions are
       met:
        - Redistributions of source code must retain the above copyright
          notice, this list of conditions and the following disclaimer.
        - Redistributions in binary form must reproduce the above copyright
          notice, this list of conditions and the following disclaimer in the
          documentation and/or other materials provided with the distribution.
        - Neither the name(s) of the copyright holder(s) nor the names of its
          contributors may be used to endorse or promote products derived
          from this software without specific prior written permission.
    
       THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
       "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
       LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
       A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
       HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
       SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
       LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
       DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
       THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
       (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
       OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    
    */
    
    #ifndef SIMD_HPP
    #define SIMD_HPP
    
    
    #include <iostream>
    #include <iomanip>
    #include <cassert>
    #include <cmath>
    #include <cstring>
    #include <complex> 
    
    using namespace std;
    
    
    #if defined __ARM_FEATURE_SVE
    // sve simd operations
    #include <arm_sve.h>
    #include "backend/sve/sve_backend.hpp"
    #include "loadstore/sve/sve_load.hpp"
    #else
    // generic operations
    #include "loadstore/generic/generic_load.hpp"
    #endif
    
    #include "vector_type.hpp"
    #include "matrix_type.hpp"
    #include "utilities.hpp"
    
    #if defined __ARM_FEATURE_SVE
    // sve simd operations
    #include "arithmetics/sve/sve.hpp"
    #include "bitwise/sve/sve_bitwise.hpp"
    #else
    // generic operations
    #include "arithmetics/generic/generic.hpp"
    #include "bitwise/generic/gen_bitwise.hpp"
    #endif
    
    
    #include "vector_overloading.hpp"
    #include "matrix_overloading.hpp"
    
    #endif // SIMD_HPP