mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-23 05:14:26 +08:00
Include <thread> for std::this_thread::yield().
This commit is contained in:
parent
ab310943d6
commit
1dbc7581ec
@ -97,6 +97,11 @@
|
|||||||
// for std::is_nothrow_move_assignable
|
// for std::is_nothrow_move_assignable
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
|
// for std::this_thread::yield().
|
||||||
|
#if !defined(EIGEN_USE_BLAS) && (defined(EIGEN_HAS_OPENMP) || defined(EIGEN_GEMM_THREADPOOL))
|
||||||
|
#include <thread>
|
||||||
|
#endif
|
||||||
|
|
||||||
// for outputting debug info
|
// for outputting debug info
|
||||||
#ifdef EIGEN_DEBUG_ASSIGN
|
#ifdef EIGEN_DEBUG_ASSIGN
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
@ -117,8 +122,8 @@
|
|||||||
#include <CL/sycl.hpp>
|
#include <CL/sycl.hpp>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <utility>
|
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
#include <utility>
|
||||||
#ifndef EIGEN_SYCL_LOCAL_THREAD_DIM0
|
#ifndef EIGEN_SYCL_LOCAL_THREAD_DIM0
|
||||||
#define EIGEN_SYCL_LOCAL_THREAD_DIM0 16
|
#define EIGEN_SYCL_LOCAL_THREAD_DIM0 16
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user