Open3D (C++ API)  0.18.0+252c867
LinalgHeadersCPU.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - Open3D: www.open3d.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2023 www.open3d.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 // Open3D.h.
13 
14 #pragma once
15 
16 #ifdef USE_BLAS
17 #define OPEN3D_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 OPEN3D_CPU_LINALG_INT MKL_INT
24 #endif