ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
LinalgHeadersCPU.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 // This file contains headers for BLAS/LAPACK implementations. Currently we
9 // support int64_t interface of OpenBLAS or Intel MKL.
10 //
11 // For developers, please make sure that this file is not ultimately included in
12 // CloudViewer.h.
13 
14 #pragma once
15 
16 #ifdef USE_BLAS
17 #define CLOUDVIEWER_CPU_LINALG_INT int32_t
18 #define lapack_int int32_t
19 #include <cblas.h>
20 #include <lapacke.h>
21 #else
22 #include <mkl.h>
23 #define CLOUDVIEWER_CPU_LINALG_INT MKL_INT
24 #endif