File size: 1,890 Bytes
d1be154 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | #pragma once
// Feature macros for fine-tuning the performance of Taskflow at compile time
//
// Disabled features by default:
// + TF_ENABLE_TASK_POOL : enable task pool optimization
// + TF_ENABLE_ATOMIC_NOTIFIER : enable atomic notifier (required C++20)
//
#include "core/executor.hpp"
#include "core/runtime.hpp"
#include "core/async.hpp"
#include "algorithm/algorithm.hpp"
/**
@dir taskflow
@brief root taskflow include dir
*/
/**
@dir taskflow/core
@brief taskflow core include dir
*/
/**
@dir taskflow/algorithm
@brief taskflow algorithms include dir
*/
/**
@dir taskflow/cuda
@brief taskflow CUDA include dir
*/
/**
@file taskflow/taskflow.hpp
@brief main taskflow include file
*/
/**
@def TF_VERSION
@brief version of the %Taskflow (currently 3.11.0)
The version system is made of a major version number, a minor version number,
and a patch number:
+ TF_VERSION % 100 is the patch level
+ TF_VERSION / 100 % 1000 is the minor version
+ TF_VERSION / 100000 is the major version
*/
#define TF_VERSION 301000
/**
@def TF_MAJOR_VERSION
@brief major version of %Taskflow, which is equal to `TF_VERSION/100000`
*/
#define TF_MAJOR_VERSION TF_VERSION/100000
/**
@def TF_MINOR_VERSION
@brief minor version of %Taskflow, which is equal to `TF_VERSION / 100 % 1000`
*/
#define TF_MINOR_VERSION TF_VERSION/100%1000
/**
@def TF_PATCH_VERSION
@brief patch version of %Taskflow, which is equal to `TF_VERSION % 100`
*/
#define TF_PATCH_VERSION TF_VERSION%100
/**
@brief taskflow namespace
*/
namespace tf {
/**
@private
*/
namespace detail { }
/**
@brief queries the version information in a string format @c major.minor.patch
Release notes are available here: https://taskflow.github.io/taskflow/Releases.html
*/
constexpr const char* version() {
return "3.11.0";
}
} // end of namespace tf -----------------------------------------------------
|