21 #ifndef __TBB_runtime_loader_H 22 #define __TBB_runtime_loader_H 24 #if ! TBB_PREVIEW_RUNTIME_LOADER 25 #error Set TBB_PREVIEW_RUNTIME_LOADER to include runtime_loader.h 28 #include "tbb_stddef.h" 32 #if ! __TBB_NO_IMPLICIT_LINKAGE 34 #pragma comment( linker, "/nodefaultlib:tbb_debug.lib" ) 35 #pragma comment( linker, "/defaultlib:tbbproxy_debug.lib" ) 37 #pragma comment( linker, "/nodefaultlib:tbb.lib" ) 38 #pragma comment( linker, "/defaultlib:tbbproxy.lib" ) 45 namespace interface6 {
117 int min_ver = TBB_INTERFACE_VERSION,
118 int max_ver = INT_MAX,
153 int min_ver = TBB_INTERFACE_VERSION,
154 int max_ver = INT_MAX
error_mode
Error mode constants.
Definition: runtime_loader.h:90
Invalid argument passed.
Definition: runtime_loader.h:100
~runtime_loader()
Destroy object.
Save status of operation and continue.
Definition: runtime_loader.h:91
Throw an exception of tbb::runtime_loader::error_code type.
Definition: runtime_loader.h:92
No suitable TBB library found.
Definition: runtime_loader.h:103
Print message to stderr and call abort().
Definition: runtime_loader.h:93
Invalid library found (e. g. TBB_runtime_version symbol not found).
Definition: runtime_loader.h:101
error_code load(char const *path[], int min_ver=TBB_INTERFACE_VERSION, int max_ver=INT_MAX)
Load TBB.
runtime_loader(error_mode mode=em_abort)
Initialize object but do not load TBB.
error_code status()
Report status.
Invalid function call (e. g. load() called when TBB is already loaded).
Definition: runtime_loader.h:99
Load TBB at runtime.
Definition: runtime_loader.h:85
error_code
Error codes.
Definition: runtime_loader.h:97
TBB found but version is not suitable.
Definition: runtime_loader.h:102
The namespace tbb contains all components of the library.
Definition: parallel_for.h:44
No errors.
Definition: runtime_loader.h:98