2020-01-20 22:16:33 +00:00
|
|
|
#ifndef __TRACYSORT_HPP__
|
|
|
|
#define __TRACYSORT_HPP__
|
|
|
|
|
2021-04-15 17:55:50 +00:00
|
|
|
#ifndef NO_PARALLEL_SORT
|
2022-08-08 16:41:06 +00:00
|
|
|
# if !defined __APPLE__ && !defined __EMSCRIPTEN__ && ( ( defined _MSC_VER && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L )
|
2021-04-15 17:55:50 +00:00
|
|
|
# if __has_include(<execution>)
|
|
|
|
# include <algorithm>
|
|
|
|
# include <execution>
|
|
|
|
# else
|
|
|
|
# define NO_PARALLEL_SORT
|
|
|
|
# endif
|
2020-01-20 22:16:33 +00:00
|
|
|
# else
|
|
|
|
# define NO_PARALLEL_SORT
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2020-04-02 00:00:21 +00:00
|
|
|
#include "tracy_pdqsort.h"
|
2020-01-20 22:16:33 +00:00
|
|
|
|
|
|
|
#endif
|