| /oneTBB/examples/parallel_for/tachyon/dat/ |
| H A D | trypsin4pti.dat | 44 TEXALIAS CA C 45 TEXALIAS CB C 46 TEXALIAS CD C 47 TEXALIAS CD1 C 48 TEXALIAS CD2 C 49 TEXALIAS CE C 50 TEXALIAS CE1 C 51 TEXALIAS CE2 C 52 TEXALIAS CG C 53 TEXALIAS CG1 C [all …]
|
| /oneTBB/examples/parallel_for/game_of_life/ |
| H A D | Update_state.cpp | 38 __m128i* C, in sum_offset() argument 44 C[i] = _mm_or_si128(C[i], _mm_and_si128(B[i], tmp)); in sum_offset() 101 __m128i X[906], A[900], B[900], C[900]; in UpdateState() local 113 C[i].m128i_u32[0] = 0; in UpdateState() 114 C[i].m128i_u32[1] = 0; in UpdateState() 115 C[i].m128i_u32[2] = 0; in UpdateState() 116 C[i].m128i_u32[3] = 0; in UpdateState() 194 C[i].m128i_u32[0] = ~C[i].m128i_u32[0]; in UpdateState() 195 C[i].m128i_u32[1] = ~C[i].m128i_u32[1]; in UpdateState() 196 C[i].m128i_u32[2] = ~C[i].m128i_u32[2]; in UpdateState() [all …]
|
| /oneTBB/test/common/ |
| H A D | concurrent_priority_queue_common.h | 245 template <typename T, typename C> 249 tbb::concurrent_priority_queue<T, C>* q; 268 template <typename T, typename C> 271 tbb::concurrent_priority_queue<T, C>* q; 272 C less_than; 294 template <typename T, typename C> 296 tbb::concurrent_priority_queue<T, C>* q; 313 template <typename C, typename T> 317 tbb::concurrent_priority_queue<T, C> q(0); in test_parallel_push_pop() 319 EmptyBody<T, C> emptier(t_max, &q); in test_parallel_push_pop() [all …]
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | Windows_C_Dynamic_Memory_Interface_Replacement.rst | 3 Windows\* OS C/C++ Dynamic Memory Interface Replacement 14 - Standard C library functions: ``malloc``, ``calloc``, ``realloc``, 18 - Replaceable global C++ operators ``new`` and ``delete`` 21 - Microsoft\* C run-time library functions: ``_msize``, 72 The replacement uses in-memory binary instrumentation of Visual C++\*
|
| H A D | Windows_OS_ug.rst | 54 Microsoft\* Visual C++\* or Intel® C++ Compiler Classic or Intel® oneAPI DPC++/C++ Compiler to find… 64 Microsoft\* C/C++ run-time libraries come in static and dynamic
|
| H A D | Linux_C_Dynamic_Memory_Interface_Replacement.rst | 3 Linux\* OS C/C++ Dynamic Memory Interface Replacement 14 - Standard C library functions: ``malloc``, ``calloc``, ``realloc``, 25 - Replaceable global C++ operators ``new`` and ``delete`` 28 - GNU C library (glibc) specific functions: ``malloc_usable_size``,
|
| H A D | Constraints.rst | 6 Starting from C++20, most of |full_name| APIs are constrained to 29 The code that violates named requirements but compiles successfully until C++20, 30 may not compile in C++20 mode due to early and strict constraints diagnostics.
|
| H A D | Cancellation_and_Nested_Parallelism.rst | 38 Suppose that the algorithm in C throws an exception and no node catches 43 #. Handle exception in C: 46 a. Capture exception in C. 49 b. Cancel tasks in C. 52 c. Throw exception from C to B. 87 to the algorithm explicitly. The example uses C++11 lambda expressions for brevity.
|
| H A D | Lambda_Expressions.rst | 7 C++11 lambda expressions make the |full_name| 44 implemented C++11 features. It is worth reading more complete 50 C++11 support is off by default in the compiler. The following table 61 - Intel® C++ Compiler Classic 62 - Intel® oneAPI DPC++/C++ Compiler
|
| H A D | estimate_flow_graph_performance.rst | 27 in your graph if executed sequentially. Then let C be the time 30 Therefore, even if all other paths are executed in parallel with C, 31 the wall clock time for the parallel execution is at least C, and the 33 effects) is T/C.
|
| H A D | std_invoke.rst | 6 Starting from C++17, the requirements for callable objects passed to algorithms or Flow Graph nodes… 7 Previously, the body of the algorithm or Flow Graph node needed to be a Function Object (see `C++ S… 10 Now the body needs to meet the more relaxed requirements of being Callable (see `C++ Standard Calla… 70 Before C++17, to utilize a range in a parallel algorithm, such as ``parallel_for``, it was required… 94 Now with C++17, you can directly utilize a pointer to ``range.iterate()`` as the body of the algori… 117 oneTBB implementation uses the C++ standard function ``std::invoke(&StrideRange::iterate, range)`` … 120 .. tip:: Refer to `C++ Standard <https://en.cppreference.com/w/cpp/utility/functional/invoke>`_ to … 165 Before C++17, the ``function_node`` in the Flow Graph required the body to be a Function Object. A … 167 With C++17, you can use ``std::invoke`` with a pointer to the member number directly as the body.
|
| H A D | automatically-replacing-malloc.rst | 3 Automatically Replacing ``malloc`` and Other C/C++ Functions for Dynamic Memory Allocation
|
| /oneTBB/examples/migration/recursive_fibonacci/ |
| H A D | task_emulation_layer.h | 85 template <typename C, typename... Args> 86 C* allocate_continuation(std::uint64_t ref, Args&&... args) { in allocate_continuation() 87 C* continuation = new C{std::forward<Args>(args)...}; in allocate_continuation() 116 template <typename C> 117 void recycle_as_child_of(C& c) { in recycle_as_child_of()
|
| H A D | README.md | 18 recursive_fibonacci N C I T 21 * `C` - cutoff that will be used to stop recursive split.
|
| H A D | CMakeLists.txt | 32 # Parameters of executable N C I: 34 # `C` - cutoff that will be used to stop recursive split.
|
| /oneTBB/test/tbb/ |
| H A D | test_mutex.cpp | 72 template<typename C> 79 C& counter; 85 typename C::mutex_type::scoped_lock lock(counter.mutex); in operator ()() 93 AddOne_CheckTransaction(C& counter_) : counter(counter_) {} in AddOne_CheckTransaction()
|
| /oneTBB/doc/main/intro/ |
| H A D | intro_os.rst | 8 standard ISO C++ code. It does not require special languages or 18 The C++ Standard Template Library (STL) is an example of generic 25 |full_name| requires C++11 standard compiler support.
|
| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | vector.cpp | 91 void VAddS(flt a, vector *A, vector *B, vector *C) { in VAddS() argument 92 C->x = (a * A->x) + B->x; in VAddS() 93 C->y = (a * A->y) + B->y; in VAddS() 94 C->z = (a * A->z) + B->z; in VAddS()
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | enumerable_thread_specific.h | 352 template<typename C, typename T, typename U> 354 const enumerable_thread_specific_iterator<C, U>& j ); 356 template<typename C, typename T, typename U> 360 template<typename C, typename T, typename U> 364 template<typename C, typename U> 498 template<typename C, typename T, typename U> 499 friend bool operator==(const segmented_iterator<C,T>& i, const segmented_iterator<C,U>& j); 501 template<typename C, typename T, typename U> 502 friend bool operator!=(const segmented_iterator<C,T>& i, const segmented_iterator<C,U>& j); 504 template<typename C, typename U> [all …]
|
| /oneTBB/test/conformance/ |
| H A D | conformance_mutex.h | 320 template<typename C> 328 typename C::mutex_type::scoped_lock lock2(counter.mutex); in recurse_till() 332 typename C::mutex_type::scoped_lock lock2; in recurse_till() 339 typename C::mutex_type::scoped_lock lock(counter.mutex); in operator() 342 NullRecursive(C& counter_) : counter(counter_) { in NullRecursive() 345 C& counter; 346 bool is_recursive_mutex = C::mutex_type::is_recursive_mutex;
|
| /oneTBB/doc/main/reference/ |
| H A D | parallel_for_each_semantics.rst | 50 If the ``iterator`` satisfies `Input iterator` named requirements from [input.iterators] ISO C++ St… 51 `Forward iterator` named requirements from [forward.iterators] ISO C++ Standard section, ``tbb::par… 59 If the ``iterator`` satisfies `Forward iterator` named requirements from [forward.iterators] ISO C+…
|
| /oneTBB/test/tbbmalloc/ |
| H A D | test_malloc_pure_c.c | 18 #error For testing purpose, this file should be compiled with a C compiler, not C++
|
| /oneTBB/examples/graph/cholesky/ |
| H A D | cholesky.cpp | 124 bool check_if_valid(double *A0, double *C, double *A, int n) { in check_if_valid() argument 135 dgemm(&transa, &transb, &n, &n, &n, &alpha, A0, &n, A0, &n, &beta, C, &n); in check_if_valid() 141 if (std::abs(C[j * n + i] - A[j * n + i]) > epsilon) { in check_if_valid() 146 C[j * n + i], in check_if_valid() 153 C[j * n + i], in check_if_valid() 169 double *C = (double *)calloc(sizeof(double), n * n); in operator ()() local 190 if (!g_benchmark_run && !check_if_valid(A0, C, A, n)) { in operator ()() 196 free(C); in operator ()() 217 free(C); in operator ()()
|
| /oneTBB/examples/common/cmake/ |
| H A D | common.cmake | 26 # Handle C++ standard version. 27 if (NOT MSVC) # no need to cover MSVC as it uses C++14 by default.
|
| /oneTBB/doc/main/tbb_userguide/design_patterns/ |
| H A D | Design_Patterns.rst | 39 For brevity, some of the code examples use C++11 lambda expressions. It 41 expressions into equivalent C++03 code.
|