GDAL
gdal_matrix_avx2_fma.h
1/******************************************************************************
2 * Project: GDAL Core
3 * Purpose: Utility functions for matrix multiplication
4 * Author: Even Rouault, <even dot rouault at spatialys.com>
5 *
6 ******************************************************************************
7 * Copyright (c) 2025, Even Rouault <even dot rouault at spatialys.com>
8 *
9 * SPDX-License-Identifier: MIT
10 ****************************************************************************/
11
12#ifndef GDAL_MATRIX_AVX2_FMA_HPP
13#define GDAL_MATRIX_AVX2_FMA_HPP
14
15#include "cpl_port.h"
16
17void GDALMatrixMultiplyAByTransposeAUpperTriangle_AVX2_FMA(
18 int nNumThreads,
19 const double *A, // rows * cols
20 double *res, // rows * rows
21 int rows, size_t cols);
22
23#endif
Core portability definitions for CPL.