Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TracySort.hpp « server - github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fce0c0a7a3ee0e9815cc0edf6cb48004b2048136 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __TRACYSORT_HPP__
#define __TRACYSORT_HPP__

#ifndef NO_PARALLEL_SORT
#  if !defined __APPLE__ && !defined __EMSCRIPTEN__ && ( ( defined _MSC_VER && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L )
#    if __has_include(<execution>)
#      include <algorithm>
#      include <execution>
#    else
#      define NO_PARALLEL_SORT
#    endif
#  else
#    define NO_PARALLEL_SORT
#  endif
#endif

#include "tracy_pdqsort.h"

#endif