instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
uxlfoundation__oneDPL__2148
uxlfoundation/oneDPL
2,148
defect
4685b2fbf005b44b57641bd27ec4c25eb1ec1637
a9afd5bf32e4108267c9df899ebdf11360300719
Removal `ExecutionPolicy` template parameter from `brick`s
In this PR we remove `ExecutionPolicy` template parameter from bricks according to our offline discussion. Other linked PR's: https://github.com/uxlfoundation/oneDPL/pull/2152, https://github.com/uxlfoundation/oneDPL/pull/2153 Issue: https://github.com/uxlfoundation/oneDPL/issues/2110
diff --git a/include/oneapi/dpl/internal/async_impl/async_impl_hetero.h b/include/oneapi/dpl/internal/async_impl/async_impl_hetero.h index bca00e37199..05c56140db2 100644 --- a/include/oneapi/dpl/internal/async_impl/async_impl_hetero.h +++ b/include/oneapi/dpl/internal/async_impl/async_impl_hetero.h @@ -44,8 +44,8 @@ _...
4
2
0
[{"id": "G0", "claim": "Remove std::enable_if_t<__is_host_dispatch_tag_v<_Tag>> from the host-dispatch specializations of __brick_copy_n, __brick_copy, __brick_move, __brick_fill and __brick_fill_n, since a specialization by a hetero tag already exists.", "category": "design", "verdict": "opposed", "priority": "P2", "s...
null
uxlfoundation__oneDPL__2165
uxlfoundation/oneDPL
2,165
defect
e4161bfcf83706daee4d3854048e2e4b1869c167
b6d36100232ae2399e0b9afcc52044820ae0a028
Refactor parallel for brick functors in the SYCL backend
This PR removes the use of inheritance from parallel-for bricks along with the range class templates with the following approach: Each parallel-for brick defines two compile-time boolean constants, `__can_vectorize` and `__can_process_multiple_iters`. `__can_vectorize` defines whether a vectorization path is provide...
diff --git a/include/oneapi/dpl/internal/async_impl/async_impl_hetero.h b/include/oneapi/dpl/internal/async_impl/async_impl_hetero.h index bca00e37199..b68d8e1284e 100644 --- a/include/oneapi/dpl/internal/async_impl/async_impl_hetero.h +++ b/include/oneapi/dpl/internal/async_impl/async_impl_hetero.h @@ -44,9 +44,8 @@ _...
13
10
1
[{"id": "G0", "claim": "The `constexpr static std::uint8_t __max_vector_size = 4;` member of `__brick_shift_left` is probably not required anymore and can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Annotate the two boolean templa...
null
uxlfoundation__oneDPL__2252
uxlfoundation/oneDPL
2,252
defect
5f7ca44838b74ab8c66f2b461e65515574f92fe7
e5fffcb64a3e9b35653c6665b79613c08df3638f
Fix warnings in esimd KT
The PR fixes `unused-variable`, `unused-parameter` and `unused-local-typedefs` warnings. It's been cherry-picked from #2249 for easier review.
diff --git a/include/oneapi/dpl/experimental/kt/internal/esimd_radix_sort_dispatchers.h b/include/oneapi/dpl/experimental/kt/internal/esimd_radix_sort_dispatchers.h index 9757c517aa5..9a1b8ef2740 100644 --- a/include/oneapi/dpl/experimental/kt/internal/esimd_radix_sort_dispatchers.h +++ b/include/oneapi/dpl/experimenta...
1
1
0
[{"id": "G0", "claim": "The `_KernelParam` runtime parameter of `__radix_sort` should be dropped so the type stays only a template parameter.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
uxlfoundation__oneDPL__2254
uxlfoundation/oneDPL
2,254
defect
5f7ca44838b74ab8c66f2b461e65515574f92fe7
6f595a3e3e83fe050f6df8d45c63784288f48bb1
Fix warnings in device selection
The PR fixes warnings: - `logical-op-parentheses` - `unused-variable` - `unused-but-set-variable` - `unused-parameter` - `unused-lambda-capture` It's been cherry-picked from https://github.com/uxlfoundation/oneDPL/pull/2249 for easier review. --- Note, there is a non-obvious change in `test_fixed_res...
diff --git a/include/oneapi/dpl/internal/dynamic_selection_impl/sycl_backend.h b/include/oneapi/dpl/internal/dynamic_selection_impl/sycl_backend.h index 52df9966946..75a955cc4c7 100644 --- a/include/oneapi/dpl/internal/dynamic_selection_impl/sycl_backend.h +++ b/include/oneapi/dpl/internal/dynamic_selection_impl/sycl_b...
1
1
0
[{"id": "G0", "claim": "Instead of discarding the return values of the test helper calls (the PR removed the `actual` assignments), the tests should check those results - e.g. accumulate them into a failure count and verify it is zero at the end - since the helpers return 1 on failure and 0 on pass.", "category": "test...
null
uxlfoundation__oneDPL__2266
uxlfoundation/oneDPL
2,266
defect
4e4bba6490f63f0c3855666b3e0b803a6a8a9382
67d7765dcea3e5f108c09e8e34cce5ad067fbdfc
Fix various warnings in tests
The PR fixes warnings like: > all_of.pass.cpp(59): warning C4805: '^': unsafe mix of type 'size_t' and type 'const bool' in operation > adjacent_difference.pass.cpp(81): warning C4456: declaration of 'temp' hides previous local declaration `stateful_functor_no_copy_assign(const stateful_functor_no_copy_assign&...
diff --git a/test/parallel_api/algorithm/alg.modifying.operations/shift_left_right.pass.cpp b/test/parallel_api/algorithm/alg.modifying.operations/shift_left_right.pass.cpp index d12cc8ba107..6496a650d98 100644 --- a/test/parallel_api/algorithm/alg.modifying.operations/shift_left_right.pass.cpp +++ b/test/parallel_api/...
1
1
0
[{"id": "G0", "claim": "The extra `::` before `std` in the operator() signature should be dropped, using `std::iterator_traits` as in the suggested line.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
uxlfoundation__oneDPL__2272
uxlfoundation/oneDPL
2,272
defect
a898320fdbd17ca1fac9b1eed42e6a33ddee0b95
25b1761be65c1519ae3174455a7e47224cdb2a4b
Add unique, unique_copy and swap_ranges parallel range algorithms
The details can be found in the links below. Interface/Specification: - `unique_copy`: https://github.com/uxlfoundation/oneAPI-spec/pull/635 - `unique`, `swap_ranges`: https://github.com/uxlfoundation/oneAPI-spec/pull/634 [RFC]( https://github.com/uxlfoundation/oneDPL/pull/2269). It denotes the requirements an...
diff --git a/include/oneapi/dpl/pstl/algorithm_fwd.h b/include/oneapi/dpl/pstl/algorithm_fwd.h index b7a68020b1f..2eb35a1b807 100644 --- a/include/oneapi/dpl/pstl/algorithm_fwd.h +++ b/include/oneapi/dpl/pstl/algorithm_fwd.h @@ -1221,9 +1221,9 @@ __pattern_lexicographical_compare(__parallel_tag<_IsVector>, _ExecutionPo...
29
20
2
[{"id": "G0", "claim": "The `#include \"utils.h\"` in glue_algorithm_ranges_impl.h appears unnecessary because `__swap_fn` is no longer used in that file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An extra blank line inside struct __unique_...
null
uxlfoundation__oneDPL__2285
uxlfoundation/oneDPL
2,285
defect
b061b7a751e1af59439e69c2900001399a699568
8e563c7db8dfc0d7f456e74af56aa25677a35352
Fix Misc sycl traits; adding device_copyable to CI
Fixing some issues with sycl traits and device copyable tests from: * #2247 - Did not remove associated device copyable tests. Currently broken test for device_copyable.pass * #2147 - Did not add sycl traits for new building blocks for set algorithms The only exposure for this is if someone provides a Compare ...
diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index 750da815ede..fb9dbf4fbfe 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -195,8 +195,8 @@ jobs: done #set targets to just sycl iterator for dpcpp tests - ...
5
3
0
[{"id": "G0", "claim": "The static_assert message for __gen_set_balanced_path should say it is not device copyable with device copyable types.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The static_assert message for __gen_set_op_from_known_balan...
null
uxlfoundation__oneDPL__2294
uxlfoundation/oneDPL
2,294
defect
7b5c0e92b1f69ba0d095af9a281df1247a69628c
39c44fe5514ed82c707b925131f82556428c5c4b
Replace `oneapi::dpl::__internal::__no_op` by `oneapi::dpl::identity`
This PR replaces the internal `__no_op` functor with the public `oneapi::dpl::identity` across tests and library headers, and removes the now-unused `__no_op` definition. - Swap out all uses of `oneapi::dpl::__internal::__no_op` for `oneapi::dpl::identity` - Add `#include <functional>` (or the library’s `functional...
diff --git a/include/oneapi/dpl/experimental/kt/single_pass_scan.h b/include/oneapi/dpl/experimental/kt/single_pass_scan.h index e89e603b9e8..703d28df3a9 100644 --- a/include/oneapi/dpl/experimental/kt/single_pass_scan.h +++ b/include/oneapi/dpl/experimental/kt/single_pass_scan.h @@ -21,6 +21,7 @@ #include "../../pstl...
9
3
1
[{"id": "G0", "claim": "Internal headers should not include the public oneapi/dpl/functional header; the implementation of identity (and maximum/minimum) should be moved to an internal header and used for internal purposes.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
uxlfoundation__oneDPL__2313
uxlfoundation/oneDPL
2,313
defect
17af1ac37d4fafc2945be24e2644c570f43c92df
de58cf457e11cd6cc438a130d4a456bd447fcdde
Log exceptions and device name in `TestUtils::get_dpcpp_test_policy()` and `TestUtils::get_test_queue()` functions
This PR introduces one-time device name logging in debug builds and improves exception handling by wrapping policy creation in try-catch blocks within SYCL test utilities. - Adds a `log_device_name(...)` helper function and associated `std::once_flag` in utils_sycl.h. - Wraps the policy creation in `get_dpcpp_tes...
diff --git a/test/support/utils_invoke.h b/test/support/utils_invoke.h index 0bb0a4b2476..4ffe8b48881 100644 --- a/test/support/utils_invoke.h +++ b/test/support/utils_invoke.h @@ -118,6 +118,8 @@ make_new_policy(sycl::queue _queue) #endif } +static bool device_name_in_get_dpcpp_test_policy_logged = false; + templ...
8
2
2
[{"id": "G0", "claim": "The static non-atomic bool logging flags are not thread-safe and are duplicated per translation unit, so concurrent or multi-TU use can race; use a thread-safe one-time flag instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
uxlfoundation__oneDPL__2314
uxlfoundation/oneDPL
2,314
defect
971c3cf09c45df5bb5f00f86164a4592c22fdfb0
168ca81007632cc4cacc22406e08583b3679da42
Avoid implicit `class`/`struct` forward declarations in Kernel names
### Initial problem During implementation of https://github.com/uxlfoundation/oneDPL/pull/2102 some one more error about not-unique Kernel name has been found. This example from @AlexeySachkov demonstrate it: ```C++ #include <sycl/sycl.hpp> template<typename KernelName> void submitter() { sycl::queue q; q...
diff --git a/test/general/dpl_namespace.pass.cpp b/test/general/dpl_namespace.pass.cpp index a0c1b0e63f4..237fae9d214 100644 --- a/test/general/dpl_namespace.pass.cpp +++ b/test/general/dpl_namespace.pass.cpp @@ -23,6 +23,10 @@ #include <iostream> #include <tuple> +class ForEach; +class Transform; +class Scan; + i...
2
2
0
[{"id": "G0", "claim": "The many individually named `class Kernel_NN;` forward declarations added at the top of test_policies.pass.cpp would be cleaner written as a single class template (`template <int N> class Kernel;`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
uxlfoundation__oneDPL__2315
uxlfoundation/oneDPL
2,315
defect
971c3cf09c45df5bb5f00f86164a4592c22fdfb0
cd60e6707db2f403976624ebedb4cfa3b91886dc
Reduce-then-scan path for SYCL scan-by-segment implementations
This PR adds a path for `inclusive_scan_by_segment` and `exclusive_scan_by_segment` using our reduce-then-scan infrastructure to improve performance. Additionally, some reorganization of existing "fallback" implementations is required Summary of changes: - `__parallel_scan_by_segment_reduce_then_scan` and associat...
diff --git a/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h b/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h index 08d6abd09ec..06ca8b16d5f 100644 --- a/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h +++ b/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h @@ -80,94 +...
22
17
0
[{"id": "G0", "claim": "The comment on the tuple_impl.h include should read 'needed by __segmented_scan_fun' instead of 'need by'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The shared setup of the __parallel_scan_by_segment_fallback true_type...
null
uxlfoundation__oneDPL__2318
uxlfoundation/oneDPL
2,318
defect
3a0e4dd1e01ade737177b49b031036c557be659f
39c7c5243038f0eaa736a72b31a20f0f6ff828a3
Partition Set Algorithm Balanced Path
Add partitioning kernel to set APIs balanced path algorithm. Adds a partitioning phase which does a sparse pass over the input data to establish binary search boundaries for the main run. This allows memory access pattern to fit within L1 cache for the main kernels when performing the binary searches to establish b...
diff --git a/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl.h b/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl.h index 8f6a6d9d2d2..3d4d62098a2 100644 --- a/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl.h +++ b/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl.h @@ -654,7 +...
18
12
1
[{"id": "G0", "claim": "__get_reduce_then_scan_workgroup_size should take the queue as `const sycl::queue&` instead of a mutable reference.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "__sg_size in __get_reduce_then_scan_workgroup_size should ...
null
uxlfoundation__oneDPL__2322
uxlfoundation/oneDPL
2,322
defect
ef69ad056b6be6b3417fb5fd9f827785dd3d2bd5
4dd8716da37a1bf5609bcc9f16e12c9fb9bbea8e
Replace some `EXPECT_TRUE` by `EXPECT_EQ` in tests
This pull request updates many test assertions by replacing `EXPECT_TRUE` comparisons with `EXPECT_EQ` to improve clarity and consistency in error messages. The changes affect various test files for parallel algorithms, ranges, iterators, and SYCL components. - Replaces `EXPECT_TRUE(... == ...)` with `EXPECT_EQ(...)...
diff --git a/test/general/buffer_wrapper.pass.cpp b/test/general/buffer_wrapper.pass.cpp index 032e3f37a7a..72d409b9992 100755 --- a/test/general/buffer_wrapper.pass.cpp +++ b/test/general/buffer_wrapper.pass.cpp @@ -37,7 +37,7 @@ struct test_buffer_wrapper sycl::host_accessor buf_accessor(buf, sycl::read_only...
2
2
1
[{"id": "G0", "claim": "The is_partitioned Test #2 assertion was converted to EXPECT_TRUE with two arguments in a non-standard order and should be replaced with EXPECT_EQ with the expected value first.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
uxlfoundation__oneDPL__2355
uxlfoundation/oneDPL
2,355
defect
6e50ced8bd7120058fe0a743c3b826fc7c641af0
9da7b42e87857290eec58f11c2fa913eb3170284
Move only type support for [transform_]reduce for host backends
This PR adds support within [transform_]reduce for types with only move constructor and move assignment operator (no copy assignment or construction) for host backends (tbb and omp). It adds host policy tests for move only types within [transform_]reduce.pass. This is part of the resolution for #1955.
diff --git a/include/oneapi/dpl/pstl/glue_numeric_impl.h b/include/oneapi/dpl/pstl/glue_numeric_impl.h index 2aab37c5fb7..6a05e5b0189 100644 --- a/include/oneapi/dpl/pstl/glue_numeric_impl.h +++ b/include/oneapi/dpl/pstl/glue_numeric_impl.h @@ -40,7 +40,7 @@ oneapi::dpl::__internal::__enable_if_execution_policy<_Execut...
8
8
2
[{"id": "G0", "claim": "Remove the trailing whitespace after the closing braces of the new MoveOnlyWrapper operators in test/support/utils.h.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Moving init into expected in test_long_form leaves init in a moved...
null
uxlfoundation__oneDPL__2357
uxlfoundation/oneDPL
2,357
defect
ef406d231043c7b1df49ebf781ee5cde3624138e
d7184a440de0167c9c9d0673b04bb9386fc2582a
Optimize scan KT and support user defined binary operators
This PR reworks our scan kernel template by switching from an SLM driven scan where all data is loaded and operated in SLM to a sub-group driven scan where data is primarily stored and operated on in hardware registers. Additionally, this PR adds the building blocks necessary to implement future scan-like kernel templa...
diff --git a/include/oneapi/dpl/experimental/kt/internal/cooperative_lookback.h b/include/oneapi/dpl/experimental/kt/internal/cooperative_lookback.h new file mode 100644 index 00000000000..dfcdb3c5025 --- /dev/null +++ b/include/oneapi/dpl/experimental/kt/internal/cooperative_lookback.h @@ -0,0 +1,404 @@ +// -*- C++ -*...
11
11
1
[{"id": "G0", "claim": "The partial-tail item count `__items_in_scan - __i * __iters_per_item * __sub_group_size` is incorrect and should be `__items_in_scan - __i * __sub_group_size` in both sub-group scan call sites.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
uxlfoundation__oneDPL__2367
uxlfoundation/oneDPL
2,367
defect
3b7de9c2bbb93fcbc99db33bb7e5992e0b06a82b
f4b245ad8b7cd0ea15f85f588ff08d0ec9fcbb4c
Dynamic Selection Adding ResourceAdapter to support queue*
This PR allows users to provide a `resource_adapter` alongside a `resource` where the resulting `base_resource = resource_adapter(resource)` defines the default backend implementation. This enables a use case where a user may want a resource to contain more or even a different variant as compared to the core base re...
diff --git a/include/oneapi/dpl/internal/dynamic_selection_impl/default_backend.h b/include/oneapi/dpl/internal/dynamic_selection_impl/default_backend.h index 937214cd49e..0d9f603f68a 100644 --- a/include/oneapi/dpl/internal/dynamic_selection_impl/default_backend.h +++ b/include/oneapi/dpl/internal/dynamic_selection_im...
3
2
2
[{"id": "G0", "claim": "The SFINAE-restricted default constructor of default_backend_impl should call initialize_default_resources() to actually initialize the resources, but is missing that call.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The SFI...
null
uxlfoundation__oneDPL__2388
uxlfoundation/oneDPL
2,388
defect
be6332cf2d4ba4aebefe5e92abcaa776040cde44
fc85461bee54225a1c8d6acbed0f372c8019d826
Replace `typedef` to `using` in oneDPL code and tests
This PR modernizes the oneDPL codebase by replacing `typedef` declarations with the more modern `using` alias declarations, following C++17 best practices. This is a purely stylistic change that improves code readability and consistency with modern C++ standards. - Replaces all `typedef` declarations with equivalent...
diff --git a/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h b/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h index 646ed95505e..aa8f27dc81d 100644 --- a/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h +++ b/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h @@ -62,9 +6...
4
4
3
[{"id": "G0", "claim": "The added alias has an extra space before the semicolon and should read `using __it_types = __tuple_t<_Types...>;`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The added alias is malformed - `OutputType` is repeated at...
null
uxlfoundation__oneDPL__2389
uxlfoundation/oneDPL
2,389
defect
4dd49845d3173704ea2d4600410f4af692584028
ceafd130966ec82faa6fe279fd161c99d8338e77
Checking for `std::ranges::dangling` iterators in `std::ranges` algorithms tests
This PR adds comprehensive testing for `std::ranges::dangling` iterators in the C++ ranges algorithms test framework. The changes ensure that when algorithms are called with temporary containers, the return types correctly contain `std::ranges::dangling` instead of potentially invalid iterators. - Introduces a trait...
diff --git a/test/parallel_api/ranges/std_ranges_test.h b/test/parallel_api/ranges/std_ranges_test.h index a65261dea2c..767dc96a07c 100644 --- a/test/parallel_api/ranges/std_ranges_test.h +++ b/test/parallel_api/ranges/std_ranges_test.h @@ -170,6 +170,39 @@ constexpr int calc_res_size(int n, int) { return n; } auto da...
3
3
1
[{"id": "G0", "claim": "The intentional `dummy` member access, used to make compilation fail when a return type is not fully dangling, should be replaced with a proper static_assert carrying a meaningful error message.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"...
null
uxlfoundation__oneDPL__2414
uxlfoundation/oneDPL
2,414
defect
908361d91513ba0d8e5627d0776a8d719494646f
3de0837148423d56cfcea3981c7b594aaa882fd0
Disable device copyable kernel submitter tests prior to icpx 2024.1
Device copyable tests for kernel submitters prior to icpx 2024.1 encounter compilation errors, and I suspect the issue is a now resolved compiler bug.
diff --git a/test/general/implementation_details/device_copyable.pass.cpp b/test/general/implementation_details/device_copyable.pass.cpp index b8a8272ac92..3f86c2772e8 100644 --- a/test/general/implementation_details/device_copyable.pass.cpp +++ b/test/general/implementation_details/device_copyable.pass.cpp @@ -265,6 +...
1
1
0
[{"id": "G0", "claim": "The comment above the macro says 'prior to 2024.0' while the macro condition checks for versions prior to 2024.1, so the comment should be updated to say 2024.1 to match the version check.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
uxlfoundation__oneDPL__2493
uxlfoundation/oneDPL
2,493
defect
627139af445296543bc46aaf6a480fe67253d0df
5948771805d1b53a2d8356454c0a7e9b1cedfe8d
Add support for `views` without a subscription operator
The goal of this PR is to add support for `view` without subscription operator in oneDPL range-based algorithms. Also this PR implements some new utility functions for handling ranges in both C++17 and C++20 environments, providing a unified interface for accessing range iterators: - `oneapi::dpl::__ranges::__begin...
diff --git a/include/oneapi/dpl/pstl/hetero/algorithm_ranges_impl_hetero.h b/include/oneapi/dpl/pstl/hetero/algorithm_ranges_impl_hetero.h index ba83c1cac75..d137e1dc227 100644 --- a/include/oneapi/dpl/pstl/hetero/algorithm_ranges_impl_hetero.h +++ b/include/oneapi/dpl/pstl/hetero/algorithm_ranges_impl_hetero.h @@ -124...
22
13
5
[{"id": "G0", "claim": "Using static_assert(false, ...) in the __begin/__end fallbacks will always trigger a compilation failure, and a condition dependent on the template parameter (e.g. !sizeof(_Range)) should be used instead.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
uxlfoundation__oneDPL__2498
uxlfoundation/oneDPL
2,498
defect
d825b514420780c5327a876526e7b18761ec38c0
e7fa6e4850eb8b68a8acf456db2a632d18d4d978
Extend CI testing
These changes add more C++20 configurations to CI and update the filters for SYCL (dpcpp) configurations to include more tests.
diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index b5a891bbb34..f5b34597943 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -28,6 +28,7 @@ env: WINDOWS_ICPX_DOWNLOAD_LINK: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/dc2bc071-...
1
1
0
[{"id": "G0", "claim": "The comment in .github/workflows/ci-testing.yml reading '#set targets to just sycl iterator for dpcpp tests' is outdated by the PR's extension of the target list, and should be removed or corrected to describe the new set of tests.", "category": "documentation", "verdict": "supported", "priority...
null
uxlfoundation__oneDPL__2501
uxlfoundation/oneDPL
2,501
defect
479c26cf9fb25bf0a2797ebe4855dfeb9572dfb2
a9073cc1aad36675390686902e36c35ec9e3334b
Add limited output support to copy_if with device policies
This patch adds support for output ranges of potentially insufficient size to `ranges::copy_if`. Of the three kernel implementations, only two are modified: the one for a single group and the "fallback" `__parallel_scan_copy` one, while `__parallel_reduce_then_scan_copy` is not used if the output size is less than t...
diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index 0cb962219bb..3625fe156c9 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -212,7 +212,7 @@ jobs: # set targets for dpcpp tests make_targets="build-onedpl-general-test...
17
9
1
[{"id": "G0", "claim": "The single-group copy_if submitter should return a std::tuple instead of a std::array for compatibility with the project's other code.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The __result_and_scratch variable (an instance of ...
null
uxlfoundation__oneDPL__2528
uxlfoundation/oneDPL
2,528
defect
44c8702854d4218039ebff4edf556ad554687592
1861c4a3c799f75433e1470108c7a10d11b4ec5d
Remove calls of deprecated `get_pointer()` function in tests and examples
This PR removes deprecated `get_pointer()` calls from SYCL accessors and replaces them with the modern `get_multi_ptr<sycl::access::decorated::no>().get()` API. The changes ensure compatibility with newer SYCL versions while maintaining backward compatibility through conditional compilation. **Key Changes:** - Adde...
diff --git a/examples/dynamic_selection/sepia-filter-ds/src/sepia_policies.cpp b/examples/dynamic_selection/sepia-filter-ds/src/sepia_policies.cpp index 2af5b6a08e8..99c46ecb6c5 100644 --- a/examples/dynamic_selection/sepia-filter-ds/src/sepia_policies.cpp +++ b/examples/dynamic_selection/sepia-filter-ds/src/sepia_poli...
2
2
1
[{"id": "G0", "claim": "ApplyFilter's signature expects a multi_ptr with decorated::yes but the call sites pass a raw pointer obtained from a decorated::no multi_ptr, which could cause compilation errors or undefined behavior; either update ApplyFilter to take raw pointers (or the suggested decorated::yes multi_ptr) or...
null
uxlfoundation__oneDPL__2552
uxlfoundation/oneDPL
2,552
defect
660e392bd67de242ea6e5c8902f9255493122fba
80ef4eb2d36665bcc0321dc168f6c14154e87944
Add proper bounded output support to unique_copy with CPU policies
The implementation takes the same approach as for `copy_if`, and reuses the same patterns with a different predicate. Some further unifications are made where appropriate. See also my comments that explain some particular changes.
diff --git a/include/oneapi/dpl/pstl/algorithm_fwd.h b/include/oneapi/dpl/pstl/algorithm_fwd.h index f0e6af94aef..5f3aba34552 100644 --- a/include/oneapi/dpl/pstl/algorithm_fwd.h +++ b/include/oneapi/dpl/pstl/algorithm_fwd.h @@ -543,13 +543,20 @@ __pattern_unique(__parallel_tag<_IsVector>, _ExecutionPolicy&&, _RandomAc...
15
4
1
[{"id": "G1", "claim": "The new bounded unique_copy functions should operate on a pair of iterators rather than iterator + size, since pairs are the prevailing convention in the codebase.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The predicate shoul...
null
uxlfoundation__oneDPL__2556
uxlfoundation/oneDPL
2,556
defect
4ee11fd6b7ab0d1446a71798b4a0073f1e8de494
f86c53fd653c3ae8f077f364b13d35d5c9b28715
Access mode changes for transform_if
After #2519, this PR changes the access mode for transform_if output to be `write` without `no_init` rather than `read_write`. This allows us to have copy in but not the extra unnecessary read privileges. This improves clarity of concepts.
diff --git a/include/oneapi/dpl/experimental/kt/esimd_radix_sort.h b/include/oneapi/dpl/experimental/kt/esimd_radix_sort.h index 7abeac090e5..5e05fa1a687 100644 --- a/include/oneapi/dpl/experimental/kt/esimd_radix_sort.h +++ b/include/oneapi/dpl/experimental/kt/esimd_radix_sort.h @@ -45,7 +45,7 @@ radix_sort(sycl::queu...
2
2
1
[{"id": "G0", "claim": "Clean up the `::std` usages in the functions this pull request touches.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "Binary transform_if whose output sequence is the same as one of its inputs should still work without...
null
uxlfoundation__oneDPL__2561
uxlfoundation/oneDPL
2,561
defect
660e392bd67de242ea6e5c8902f9255493122fba
14c4c115182cd34249c693d4af41f67e054f055b
More changes related to unique_copy and copy_if
- Create an alias for `walk_n<oneapi::dpl::identity>`; use where appropriate - Remove redundant use of `__pstl_assign` in the copy_if call chain - Replace `__create_mask_unique_copy` with `__create_mask` using the index predicates - Remove redundant `BinaryOp` parameter (which was always std::plus) from `copy_/parti...
diff --git a/include/oneapi/dpl/pstl/algorithm_fwd.h b/include/oneapi/dpl/pstl/algorithm_fwd.h index f0e6af94aef..052c3950158 100644 --- a/include/oneapi/dpl/pstl/algorithm_fwd.h +++ b/include/oneapi/dpl/pstl/algorithm_fwd.h @@ -442,14 +442,14 @@ __brick_bounded_copy_if(_RandomAccessIterator1, typename std::iterator_tr...
3
1
0
[{"id": "G0", "claim": "In the single-group copy_if submit lambda, `__n_uniform` should be declared with its known explicit type instead of `auto`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added `__wg_size` variable in the single...
null
uxlfoundation__oneDPL__2573
uxlfoundation/oneDPL
2,573
defect
285d3081f72c0de76cb811d3b19b4199b4c78514
acbe9fedd58d9a95b0b5aba7016c03e9c442d3f5
Fix broken tests on MS STL 145
This PR fixes broken tests on MS STL version 145 by updating the latest MSVC STL version constant and disabling vectorized algorithms in a specific test file. Changes: Updated the latest MSVC STL version from `143` to `145` (according to https://github.com/microsoft/STL/commit/3a0669817286284b1ae3c72f8bf5b6414ed2...
diff --git a/test/support/test_config.h b/test/support/test_config.h index 33688b8c3f2..a40ca227029 100644 --- a/test/support/test_config.h +++ b/test/support/test_config.h @@ -36,7 +36,7 @@ #define _PSTL_TEST_LATEST_INTEL_LLVM_COMPILER 20260000 -#define _PSTL_TEST_LATEST_MSVC_STL_VERSION 143 +#define _PSTL_TE...
3
2
0
[{"id": "G0", "claim": "Add a comment above the newly added `_USE_STD_VECTOR_ALGORITHMS 0` definition explaining why vectorized algorithms are disabled for MS STL 145 compatibility.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The same MS STL ve...
null
uxlfoundation__oneDPL__2591
uxlfoundation/oneDPL
2,591
defect
3cc5de4bf2c0c8ee58e71bfa1e8f40ed4989995b
7b14d691bec6daec18fce731e3670d3aef1dfa45
Add segmented and histogram algorithms to <oneapi/dpl/numeric>
According to the oneDPL specification draft https://uxlfoundation.github.io/oneAPI-spec/spec/elements/oneDPL/source/parallel_api/algorithms.html, the `histogram` and `*by_segment` algorithms should be defined in `<oneapi/dpl/numeric>`. This patch does that, and adjusts corresponding tests to include the proper header. ...
diff --git a/include/oneapi/dpl/algorithm b/include/oneapi/dpl/algorithm index 9cdf33334ef..05544d7de1b 100644 --- a/include/oneapi/dpl/algorithm +++ b/include/oneapi/dpl/algorithm @@ -26,8 +26,10 @@ // If not declared, pull in forward declarations # include "oneapi/dpl/pstl/glue_algorithm_defs.h" # include "o...
4
4
4
[{"id": "G0", "claim": "The histogram test uses std::fill_n but this PR removed the <algorithm> include it relied on, so the test should include the standard <algorithm> header for std::fill_n.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "by_segme...
null
uxlfoundation__oneDPL__2609
uxlfoundation/oneDPL
2,609
defect
1dfb67c380f9f5095ba0840c0f2e3553777f189f
9c4ade7aeeeb05cc1d2601f2f6e5d77183d57d7c
Fix work with types in `pattern_merge_ranges + __hetero_tag<_BackendTag>`
In this PR we fix not quite correct work with `range_difference_t` types of source and result ranges in `pattern_merge_ranges(__hetero_tag<_BackendTag>`. Also we add new test case for `data_in_in_out_lim` mode - we test the case when output range is empty. And we fix one error in the tests inside `struct merge_checke...
diff --git a/include/oneapi/dpl/pstl/hetero/algorithm_ranges_impl_hetero.h b/include/oneapi/dpl/pstl/hetero/algorithm_ranges_impl_hetero.h index 98816554041..6a52307d498 100644 --- a/include/oneapi/dpl/pstl/hetero/algorithm_ranges_impl_hetero.h +++ b/include/oneapi/dpl/pstl/hetero/algorithm_ranges_impl_hetero.h @@ -974...
2
1
0
[{"id": "G0", "claim": "The helper now computes end iterators via begin()+size(), which requires sized_range, while the template constrains only random_access_range, so calling it with a non-sized random-access range would fail with less-clear diagnostics; consider adding std::ranges::sized_range constraints for _R1, _...
null
uxlfoundation__oneDPL__2611
uxlfoundation/oneDPL
2,611
defect
8827f930d28b80c772008d66fc6bc3aa64d8d70d
ae1afc59f4208469be97a0bd9087475adc38dd1e
Guard static asserts for std::ranges::view
**UPDATED!** dd a default constructor for BufferView, to resolve issues with gcc prior to 11. Consolidate guards and add missing guards for `std::output_iterator` and `std::input_iterator` because of missing default constructor.
diff --git a/test/parallel_api/ranges/range.zip/types.h b/test/parallel_api/ranges/range.zip/types.h index d73feff29e9..f427c577bbd 100644 --- a/test/parallel_api/ranges/range.zip/types.h +++ b/test/parallel_api/ranges/range.zip/types.h @@ -60,7 +60,9 @@ using NonSimpleCommonRandomAccessSized = NonSimpleCommon; static...
1
1
1
[{"id": "G0", "claim": "Masking the pre-P2325R3 std::ranges::view failures with preprocessor guards is the wrong approach for the views, and the better fix is to give BufferView a default constructor.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
uxlfoundation__oneDPL__2623
uxlfoundation/oneDPL
2,623
defect
8726398776129f546fe8a79884ec676d85a46071
112320e53a4f8fce7dfe0d843a660d1802050c97
Add sycl device specialization for zip_view
Add sycl device copyable specialization for zip view. Improved our test utilities to fit view concept.
diff --git a/include/oneapi/dpl/pstl/hetero/dpcpp/sycl_traits.h b/include/oneapi/dpl/pstl/hetero/dpcpp/sycl_traits.h index d176fa29440..b136bdde2b0 100644 --- a/include/oneapi/dpl/pstl/hetero/dpcpp/sycl_traits.h +++ b/include/oneapi/dpl/pstl/hetero/dpcpp/sycl_traits.h @@ -926,6 +926,41 @@ struct sycl::is_device_copyabl...
1
1
1
[{"id": "G0", "claim": "sycl_traits.h refers to std::ranges::input_range/std::ranges::view in the zip_view forward declaration without including <ranges>, making the header non-self-contained so builds that include it without a prior header pulling in <ranges> can break; add a guarded #include <ranges> under _ONEDPL_CP...
null
uxlfoundation__oneDPL__438
uxlfoundation/oneDPL
438
defect
087df79f2db913c9c3e37d98ad2e995de0a05675
581fb8fe1312f13f174f1bcce45794121b52d329
Expand tests shift_left_right.pass.cpp and asynch.pass.cpp for usm device memory
Added USM shared and device memory to unit testing: - implementer new class TestUtils::usm_data_transfer : - USM shared/device memory allocation; - copy host data into USM shared/device memory; - retrieve data from USM shared/device memory to host data; - deallocate USM shared/device memory in destructor; - added...
diff --git a/test/parallel_api/algorithm/alg.modifying.operations/shift_left_right.pass.cpp b/test/parallel_api/algorithm/alg.modifying.operations/shift_left_right.pass.cpp index f438ddfa898..388069f86d9 100644 --- a/test/parallel_api/algorithm/alg.modifying.operations/shift_left_right.pass.cpp +++ b/test/parallel_api/...
5
3
1
[{"id": "G0", "claim": "New files should not carry the filename in the header banner; use a plain `//===---...---===//` divider line as the tendency for new files requires.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The changes in shift_left...
null
uxlfoundation__oneDPL__448
uxlfoundation/oneDPL
448
defect
85cbbfdad250bc062ceefd6e4fd8d27129d9896c
98128f4c7e2c7ec6cb30a5832ffc4468c2cda05d
Fix error in inclusive_scan_by_segment algorithm for USM device memory and in tests
- Fixed error (crash) in inclusive_scan_by_segment algorithm for the case when we use algo with USM device memory; - Removed copy data from device to host before starting algorithm implementation: now we run algorithm without initial value. - Fixed error in test results check function test_inclusive_scan_by_segment::...
diff --git a/include/oneapi/dpl/internal/inclusive_scan_by_segment_impl.h b/include/oneapi/dpl/internal/inclusive_scan_by_segment_impl.h index df87ba041aa..0c0cc87e055 100644 --- a/include/oneapi/dpl/internal/inclusive_scan_by_segment_impl.h +++ b/include/oneapi/dpl/internal/inclusive_scan_by_segment_impl.h @@ -46,7 +4...
3
2
0
[{"id": "G0", "claim": "Removing the initial_mask argument from the segmented transform_inclusive_scan call may have left the algorithm's implementation incorrect, and the author should confirm it remains correct.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G4", ...
null
uxlfoundation__oneDPL__505
uxlfoundation/oneDPL
505
defect
5160affc88a6d552f194262de123e91af1df8783
931c4a0a00245c1619e3ca9ba293c6cb9e595e50
Add test of reduce_by_segment for non primitive types
Fixed error in reduce_by_segment algorithm for non primitive types. Expanded tests for reduce_by_segment algorithm for non primitive types. For additional info please see https://github.com/oneapi-src/oneDPL/issues/502
diff --git a/include/oneapi/dpl/internal/reduce_by_segment_impl.h b/include/oneapi/dpl/internal/reduce_by_segment_impl.h index 5338f23d1ad..902fae5094b 100644 --- a/include/oneapi/dpl/internal/reduce_by_segment_impl.h +++ b/include/oneapi/dpl/internal/reduce_by_segment_impl.h @@ -98,7 +98,7 @@ reduce_by_segment_impl(Po...
1
1
0
[{"id": "G0", "claim": "A new test file is not needed; instead the new C++ type should be added into the existing reduce_by_segment.pass.cpp test, and the trivial fix in reduce_by_segment_impl.h could be merged as a separate PR.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
uxlfoundation__oneDPL__521
uxlfoundation/oneDPL
521
defect
5160affc88a6d552f194262de123e91af1df8783
37ca6bd5f95518bd7e7920ae5af95214295ea479
Fix kernel naming for Range-based APIs
This fixes an issue with uniqueness of kernel names in Range-based APIs. Some Range-bases APIs used to rely on a custom way to generate unique kernel names (look at `__new_kernel_name` function). The generated kernel names used to be treated as externally provided in the lower layer (`_HasDefaultName` recognizes ...
diff --git a/include/oneapi/dpl/pstl/glue_algorithm_ranges_impl.h b/include/oneapi/dpl/pstl/glue_algorithm_ranges_impl.h index 61b57718c44..ab667d99e25 100644 --- a/include/oneapi/dpl/pstl/glue_algorithm_ranges_impl.h +++ b/include/oneapi/dpl/pstl/glue_algorithm_ranges_impl.h @@ -255,24 +255,12 @@ swap_ranges(_Executio...
4
3
0
[{"id": "G0", "claim": "The per-algorithm kernel-name wrapper classes (two here, six overall) look ugly; the reviewer suggests, as a non-critical idea that can be made later, making them non-templates and introducing a single universal wrapper template (with two parameters) near make_wrapped_policy, which would also be...
null
uxlfoundation__oneDPL__555
uxlfoundation/oneDPL
555
defect
f06c51db8805aa509f68bb8fabf8e969b72095a4
5ae12d66ef7da301b676e701c8404a3a343b8a6c
Replace internal API in the tests (__sycl_defs entities)
Decouple oneDPL implementation and tests and remove dependencies on the internal API. It might be useful when the tests are used with newer library headers. This can be treated as a backward compatibility testing. If there is no dependency on internal APIs from the library headers, then such testing is possible.
diff --git a/test/general/buffer_wrapper.pass.cpp b/test/general/buffer_wrapper.pass.cpp index 68686ab5ea7..7ec6212b869 100755 --- a/test/general/buffer_wrapper.pass.cpp +++ b/test/general/buffer_wrapper.pass.cpp @@ -52,8 +52,8 @@ main() test(oneapi::dpl::begin(buf), oneapi::dpl::end(buf), data_ptr, size); ...
9
7
0
[{"id": "G0", "claim": "Add a comment naming _ONEDPL_FPGA_DEVICE at this place and at all other places of the file (e.g. on the #endif of each guarded block).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test reads better with TestUtils::-qu...
null
uxlfoundation__oneDPL__670
uxlfoundation/oneDPL
670
defect
0343d414ea6f888d880ae603abea3503c1050a79
a8cba789a809da0b969b9861d4e71d421487299c
[tests] fix broken tests for std::complex : pow.pass, divide_equal_complex.pass, minus_equal_complex.pass, plus_equal_complex.pass, times_equal_complex.pass
In this PR we investigate errors in the next tests of std::complex (all these tests work correctly only with libc++ or MSVC): - pow.pass - divide_equal_complex.pass - minus_equal_complex.pass - plus_equal_complex.pass - times_equal_complex.pass For some parts of these tests we made workaround with BROKEN macro...
diff --git a/test/support/test_complex.h b/test/support/test_complex.h index 2f999c2f8ce..7569fa3c856 100644 --- a/test/support/test_complex.h +++ b/test/support/test_complex.h @@ -85,16 +85,16 @@ run_test() // IF_DOUBLE_SUPPORT(test<int>()) // // ... // } -#define IF_DOUBLE_SUPPORT(x) ...
3
2
0
[{"id": "G0", "claim": "The complex<int> op= (/=, -=, +=, *=) test blocks in divide_equal, minus_equal, plus_equal and times_equal_complex.pass.cpp fail to compile with GCC 12.2 and Clang 15 when using libstdc++ (cannot convert / no viable conversion from 'std::complex<int>'), while libc++ and MSVC compile fine, so the...
null
uxlfoundation__oneDPL__761
uxlfoundation/oneDPL
761
defect
271eb470f976b6e4d587907ebe475e4f3f827e18
e21f8bbe188ba31083ed6544532e814bc13fd727
In-place exclusive scan error workaround
In this PR we made workaround for in-place exclusive scan error: results in this case were incorrect. How this workaround is implemented: - create temporary buffer; - move source data into temporary buffer; - execute non-inplace exclusive scan on data from temporary buffer and generate result into source buffer. ...
diff --git a/include/oneapi/dpl/pstl/hetero/dpcpp/unseq_backend_sycl.h b/include/oneapi/dpl/pstl/hetero/dpcpp/unseq_backend_sycl.h index 846f4e40cab..7c24d0bc3e6 100644 --- a/include/oneapi/dpl/pstl/hetero/dpcpp/unseq_backend_sycl.h +++ b/include/oneapi/dpl/pstl/hetero/dpcpp/unseq_backend_sycl.h @@ -661,7 +661,6 @@ str...
25
20
0
[{"id": "G0", "claim": "The workaround should allocate its temporary buffer with oneapi::dpl::__internal::__buffer instead of using the sycl::buffer API directly in that file.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The brick call should pass std:...
null
uxlfoundation__oneDPL__853
uxlfoundation/oneDPL
853
defect
8b03924ddbaa1de82fac794a1fa18903f77231f9
8d647b29a5490a17d5db33b90626046f836ef2a3
Restructure transform_scan to fix FPGA compile error
This PR restructures the internal transform_scan code towards the following goals: - Consistency with the other single-group algorithms (e.g., reduce) with respect to what functionality is in the numeric header and what functionality is in the SYCL implementation header - Fixing the compile errors with scan in FPGA e...
diff --git a/include/oneapi/dpl/internal/async_impl/async_impl_hetero.h b/include/oneapi/dpl/internal/async_impl/async_impl_hetero.h index 2a2e63497f1..9b116c97a69 100644 --- a/include/oneapi/dpl/internal/async_impl/async_impl_hetero.h +++ b/include/oneapi/dpl/internal/async_impl/async_impl_hetero.h @@ -196,17 +196,7 @...
20
16
0
[{"id": "G0", "claim": "In the FPGA transform_scan wrappers __device_policy should be forwarded (or otherwise passed as an rvalue) since it has no second use in the function.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The call in the FPGA multi-...
null
uxlfoundation__oneDPL__868
uxlfoundation/oneDPL
868
defect
5fa404d1a7e4b6fb5ab5ac82709c0652665a4908
420c280897e9b503825d4984303f1a4e07760676
get_wait_list and wait_for_all(HandleList)
Adding get_wait_list and wait_for_all for a list of SyncTypes. Changes to the concurrent queue to add a pop_all function.
diff --git a/include/oneapi/dpl/internal/dynamic_selection.h b/include/oneapi/dpl/internal/dynamic_selection.h index 01fbc5bf541..339053d5d3f 100644 --- a/include/oneapi/dpl/internal/dynamic_selection.h +++ b/include/oneapi/dpl/internal/dynamic_selection.h @@ -19,6 +19,7 @@ #include <memory> #include <utility> +#in...
4
3
1
[{"id": "G0", "claim": "The function name should be `wait`, not `wait_for_all`, and the rename should apply to all uses of wait_for_all in all files, whether for a single handle or the handle list.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "pop_all s...
null
uxlfoundation__oneDPL__871
uxlfoundation/oneDPL
871
defect
d1c6229cec265635adf6b1a0d428cff507d1cc15
c07f76f5b353d47a903e22790d2556c0ff5ac51e
Improve utility functions
The patch refactors the SIMD utility functions for load, store, gather, and scatter: * Removes `enable_if` SFINAE, instead using specific parameter types * Aligns the API semantics (parameter order, types, and names) * For `gather`, also fixes the result type to differ from offsets, and moves items-to-bytes conver...
diff --git a/include/oneapi/dpl/experimental/kt/esimd_radix_sort_one_wg.h b/include/oneapi/dpl/experimental/kt/esimd_radix_sort_one_wg.h index 545be93becc..1b84f27f9c0 100755 --- a/include/oneapi/dpl/experimental/kt/esimd_radix_sort_one_wg.h +++ b/include/oneapi/dpl/experimental/kt/esimd_radix_sort_one_wg.h @@ -73,7 +7...
7
7
6
[{"id": "G0", "claim": "The base address computation is incorrect if offsets are in bytes, and element-based offsets should be used in all functions, converting to bytes only where the ESIMD API requires it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
uxlfoundation__oneDPL__888
uxlfoundation/oneDPL
888
defect
613350cf476bf934ea33b8825a40c65e19b79f66
e2d282b44cd5cb746dce4e009692a7483947edad
Import tests from dpstd library - part 3/16
Part 3/16 Please see details in part 1/16 - https://github.com/oneapi-src/oneDPL/pull/885 This PR should be merged into main only after https://github.com/oneapi-src/oneDPL/pull/885 Also in this PR we made some modification of tests iterators from file [test_iterators.h](https://github.com/oneapi-src/oneDPL/blob/...
diff --git a/test/support/test_iterators.h b/test/support/test_iterators.h index d14ab71d16f..c02be0ee2ee 100644 --- a/test/support/test_iterators.h +++ b/test/support/test_iterators.h @@ -20,6 +20,7 @@ #include <cstddef> #define DELETE_FUNCTION = delete +#define TEST_CONSTEXPR_CXX14 constexpr template <class It...
2
2
0
[{"id": "G0", "claim": "The newly added test file iterator2.pass.cpp should be given a unique name that reflects the essence of the test, e.g. iterator_traits.pass.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added access-mode constan...
null
uxlfoundation__oneDPL__945
uxlfoundation/oneDPL
945
defect
6bb45531b7bd6908a16897ebd8fedbb18d365430
83e273ee29a3678c3777812a18366469b8e26474
Add the library version header, and update oneDPL version to 2022.7.0
This patch introduces the special `<oneapi/dpl/version>` header for the library version and feature macros. - It's included in `onedpl_config.h`, and so its definitions are added into and included with each library public header. - It includes the standard `<version>` header Please suggest other feature macros w...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 670814e0630..447eee67a8f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ option(ONEDPL_USE_AOT_COMPILATION "Enable the ahead of time compilation" OFF) option(ONEDPL_ENABLE_SIMD "Enable SIMD vectorization by passing an OpenMP SIMD flag to the compile...
14
5
2
[{"id": "G0", "claim": "The new version header's include guard should be named _ONEDPL_VERSION_H instead of __ONEDPL_version_H.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Since _PSTL_VERSION was changed to 14000, the unchanged static_assert on _PSTL_...
null
uxlfoundation__oneDPL__953
uxlfoundation/oneDPL
953
defect
510511befeff0d54a412e9d9a48c7cdb5b4eab3b
d2be694b3d52abcc96df869f445163be7cc546d7
Correct radix sort's order preserving cast for descending sort
Our radix sort implementation has been observed to produce incorrect results when performing a descending sort of `int16_t` numbers containing negative values. The bitwise complement operation adheres to integral promotion rules. In `__order_preserving_cast` of our radix sort, we require a mask of the form 011..11 f...
diff --git a/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_radix_sort.h b/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_radix_sort.h index 2e8f86ea185..54a6b1bf15b 100644 --- a/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_radix_sort.h +++ b/include/oneapi/dpl/pstl/hetero/dpcpp/pa...
2
2
1
[{"id": "G0", "claim": "An `int16_t` test should be added to `sort.pass` to provide a regression test for this fix.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The descending mask would be better expressed with `::std::numeric_limits<_UInt>::max` tha...
null
uxlfoundation__oneDPL__985
uxlfoundation/oneDPL
985
defect
13afe35076226334453327f218a306179ca3c6a9
6d3eb7e625f8a05607f3ccf8ebde5b547f4e0428
[KT] Add support of uint64_t and int64_t types into esimd radix sort
In this PR we have added support of uint64_t and int64_t types into esimd radix sort: - into one workgroup impl; - into cooperative impl; - still not implemented for onesweep impl. Performance degradation not detected.
diff --git a/include/oneapi/dpl/experimental/kt/esimd_radix_sort_one_wg.h b/include/oneapi/dpl/experimental/kt/esimd_radix_sort_one_wg.h index 583cdfaf502..12a7213c3d6 100755 --- a/include/oneapi/dpl/experimental/kt/esimd_radix_sort_one_wg.h +++ b/include/oneapi/dpl/experimental/kt/esimd_radix_sort_one_wg.h @@ -162,7 +...
8
7
0
[{"id": "G0", "claim": "The commented-out copy of the slm_scatter doxygen documentation inside the new 32-bit slm_scatter wrapper is excessive and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The '// bit_cast_view' comment (...
null
uxlfoundation__oneMath__24
uxlfoundation/oneMath
24
defect
98b817d77235b752679c03d6a3fa7dcfde2c5efd
34baa2711ed91d12d1e8806a561d5fcfa0424c6b
Enable USM for cuBLAS Level 1/2/3
# Description This PR is enabling Unified Shared Memory (USM) for cuBLAS backend for BLAS Level 1/2/3 APIs.
diff --git a/include/onemkl/blas/detail/cublas/blas_ct.hpp b/include/onemkl/blas/detail/cublas/blas_ct.hpp index a18b167ce..d8f9b436d 100644 --- a/include/onemkl/blas/detail/cublas/blas_ct.hpp +++ b/include/onemkl/blas/detail/cublas/blas_ct.hpp @@ -1970,6 +1970,7 @@ cl::sycl::event syr2<library::cublas, backend::nvidia...
5
3
2
[{"id": "G0", "claim": "The done.wait() the PR adds in the cuBLAS USM wrappers forces a blocking wait even though the API returns an event, and the reviewer asks why the wait is needed and why the event is returned at all if synchronisation is required.", "category": "correctness", "verdict": "supported", "priority": "...
null
uxlfoundation__oneMath__26
uxlfoundation/oneMath
26
defect
4f8dbe2fa4c97bdda54c9bdf2101df848b011db5
c9aa248ebf5ae270499bf84431f7980e0cb1bbb7
Enable Batch and Blas-like APIs for cuBLAS
This PR is enabling Batch and Blas-like APIs for cuBLAS backend for the supported functions.
diff --git a/src/blas/backends/cublas/cublas_batch.cpp b/src/blas/backends/cublas/cublas_batch.cpp index 39a710048..b8d3f4bca 100644 --- a/src/blas/backends/cublas/cublas_batch.cpp +++ b/src/blas/backends/cublas/cublas_batch.cpp @@ -16,7 +16,9 @@ * limitations under the License. * **********************************...
5
5
1
[{"id": "G0", "claim": "Use separate template types for the A and B matrices in the new gemm_ext helper to anticipate future functionality.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test was changed from independent per-matrix allocations to con...
null
uxlfoundation__oneMath__275
uxlfoundation/oneMath
275
defect
245fd11f73d510a801286648af1e212b9c78e8dd
1c298674fa09ae484fbdc073b887e45c5ddce638
[DFT] Multi-Dimension Many-Batch DFT tests
# Description This builds on #261 to introduce tests for multi-dimensional DFTs and batched DFTs. # Checklist ## All Submissions - [ ] Do all unit tests pass locally? Attach a log. - [x] Have you formatted the code using clang-format?
diff --git a/tests/unit_tests/dft/include/compute_inplace.hpp b/tests/unit_tests/dft/include/compute_inplace.hpp index a78da23dd..2009f4caa 100644 --- a/tests/unit_tests/dft/include/compute_inplace.hpp +++ b/tests/unit_tests/dft/include/compute_inplace.hpp @@ -21,6 +21,67 @@ #define ONEMKL_COMPUTE_INPLACE_HPP #incl...
10
6
0
[{"id": "G0", "claim": "The temporary buffers in the multi-dimensional reference DFT should use `long double` (ref_t) instead of `double` to preserve accuracy.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Restricting the new tests so the last dimensio...
null
uxlfoundation__oneMath__287
uxlfoundation/oneMath
287
defect
793c771c60f5105c12eaf59e1534eeb21d1cfe4a
eec53080f4dcc5c00317d611ed05781ed0546b43
Update deprecated functionality for SYCL 2020 specification
# Description This PR continues [PR #167](https://github.com/oneapi-src/oneMKL/pull/167) and enables SYCL 2020 deprecation warnings for cuBLAS. This resolves part of [Issue #110](https://github.com/oneapi-src/oneMKL/issues/110). # Checklist ## All Submissions - [X] Do all unit tests pass locally? Attach a l...
diff --git a/CMakeLists.txt b/CMakeLists.txt index a840d703f..da04d593a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -170,8 +170,8 @@ if(WIN32 AND ONEMKL_SYCL_IMPLEMENTATION STREQUAL "dpc++") set(CMAKE_CXX_CREATE_SHARED_LIBRARY "<CMAKE_CXX_COMPILER> -fsycl -fsycl-device-code-split=per_kernel /nologo <OBJECTS>...
4
4
2
[{"id": "G0", "claim": "The PR's cuBLAS backend changes, including the hipSYCL-specific commit to cublas_scope_handle_hipsycl.cpp, had not been shown to be tested with hipSYCL, and the reviewer asked whether they had been.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
uxlfoundation__oneMath__330
uxlfoundation/oneMath
330
defect
57c5f2b064b444d782ca6ea7be97929c07fe4e43
24ec06397e9c2064570f68f7422b90c541f4151c
[DFT] Add rocFFT backend for DFT interface
# Description Add rocFFT as a backend for the DFT interface, allowing use of the DFT interface with AMD GPUs. There is a bit of a issue with `rocfft_setup`/`rocfft_cleanup`. These both affect the global state, so if the user was also using rocfft (unlikely), they could potentially cause a "double" setup/cleanup. ...
diff --git a/CMakeLists.txt b/CMakeLists.txt index f07b8c677..10e7f8b60 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,6 +62,7 @@ option(ENABLE_ROCSOLVER_BACKEND "Enable the rocSOLVER backend for the LAPACK int # dft option(ENABLE_CUFFT_BACKEND "Enable the cuFFT backend for the DFT interface" OFF) +option(...
16
9
2
[{"id": "G0", "claim": "The duplicated HIP_CHECK macro (marked TODO remove) should be removed from commit.cpp and execute_helper.hpp.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The destructor should discard the rocfft_cleanup status inline a...
null
uxlfoundation__oneMath__363
uxlfoundation/oneMath
363
defect
99c324e934e864f17215875f173aa6b7aec9167c
99963eb3577f829c99a1185919ce3f8184c29b01
[DFT][cuFFT][rocFFT] Add tests for strides and fix strides in cuFFT and rocFFT backends
# Description Fixes strides not being properly handles by cuFFT and rocFFT backends and adds tests for strides. Some relevant discussion in a previous incomplete PR: https://github.com/oneapi-src/oneMKL/pull/343 # Checklist ## All Submissions - [x] Do all unit tests pass locally? Attach a log. - [x] Ha...
diff --git a/src/dft/backends/cufft/backward.cpp b/src/dft/backends/cufft/backward.cpp index 34860a7c3..0edb9b991 100644 --- a/src/dft/backends/cufft/backward.cpp +++ b/src/dft/backends/cufft/backward.cpp @@ -35,6 +35,10 @@ namespace oneapi::mkl::dft::cufft { namespace detail { +//forward declaration +template <dft...
17
16
1
[{"id": "G0", "claim": "The unimplemented-exception message should say \"if ordered by stride length\" instead of the double-spaced \"if ordered by stride length\" (suggested wording applied).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Puttin...
null
uxlfoundation__oneMath__411
uxlfoundation/oneMath
411
defect
fa0d0be071c37832c79e3e66d716a87980dd8b57
471da95d46fca2dcd0cd96e1410305617360eb51
[DFT] Implement external workspace according to draft spec
# Description This PR implements the draft specification for external workspace at https://github.com/oneapi-src/oneAPI-spec/pull/509, which relates to oneMKL issue https://github.com/oneapi-src/oneMKL/issues/396. # Checklist ## All Submissions - [x] Do all unit tests pass locally? Attach a log. - [x] Hav...
diff --git a/include/oneapi/mkl/dft/detail/commit_impl.hpp b/include/oneapi/mkl/dft/detail/commit_impl.hpp index e07c554c3..9a077e1e1 100644 --- a/include/oneapi/mkl/dft/detail/commit_impl.hpp +++ b/include/oneapi/mkl/dft/detail/commit_impl.hpp @@ -27,6 +27,7 @@ #endif #include "descriptor_impl.hpp" +#include "exte...
28
26
3
[{"id": "G0", "claim": "The four nested namespace blocks in external_workspace_helper.hpp should be collapsed into a single `namespace oneapi::mkl::dft::detail {` declaration because that reads more clearly.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", ...
null
uxlfoundation__oneMath__416
uxlfoundation/oneMath
416
defect
7867ca8dc4c5ef153aeec6920f5b407db6953a10
f1af0b9e4574a6fd823228c1d5cc3c903d865727
[DFT] portFFT integration
# Description Adds the portFFT library as a backend for oneMKL. # Checklist ## All Submissions - [x] Do all unit tests pass locally? Attach a log. - [x] Have you formatted the code using clang-format?
diff --git a/CMakeLists.txt b/CMakeLists.txt index a83413022..a99e03c23 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,6 +51,7 @@ endif() option(ENABLE_CUBLAS_BACKEND "Enable the cuBLAS backend for the BLAS interface" OFF) option(ENABLE_ROCBLAS_BACKEND "Enable the rocBLAS backend for the BLAS interface" OFF)...
7
5
0
[{"id": "G0", "claim": "The README dependencies table says portFFT is installed by the user, but it is downloaded automatically by FetchContent, so the entry should say so.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The example output text use...
null
uxlfoundation__oneMath__549
uxlfoundation/oneMath
549
defect
5b5f3f4f095cfb8c7ef3966afeade3d112222898
128ef68cd2ed35c6543ca163a8d79bd69b678748
[DFT] Corrections to FWD/BWD_STRIDES API
# Description In the PR that introduced the FWD/BWD STRIDE API (https://github.com/oneapi-src/oneMKL/pull/528), @raphael-egan provided some valuable feedback just as the PR was merged. This feedback included: * Deviations from the oneAPI oneMKL specification * General quality of life improvements This PR aims...
diff --git a/src/dft/backends/cufft/commit.cpp b/src/dft/backends/cufft/commit.cpp index faf4332c0..8dd9b225b 100644 --- a/src/dft/backends/cufft/commit.cpp +++ b/src/dft/backends/cufft/commit.cpp @@ -173,7 +173,7 @@ class cufft_commit final : public dft::detail::commit_impl<prec, dom> { if (a_min - stride...
1
1
1
[{"id": "G0", "claim": "The second-dimension term of the stride-validity check should compare the padded stride (svec[sindices[1]]) times the length instead of lengths[sindices[0]] * lengths[sindices[1]], because the current logic misses inconsistent strides for a 2x4x2 complex problem with invalid strides {0, 10, 3, 1...
null
uxlfoundation__oneMath__575
uxlfoundation/oneMath
575
defect
4ed3e97bb7c11531684168665d5a980fde0284c9
ae979c677db6600448d902033316fb3762e28f96
[DFT][MKLGPU] Update mklgpu support to mkl preparing for oneapi 2025.0 release
# Description Update how dft mklgpu backend includes header files from MKL and how cmake adds them to compilation. This is done to avoid future name conflicts between this library and backend library. Forcing the compiler to look for some headers following the "" and <> inclusions rules accordingly with [C++ Cor...
diff --git a/src/dft/backends/mklgpu/CMakeLists.txt b/src/dft/backends/mklgpu/CMakeLists.txt index 7e88a23d9..323f84499 100644 --- a/src/dft/backends/mklgpu/CMakeLists.txt +++ b/src/dft/backends/mklgpu/CMakeLists.txt @@ -32,12 +32,14 @@ add_library(${LIB_OBJ} OBJECT ) add_dependencies(onemkl_backend_libs_dft ${LIB_NA...
2
2
0
[{"id": "G0", "claim": "The new target_compile_options block deserves a comment explaining the header conflict and why the -iquote flag is needed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment's wording should say \"the Intel(R) oneAP...
null
uxlfoundation__oneMath__622
uxlfoundation/oneMath
622
defect
40b7e0a03fc3b626867e5cfb287d4088c6c76e8c
ee9070f0e60d0b40da886afd8c5a478a8bdece14
[RNG] Add geometric distribution to Device API
# Description Added geometric distribution to RNG Device API. Distribution is based on the ICDF method Added: - Feature - Unit tests # Checklist ## New features - [x] Have you provided motivation for adding a new feature? - Spec PR [#604](https://github.com/uxlfoundation/oneAPI-spec/pull/604) - [x] Hav...
diff --git a/include/oneapi/math/rng/device/detail/distribution_base.hpp b/include/oneapi/math/rng/device/detail/distribution_base.hpp index 4faf6cd49..9a76dd3dd 100644 --- a/include/oneapi/math/rng/device/detail/distribution_base.hpp +++ b/include/oneapi/math/rng/device/detail/distribution_base.hpp @@ -65,6 +65,9 @@ c...
2
2
0
[{"id": "G0", "claim": "The body of the vector loop in generate() should be wrapped in braces if clang-format allows it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The type deduced by auto for uni_res should be stated explicitly instead of r...
null
uxlfoundation__oneMath__632
uxlfoundation/oneMath
632
defect
af66e5ec23913030e3dbb577a176377a07070e14
17b25ef2dea72090d7fb06fd6b76a687e1d24a65
[RNG][Device API] Added (u)int8_t and (u)int16_t types support for Uniform
# Description At the DPNP team request support for the following small types was added for Uniform distribution: - int8_t - uint8_t - int16_t - uint16_t # Checklist ## All Submissions - [ ] Do all unit tests pass locally? Attach a log.
diff --git a/include/oneapi/math/rng/device/detail/uniform_impl.hpp b/include/oneapi/math/rng/device/detail/uniform_impl.hpp index 1cf83d1db..b016a12c1 100644 --- a/include/oneapi/math/rng/device/detail/uniform_impl.hpp +++ b/include/oneapi/math/rng/device/detail/uniform_impl.hpp @@ -122,8 +122,12 @@ class distribution...
4
4
0
[{"id": "G0", "claim": "The small-type dispatch should be moved above into the FpType conditional so the floating type definition sits in one place (using the suggested std::conditional over int8/uint8/int16/uint16).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ...
null
uxlfoundation__oneTBB__1057
uxlfoundation/oneTBB
1,057
defect
2110128e4e78647b0d299d07c82ac8e4273964f6
0534025f1cfd6c5cf53693091ead9dcbb96e2257
Fix reserve(0) issue for concurrent unordered containers
### Description Fix `concurrent_unordered_*::reserve` method not to hang if current bucket count is enough to store passed elements count. Fixes #1056 - [x] - git commit message contains an appropriate signed-off-by string _(see [CONTRIBUTING.md](https://github.com/oneapi-src/oneTBB/blob/master/CONTRIBUTING...
diff --git a/include/oneapi/tbb/detail/_concurrent_unordered_base.h b/include/oneapi/tbb/detail/_concurrent_unordered_base.h index 4cbf91ad84..f5985ae98d 100644 --- a/include/oneapi/tbb/detail/_concurrent_unordered_base.h +++ b/include/oneapi/tbb/detail/_concurrent_unordered_base.h @@ -677,13 +677,17 @@ class concurren...
1
1
0
[{"id": "G0", "claim": "The copyright year in the headers of the files this pull request touches must be updated (to 2023) before the pull request can be approved.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
uxlfoundation__oneTBB__1114
uxlfoundation/oneTBB
1,114
defect
a6834cccb61e0d29ecc5e06ba34f895627537972
b95b0c758a87bcea0d9b007c8263435cea5f2140
Use gcc visibility attribute
### Description According to [GCC symbols visibility wiki](https://gcc.gnu.org/wiki/Visibility) page as such (with ``__attribute__ ((visibility ("default")))`` exported symbols should be explicitly marked, to allow compilating with ``-fvisibility=hidden`` flag. Previous PR: #786, #799 Fixes #779, #713 - ...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6d710f8839..c8d6e00368f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -173,7 +173,8 @@ jobs: set -x mkdir build && cd build cmake -DCMAKE_CXX_STANDARD=${{ matrix.std }} -DCMAKE_BUILD_TYPE=$...
6
4
2
[{"id": "G0", "claim": "Adding the hidden-visibility cmake flags to every CI matrix job is not a good idea; they should be limited to one or two matrix instances or, better, set in the CMake scripts instead of CI.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
uxlfoundation__oneTBB__1449
uxlfoundation/oneTBB
1,449
defect
1f52f5093ec7ce23829fe64ab82ac5541fea42ee
aa1b49548cdff57f25d603b145d54bfbe0eec782
Extension of Nd range
### Description We found that it is very useful for our code if we can construct the range from plain integers. For this, the underlying datatype storing the ranges has to be changed to vector. This should have no negative impact on the performance. However, it makes using the class easier. The class could do wi...
diff --git a/include/oneapi/tbb/blocked_rangeNd.h b/include/oneapi/tbb/blocked_rangeNd.h index a7ba1375061..8e12822dc6d 100644 --- a/include/oneapi/tbb/blocked_rangeNd.h +++ b/include/oneapi/tbb/blocked_rangeNd.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2017-2021 Intel Corporation + Copyright (c) 2017-2024 Intel Corpo...
6
6
2
[{"id": "G0", "claim": "The pull request removed the detail/_template_helpers.h include from blocked_rangeNd.h, which leads CI to fail; the header must be added back.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The dim_range_type helper alias mus...
null
uxlfoundation__oneTBB__1451
uxlfoundation/oneTBB
1,451
defect
1ce85d9b2b494a55ffb65dc7e8fe26f182aa0576
f0cfa6c3d3a00298eed1a81cacc696d1c6b1483d
[try_put_and_wait] Part 10: implementation for broadcast-push buffers
### Description Extend flow::write_once_node and flow::overwrite_node with try_put_and_wait API + tests Fixes # - _issue number(s) if exists_ ### Type of change _Choose one or multiple, leave empty if none of the other choices apply_ _Add a respective label(s) to PR if you have permissions_ - [ ] bug...
diff --git a/include/oneapi/tbb/flow_graph.h b/include/oneapi/tbb/flow_graph.h index 0e56aaf6ae..255d6d2f59 100644 --- a/include/oneapi/tbb/flow_graph.h +++ b/include/oneapi/tbb/flow_graph.h @@ -3329,6 +3329,26 @@ class overwrite_node : public graph_node, public receiver<T>, public sender<T> { return false; ...
2
2
0
[{"id": "G0", "claim": "The explicit-clear test in test_overwrite_node.cpp should keep processed items in a vector and check its size, because with a single overwritten int the test would still pass if the function_node received more than one copy of wait_message.", "category": "testing", "verdict": "supported", "prior...
null
uxlfoundation__oneTBB__1532
uxlfoundation/oneTBB
1,532
defect
42b833fe806606d05a5cad064b8b87365818d716
5798d4475a79595d20192599917e82f582559818
Fix race in `concurrent_vector::grow_by()`
### Description When thread tries to grow `concurrent_vector`, it first creates locally a new extended segmentation table, with which it then tries to update the global one. However, before this patch, the thread simply updated the global table not taking into account that there might be the other threads doing the s...
diff --git a/include/oneapi/tbb/concurrent_vector.h b/include/oneapi/tbb/concurrent_vector.h index 2a2cb1e4bf..5eb36405e4 100644 --- a/include/oneapi/tbb/concurrent_vector.h +++ b/include/oneapi/tbb/concurrent_vector.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2005-2022 Intel Corporation + Copyright (c) 2005-2024 Intel...
4
2
0
[{"id": "G0", "claim": "Introduce the long-table deallocation code as an extra method in `segment_table` and reuse it in `segment_table::clear_table`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use `int` instead of `unsigned` in the new grow...
null
uxlfoundation__oneTBB__1596
uxlfoundation/oneTBB
1,596
defect
8659619fbd73361a129e02df19d24aa5054649cb
a2eafb8f8428f3da1802c2633b94c58a78a69cf3
Fix the allocator for Flow Graph critical tasks creating
### Description There is a bug in the current implementation of Flow Graph while using functional node concurrency limits together with node priorities. Current algorithm for creating tasks in function node is the following: * If the concurrency limit is not reached, two tasks are created - graph_task for executing...
diff --git a/include/oneapi/tbb/detail/_flow_graph_impl.h b/include/oneapi/tbb/detail/_flow_graph_impl.h index 55063b93e1..9606eae184 100644 --- a/include/oneapi/tbb/detail/_flow_graph_impl.h +++ b/include/oneapi/tbb/detail/_flow_graph_impl.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2005-2024 Intel Corporation + Copyr...
5
4
0
[{"id": "G0", "claim": "Split the 132-character __TBB_ASSERT line in small_object_pool.cpp to fit into 100 characters, as shown in the suggestion block.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Consider making the new regression test more ...
null
uxlfoundation__oneTBB__1609
uxlfoundation/oneTBB
1,609
defect
f8d1bf03622c70d067b28ee889bd28bdc7e3eb4f
055c5b7d523ea4c348fe06d7c7d9b91849055b2e
Fix concurrent_bounding_queue capacity on copy, move and swap operations
### Description concurrent_bounded_queue capacity was not preserved while copy/move construction and assignment and on swap. The target queue always used its previous capacity, or an unbounded capacity. Fixes #1598 ### Type of change _Choose one or multiple, leave empty if none of the other choices apply...
diff --git a/include/oneapi/tbb/concurrent_queue.h b/include/oneapi/tbb/concurrent_queue.h index cfd5db6a55..bb18a0712c 100644 --- a/include/oneapi/tbb/concurrent_queue.h +++ b/include/oneapi/tbb/concurrent_queue.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2005-2023 Intel Corporation + Copyright (c) 2005-2025 Intel Cor...
1
1
0
[{"id": "G0", "claim": "The new test's line `REQUIRE_MESSAGE(q.capacity() == desired_capacity, \"Capacity is not set correctly\")` has a spurious double space and should read `q.capacity() == desired_capacity`.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
uxlfoundation__oneTBB__1631
uxlfoundation/oneTBB
1,631
defect
d3ad09cd7f69d3f50a3972bee9eb7fc8ee089b6e
b02dba6bbec39f6a55b24dd33f9d210577e8bc26
Link tbbbind against static HWLOC instead of HWLOC 1.11
### Description Reserve "tbbbind" library name for the library, statically linked with HWLOC 2.x instead of HWLOC 1.11 as was proposed in https://github.com/uxlfoundation/oneTBB/blob/master/rfcs/proposed/numa_support/tbbbind-link-static-hwloc.org#proposal Fixes # - _issue number(s) if exists_ ### Type of change...
diff --git a/cmake/hwloc_detection.cmake b/cmake/hwloc_detection.cmake index aaca5a599c..73782cbeae 100644 --- a/cmake/hwloc_detection.cmake +++ b/cmake/hwloc_detection.cmake @@ -12,20 +12,29 @@ # See the License for the specific language governing permissions and # limitations under the License. -list(APPEND HWLOC...
8
8
3
[{"id": "G0", "claim": "The newly added `unset(_hwloc_library_type)` inside the loop should be moved below to where `HWLOC_TARGET_NAME` is unset, so it is unset only once.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `tbbbind_build` argume...
null
uxlfoundation__oneTBB__1682
uxlfoundation/oneTBB
1,682
defect
e60bce120d92348f0a8b4334c1b45fde9b7081ea
d6a612df27beda62d53051338647e4a739ada061
Implementation of task_group dynamic dependencies
### Description First part of POC implementation for task_group dynamic dependencies. Design described in the RFC #1664 This PR extends the `task_group` tasks with the dynamic state, that currently allows tracking the progress of the task using the new object `task_completion_handle`. In the future parts, dynamic...
diff --git a/include/oneapi/tbb/detail/_task_handle.h b/include/oneapi/tbb/detail/_task_handle.h index 26212b462c..ebecda6cee 100644 --- a/include/oneapi/tbb/detail/_task_handle.h +++ b/include/oneapi/tbb/detail/_task_handle.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2020-2024 Intel Corporation + Copyright (c) 2020-20...
10
7
2
[{"id": "G0", "claim": "The file headers should carry both copyright notices - Intel 2020-2025 and the UXL Foundation - rather than only bumping Intel's copyright year.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Concurrent construction and des...
null
uxlfoundation__oneTBB__1685
uxlfoundation/oneTBB
1,685
defect
d821614dad6279a4722cdd324ff7b6f7e38a4100
311c6b21bb5e1ed1d8fb869aca96e9d60e994f43
Implementation for task_group dynamic dependencies - part 2 - set_task_order
### Description Second part of POC implementation for task_group dynamic dependencies. Design described in the RFC #1664 First part is implemented in the PR #1682 This PR extends the `task_group` API with the new method `set_task_order` that allows to specify predecessor-successor dependency between two tasks...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb3ae618ac..91a49ae1c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ on: branches: [master] pull_request: - branches: [master] + branches: [master, dev/kboyarinov/poc-dynamic-dependencies-part...
10
10
1
[{"id": "G0", "claim": "In task_dynamic_state::add_successor the code can compare the cached current_successors_list_head against the completion flag instead of re-reading the atomic on every liveness check.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
uxlfoundation__oneTBB__1724
uxlfoundation/oneTBB
1,724
defect
982d9cb27fbd366e9d1c046f1ada8d29b00f7538
f7bfefb7667f2814d6805b37a4609b829d234485
Extend test dynamic link
Extending test_dynamic_link to test recently updated dynamic loading functionality, including: - Checking that signature verification is required to load the library. - Loading can be done without building an absolute path.
diff --git a/include/oneapi/tbb/detail/_assert.h b/include/oneapi/tbb/detail/_assert.h index fce714ffec..8ee2ecb2e6 100644 --- a/include/oneapi/tbb/detail/_assert.h +++ b/include/oneapi/tbb/detail/_assert.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2005-2022 Intel Corporation + Copyright (c) 2005-2025 Intel Corporation...
1
1
0
[{"id": "G0", "claim": "Also try calling std::abort() during the initialization of the stub unsigned library, since the library should never be loaded.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
uxlfoundation__oneTBB__1727
uxlfoundation/oneTBB
1,727
defect
b7b03ee2465861844fb18b72a4e3b3ef89a175cf
fb7719e66211ce3248941dff1d88ec62b9806d60
Implementation for task_group dynamic dependencies - part 3 - transfer_this_task_completion_to
### Description Third part of POC implementation for task_group dynamic dependencies. Design described in the RFC https://github.com/uxlfoundation/oneTBB/pull/1664 First part is implemented in the PR https://github.com/uxlfoundation/oneTBB/pull/1682 Second part is implemented in the PR https://github.com/uxlfounda...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cdbf868fcd..7f32d61d5c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ on: branches: [master] pull_request: - branches: [master, dev/kboyarinov/poc-dynamic-dependencies-part1] + branches: [maste...
3
3
0
[{"id": "G0", "claim": "The TRANSFERRED_FLAG constant, written as ~std::uintptr_t(0) - 1, could be shortened to ~uintptr_t(1).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The member m_new_dynamic_state is not clearly named; something like m_n...
null
uxlfoundation__oneTBB__1729
uxlfoundation/oneTBB
1,729
defect
982d9cb27fbd366e9d1c046f1ada8d29b00f7538
ebab0fcf09717c6fde8069fe765bd506afea648b
Fix for overwrite_node to continue_node accounting
### Description `overwrite_node` and `write_once_node` may send messages immediately to new successors before registering as a predecessor of the node. This can cause the predecessor count to be too low in a `continue_node` and therefore cause the node to trigger prematurely. Fixes # - _issue number(s) if exists_ ...
diff --git a/include/oneapi/tbb/flow_graph.h b/include/oneapi/tbb/flow_graph.h index 3ace331c09..7ac7179fc7 100644 --- a/include/oneapi/tbb/flow_graph.h +++ b/include/oneapi/tbb/flow_graph.h @@ -3318,6 +3318,11 @@ class overwrite_node : public graph_node, public receiver<T>, public sender<T> { spin_mutex::scop...
5
5
1
[{"id": "G0", "claim": "The new test's header comment should be reworded from \"Test for cancel register_predecessor_task\" to describe the nested make_edge scenario it actually tests.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new nested ...
null
uxlfoundation__oneTBB__1734
uxlfoundation/oneTBB
1,734
defect
e0edf7a653fcc9fca33d0b4c95104e2e0c515186
6c8de258c995ec6b2c5f7c418b1455d89d3271b6
Flow Graph deduction guides improvements, support for newly added body types
### Description _Add a comprehensive description of proposed changes_ Simplification for deduction guides for Flow Graph functional nodes to avoid body types detection twice. Added support for bodies expressed as pointers to member functions and member objects (supported by std::invoke). + tests extensions Fix...
diff --git a/include/oneapi/tbb/detail/_flow_graph_nodes_deduction.h b/include/oneapi/tbb/detail/_flow_graph_nodes_deduction.h index 47ecfb2a84..66a8bdf812 100644 --- a/include/oneapi/tbb/detail/_flow_graph_nodes_deduction.h +++ b/include/oneapi/tbb/detail/_flow_graph_nodes_deduction.h @@ -1,5 +1,5 @@ /* - Copyrigh...
4
4
1
[{"id": "G0", "claim": "The file's copyright header needs to be fixed up for UXL instead of crediting only Intel Corporation.", "category": "licensing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The body-type aliases input_type and output_type are too general as names and ...
null
uxlfoundation__oneTBB__1780
uxlfoundation/oneTBB
1,780
defect
792d31223300bc849b20722aa1d79d421b6631b8
bafa6b3cafd7ab3ef5fd41d5b7fc6a5f1773ac74
Make task_group::wait more thread safe
### Description _Add a comprehensive description of proposed changes_ Fixes # - _issue number(s) if exists_ ### Type of change _Choose one or multiple, leave empty if none of the other choices apply_ _Add a respective label(s) to PR if you have permissions_ - [ ] bug fix - _change that fixes an issue...
diff --git a/src/tbb/task_group_context.cpp b/src/tbb/task_group_context.cpp index c20b2790f8..2d16d35f65 100644 --- a/src/tbb/task_group_context.cpp +++ b/src/tbb/task_group_context.cpp @@ -1,5 +1,6 @@ /* Copyright (c) 2005-2023 Intel Corporation + Copyright (c) 2025 UXL Foundation Contributors License...
9
7
1
[{"id": "G0", "claim": "Extract the try/catch wait block that is duplicated between the throwing task's waiter threads and the main thread of the concurrent-wait test into an additional lambda instead of repeating it.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
uxlfoundation__oneTBB__1784
uxlfoundation/oneTBB
1,784
defect
9a771aafb61e3877e5a364322542f221b2f315cd
55f4d91d88b2288d0563c2118b9a95d87e99aa8a
Improve task_arena interoperability with task_groups
### Description Implement the functionality described in the corresponding [RFC document](https://github.com/uxlfoundation/oneTBB/blob/45726ad1da9ff10ade0542f7abd7dca8ee918e19/rfcs/proposed/task_arena_waiting/task_group_interop.md). Fixes # - _issue number(s) if exists_ ### Type of change _Choose one or mult...
diff --git a/include/oneapi/tbb/task_arena.h b/include/oneapi/tbb/task_arena.h index 6eca0187c6..625c95d2c3 100644 --- a/include/oneapi/tbb/task_arena.h +++ b/include/oneapi/tbb/task_arena.h @@ -1,5 +1,6 @@ /* Copyright (c) 2005-2025 Intel Corporation + Copyright (c) 2025 UXL Foundation Contributors Lic...
2
2
0
[{"id": "G0", "claim": "The pull request should not mix the implementation of a new feature with a bug fix; the bug fix should go into a separate PR accompanied by a description/analysis of the problem.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "unclear"}, {"id": "G1", "claim": "In wait...
null
uxlfoundation__oneTBB__1788
uxlfoundation/oneTBB
1,788
defect
2483e1e70035efd2bfdf90be5a03d010bd636281
2e2fce34942c47e16ca6776c1755e27299933696
Implementation of task_group dynamic dependencies - part 4 - support for task cancellation
### Description Improve `function_task::cancel` to propagate the cancellation signal Fixes # - _issue number(s) if exists_ ### Type of change _Choose one or multiple, leave empty if none of the other choices apply_ _Add a respective label(s) to PR if you have permissions_ - [ ] bug fix - _change that f...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcc414d89b..69dbcd2232 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ on: branches: [master] pull_request: - branches: [master, dev/kboyarinov/poc-dynamic-dependencies-part1] + branches: [maste...
6
3
2
[{"id": "G0", "claim": "function_task::cancel() should call the successor-completion API (complete_and_try_bypass_successor) instead of complete_task() so the cancelled task's successors are handled correctly.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c...
null
uxlfoundation__oneTBB__1828
uxlfoundation/oneTBB
1,828
defect
7276846834d8b19f9247dfcb8ef2b839ffc15f80
c9b353fbfbc9894df070db6a77c4412fa4d9873e
Add test for custom assertion handler inside TBBbind
### Description Add test for custom assertion handler inside TBBbind ### Type of change - [ ] bug fix - _change that fixes an issue_ - [ ] new feature - _change that adds functionality_ - [X] tests - _change in tests_ - [ ] infrastructure - _change in infrastructure and CI_ - [ ] documentation - _documentat...
diff --git a/include/oneapi/tbb/detail/_assert.h b/include/oneapi/tbb/detail/_assert.h index 8ee2ecb2e68..b17759536fc 100644 --- a/include/oneapi/tbb/detail/_assert.h +++ b/include/oneapi/tbb/detail/_assert.h @@ -1,5 +1,6 @@ /* Copyright (c) 2005-2025 Intel Corporation + Copyright (c) 2025 UXL Foundation Contr...
7
6
0
[{"id": "G0", "claim": "The test should set utils::AssertionFailureHandler and directly check the message that tbb_bind.cpp itself emits (\"Trying to deallocate nullptr pointer.\") instead of a synthetic handler throwing \"overloaded assertion\".", "category": "testing", "verdict": "supported", "priority": "P2", "scope...
null
uxlfoundation__oneTBB__1839
uxlfoundation/oneTBB
1,839
defect
bd9dad90658f5e028c3629fad8097a588f126610
441dac04e7ead088aa364cdcbd610903590399bf
Fix assertion in task_handle_task::finalize
### Description Use the correct size of the task in task_handle_task::finalize. Since introducing new virtual functions results in ABI breaks, we need to store a pointer to the instantiation of the finalize function in place of task_handle_task::m_version_and_traits to preserve backward compatibility. Fixes #18...
diff --git a/include/oneapi/tbb/detail/_task_handle.h b/include/oneapi/tbb/detail/_task_handle.h index 10ea03576f..72c2c38de3 100644 --- a/include/oneapi/tbb/detail/_task_handle.h +++ b/include/oneapi/tbb/detail/_task_handle.h @@ -32,10 +32,10 @@ namespace d1 { class task_group_context; class wait_context; struct execu...
6
6
1
[{"id": "G0", "claim": "Rename the new helper finalize_base to something like destroy_function_task or delete_function_task that says what it does.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Declare the static_assert against std::uint64_t wi...
null
uxlfoundation__oneTBB__1853
uxlfoundation/oneTBB
1,853
defect
63dc0389da0a4778d57827f935b60a54f4a649fa
1a5b5fcd35132335804061dab70f3ae0ca95c1db
Use execution_slot to ensure backwards compatibility
### Description Add to test_task_arena to exercise an exported function that is no longer used in headers. Fixes # - _issue number(s) if exists_ ### Type of change _Choose one or multiple, leave empty if none of the other choices apply_ _Add a respective label(s) to PR if you have permissions_ - [ ] ...
diff --git a/test/tbb/test_task_arena.cpp b/test/tbb/test_task_arena.cpp index 451ab23ffd..6a77a8755f 100644 --- a/test/tbb/test_task_arena.cpp +++ b/test/tbb/test_task_arena.cpp @@ -34,6 +34,7 @@ #include "tbb/spin_mutex.h" #include "tbb/spin_rw_mutex.h" #include "tbb/task_group.h" +#include "tbb/task.h" #includ...
2
2
1
[{"id": "G0", "claim": "The entry point (execution_slot) declaration should be moved to task_arena.h, ideally with a comment noting it is kept for compatibility, instead of leaving it under the task header included by the test.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"...
null
uxlfoundation__oneTBB__1887
uxlfoundation/oneTBB
1,887
defect
492c01ee2b906e945f08355787dfc015dd7cc505
e2d1e0fbd25f028015e471011758b19d9bdefc41
Waiting for Individual tasks in task_group API
### Description POC implementation for https://github.com/uxlfoundation/oneTBB/pull/1862 Fixes # - _issue number(s) if exists_ ### Type of change _Choose one or multiple, leave empty if none of the other choices apply_ _Add a respective label(s) to PR if you have permissions_ - [x] new feature - _cha...
diff --git a/include/oneapi/tbb/detail/_task_handle.h b/include/oneapi/tbb/detail/_task_handle.h index 3089ab64ff..b0370e358f 100644 --- a/include/oneapi/tbb/detail/_task_handle.h +++ b/include/oneapi/tbb/detail/_task_handle.h @@ -1,6 +1,6 @@ /* Copyright (c) 2020-2025 Intel Corporation - Copyright (c) 2025 UX...
2
2
1
[{"id": "G0", "claim": "Now that task_group_status was moved to _task_handle.h, wait_for_completion should perhaps return task_group_status instead of a boolean.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The function does more than trying to get a s...
null
uxlfoundation__oneTBB__1889
uxlfoundation/oneTBB
1,889
defect
83ffdf71d18c0f8364c6979b944c1349d3d37dba
f4d15353dd556647d484efaf00fe765d9aaff334
Fix a set of AddressSanitizer and ThreadSanitizer issues
### Description _Add a comprehensive description of proposed changes_ Fixes # - _issue number(s) if exists_ ### Type of change _Choose one or multiple, leave empty if none of the other choices apply_ _Add a respective label(s) to PR if you have permissions_ - [x] bug fix - _change that fixes an issue...
diff --git a/cmake/sanitize.cmake b/cmake/sanitize.cmake index d07b32986a..8710e04fd1 100644 --- a/cmake/sanitize.cmake +++ b/cmake/sanitize.cmake @@ -1,4 +1,5 @@ -# Copyright (c) 2020-2022 Intel Corporation +# Copyright (c) 2020-2025 Intel Corporation +# Copyright (c) 2025 UXL Foundation Contributors # # Licensed un...
6
4
0
[{"id": "G0", "claim": "Delete the `_GLIBCXX_NO_ASSERTIONS` debug compile definition that the pull request adds to src/tbbmalloc/CMakeLists.txt (an empty suggestion block on the added line).", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The change from ...
null
uxlfoundation__oneTBB__1928
uxlfoundation/oneTBB
1,928
defect
52a7b3739885303b3759ba8c0f114b9f6c989402
62a3b582ee23447b3b2f3098e90d71c521bfdb9a
Fix Task Dynamic Dependencies when RTTI is disabled
### Description Replace dynamic_cast with a static_cast to allow TBB build and Task Dynamic Dependencies usage when RTTI is disabled Fixes #1912 ### Type of change _Choose one or multiple, leave empty if none of the other choices apply_ _Add a respective label(s) to PR if you have permissions_ - [x] bu...
diff --git a/include/oneapi/tbb/detail/_task_handle.h b/include/oneapi/tbb/detail/_task_handle.h index 3089ab64ff..18df921f50 100644 --- a/include/oneapi/tbb/detail/_task_handle.h +++ b/include/oneapi/tbb/detail/_task_handle.h @@ -134,9 +134,56 @@ class task_dynamic_state { std::atomic<std::size_t> m_num_reference...
3
2
0
[{"id": "G0", "claim": "The extra TBB_USE_DEBUG condition in the #if guarding the assert in get_dynamic_state is unnecessary and should just check __TBB_USE_OPTIONAL_RTTI.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks whether the change also a...
null
uxlfoundation__oneTBB__1964
uxlfoundation/oneTBB
1,964
defect
3ebfedd8638e3bf39db754d458099684488ad8f4
b6e37518959a2d5f301b581fbc4e9af0fc1a0786
Add resource_limited_node and resource_limiter to the Flow Graph
### Description Fixes # - _issue number(s) if exists_ ### Type of change _Choose one or multiple, leave empty if none of the other choices apply_ _Add a respective label(s) to PR if you have permissions_ - [ ] bug fix - _change that fixes an issue_ - [ ] new feature - _change that adds functionalit...
diff --git a/include/oneapi/tbb/detail/_config.h b/include/oneapi/tbb/detail/_config.h index 6b46bba2c1..ce56e16151 100644 --- a/include/oneapi/tbb/detail/_config.h +++ b/include/oneapi/tbb/detail/_config.h @@ -530,6 +530,11 @@ || TBB_PREVIEW_FLOW_GRAPH_TRY_PUT_AND_WA...
17
10
4
[{"id": "G0", "claim": "The resource_provider_base interface needs a way to dynamically update the node's priority (suggested as a new virtual update_priority(consumer_type&, priority_type), with report_pressure named as an alternative).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introd...
null
uxlfoundation__oneTBB__1978
uxlfoundation/oneTBB
1,978
defect
e2d1e0fbd25f028015e471011758b19d9bdefc41
fea7912b31d733261e0204207d9178d4cf70347a
Add task_group::get_status_of API
### Description Add `task_group_status get_status_of(task_completion_handle&)` API Fixes # - _issue number(s) if exists_ ### Type of change _Choose one or multiple, leave empty if none of the other choices apply_ _Add a respective label(s) to PR if you have permissions_ - [ ] bug fix - _change that f...
diff --git a/include/oneapi/tbb/detail/_task_handle.h b/include/oneapi/tbb/detail/_task_handle.h index b0370e358f..3ef1226896 100644 --- a/include/oneapi/tbb/detail/_task_handle.h +++ b/include/oneapi/tbb/detail/_task_handle.h @@ -33,6 +33,15 @@ namespace d2 { class task_handle; +enum task_group_status { + not_...
2
2
1
[{"id": "G0", "claim": "The placeholder variable incremented by tasks and read by the main thread should be atomic.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The transfer test should also check that placeholder equals 3 to verify all task bodie...
null
uxlfoundation__oneTBB__1987
uxlfoundation/oneTBB
1,987
defect
51aa602dfef892e412a2b844e98f3897b3ad57bc
05acbb9ad28e79468ed0a10a826e27b18839157d
Implement multiple core type constraints using selectors
### Description _Add a comprehensive description of proposed changes_ Fixes # - _issue number(s) if exists_ ### Type of change _Choose one or multiple, leave empty if none of the other choices apply_ _Add a respective label(s) to PR if you have permissions_ - [ ] bug fix - _change that fixes an issue...
diff --git a/include/oneapi/tbb/detail/_config.h b/include/oneapi/tbb/detail/_config.h index 2fc1ac3877..9b65f3c733 100644 --- a/include/oneapi/tbb/detail/_config.h +++ b/include/oneapi/tbb/detail/_config.h @@ -548,6 +548,10 @@ #define __TBB_PREVIEW_PARALLEL_PHASE 1 #endif +#if TBB_PREVIEW_AFFINITY_SELECTOR || __TB...
8
5
0
[{"id": "G0", "claim": "A feature test macro (suggested name TBB_HAS_AFFINITY_SELECTOR) needs to be added for the new preview feature.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The name core_type_id_bits is misleading for a value that is the width o...
null
uxlfoundation__oneTBB__1997
uxlfoundation/oneTBB
1,997
defect
6f0ba27e6c669fe4ec6cf2fe54a88343f1d6e18f
9df12a30c0c1ea9aeff6e6330e958f1275438b39
Fix resource_limited_node exception safety
### Description Address comments from the main code review: - removed `time_point` from `request_id` - Fixed exception safety, added the test - Fixed brief comments Fixes # - _issue number(s) if exists_ ### Type of change _Choose one or multiple, leave empty if none of the other choices apply_ _Add...
diff --git a/include/oneapi/tbb/detail/_flow_graph_resource_limiting.h b/include/oneapi/tbb/detail/_flow_graph_resource_limiting.h index dcc98525c0..d4d28519e3 100644 --- a/include/oneapi/tbb/detail/_flow_graph_resource_limiting.h +++ b/include/oneapi/tbb/detail/_flow_graph_resource_limiting.h @@ -21,7 +21,6 @@ #error...
1
1
1
[{"id": "G0", "claim": "The same resource_limiter should also be used after the exception, perhaps from a different graph, to check that the resource_limiter is restored to a usable state, i.e. the resource was returned even though the resource_limited_node in the first graph threw an exception.", "category": "testing"...
null
uxlfoundation__oneTBB__2009
uxlfoundation/oneTBB
2,009
defect
1368bbf89b3286fdab9cfca2fe9a9a6b03c4d83f
79926fc85ee78b2ef0ad9861b4c86a305c2fa4ef
Use single year in copyright, update the checker
### Description Use only first year for UXL copyright, Intel copyrights should remain untouched. Fixes # - _issue number(s) if exists_ ### Type of change _Choose one or multiple, leave empty if none of the other choices apply_ _Add a respective label(s) to PR if you have permissions_ - [ ] bug fix - _c...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 451c24023c..d46152da40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -152,40 +152,66 @@ jobs: fetch-depth: 0 - name: Run check run: | - CHANGED_FILES=$(git diff --diff-filter=d --name-onl...
2
1
1
[{"id": "G0", "claim": "git diff --diff-filter=A can mark a file that was moved or renamed without `git mv` as new, so the new-file copyright check may wrongly fail for such files; the check should not fail in this case.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id...
null
uxlfoundation__oneTBB__2049
uxlfoundation/oneTBB
2,049
defect
49c45b1bcbfd4061e199d68044289b88be2e319d
19061f16e3d0d9d334767e4596ddfcefae256529
Document feature-test macros
### Description Add a table illustrating feature-test macros. WARNING: The PR should be merged only once the PRs with features documentation are merged to avoid broken links Fixes # - _issue number(s) if exists_ ### Type of change _Choose one or multiple, leave empty if none of the other choices apply_ ...
diff --git a/doc/main/reference/examples/feature_test_macros.cpp b/doc/main/reference/examples/feature_test_macros.cpp new file mode 100644 index 0000000000..a979c0b3aa --- /dev/null +++ b/doc/main/reference/examples/feature_test_macros.cpp @@ -0,0 +1,55 @@ +/* + Copyright (c) 2026 UXL Foundation Contributors + + ...
3
2
1
[{"id": "G0", "claim": "The new example does not define the preview macro, so the preview parallel-phase feature it demonstrates will not be available; if intentional, the author is asked to confirm.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Ad...
null
uxlfoundation__oneTBB__667
uxlfoundation/oneTBB
667
defect
46d3acde264a12511db7c70c2aba2d2971de0a2a
6dd87d7f21cf1159ce4cf98a7cfa80a0c87b885a
Deallocate object with based on actual type
### Description `graph_task` deallocates another type than allocated. Provides actual type of object for `small_object_allocator` allocator. Fixes #639 - [x] - git commit message contains appropriate signed-off-by string _(see [CONTRIBUTING.md](https://github.com/oneapi-src/oneTBB/blob/master/CONTRIBUTING.md#pu...
diff --git a/include/oneapi/tbb/detail/_flow_graph_body_impl.h b/include/oneapi/tbb/detail/_flow_graph_body_impl.h index e7e0872f43..d0735702dd 100644 --- a/include/oneapi/tbb/detail/_flow_graph_body_impl.h +++ b/include/oneapi/tbb/detail/_flow_graph_body_impl.h @@ -260,9 +260,14 @@ class forward_task_bypass : public g...
4
2
1
[{"id": "G0", "claim": "Instead of adding the DerivedType template parameter, an overload `void deallocate(void* ptr, size_t size, const execution_data& ed)` should be introduced so the call can become `allocator.deallocate(this, sizeof(this), ed)`, avoiding one more template parameter.", "category": "design", "verdict...
null
uxlfoundation__oneTBB__735
uxlfoundation/oneTBB
735
defect
ec39c5463d5fbfe01150bcd8cbfe60b5e064d693
8d08166becd2cb8efdf3d1d722a54dfe3394ee82
Fix incorrect resize behavior with first_block
### Description Fixed `resize` behavior for case when new size lesser than old size. There is a bug in `concurrent_vector` that was reproduced when `resize `marked segment (that owned by `my_first_block`) as deleted ([code](https://github.com/oneapi-src/oneTBB/blob/f1ba69bde9e948594dde5d2d9dd094550bd81099/include/one...
diff --git a/include/oneapi/tbb/concurrent_vector.h b/include/oneapi/tbb/concurrent_vector.h index 94a22b92c6..33aaa676fd 100644 --- a/include/oneapi/tbb/concurrent_vector.h +++ b/include/oneapi/tbb/concurrent_vector.h @@ -644,6 +644,22 @@ class concurrent_vector } } + segment_type nullify_segment( s...
3
3
1
[{"id": "G0", "claim": "The exchange in nullify_segment should use std::memory_order_relaxed as well instead of the default sequentially consistent ordering (left to the author's discretion).", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new se...
null
uxlfoundation__oneTBB__886
uxlfoundation/oneTBB
886
defect
dce182a7b554becada120472659be1b25f89051c
3b76616fd3dd936925df27f51529115005c62e9c
Fix concurrent queues not to require default constructor from T
### Description Fix the issue with `concurrent_queue` and `concurrent_bounded_queue` classes that required the default constructor of T to be present for `clear()` method and hence the destructor. Fixes #885 - [ ] - git commit message contains an appropriate signed-off-by string _(see [CONTRIBUTING.md](https...
diff --git a/include/oneapi/tbb/concurrent_queue.h b/include/oneapi/tbb/concurrent_queue.h index 18f5bc80cf..d1da6be9b4 100644 --- a/include/oneapi/tbb/concurrent_queue.h +++ b/include/oneapi/tbb/concurrent_queue.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2005-2021 Intel Corporation + Copyright (c) 2005-2022 Intel Cor...
7
7
1
[{"id": "G0", "claim": "The new test file should end with an empty line (add a newline at end of file).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new test looks like a requirement/interfaced-behaviour test, so it should be moved to the ...
null
uxlfoundation__oneTBB__939
uxlfoundation/oneTBB
939
defect
6bfd29bde7e9c47bdfc3ae8a1670ea961c95c78c
e62615e2d462e0d37e9d78dab40f8843e3b731af
Handle case when LRU history capacity is zero
Signed-off-by: Isaev, Ilya <ilya.isaev@intel.com> ### Description Current implementation of `concurrent_lru_cache` doesn't handle case when `number_of_lru_history_items` equals zero. This patch is inspired by #263 Fixes #265 - [x] - git commit message contains an appropriate signed-off-by string _(see [CO...
diff --git a/include/oneapi/tbb/concurrent_lru_cache.h b/include/oneapi/tbb/concurrent_lru_cache.h index 29ee3bd9d2..e73cc98da9 100644 --- a/include/oneapi/tbb/concurrent_lru_cache.h +++ b/include/oneapi/tbb/concurrent_lru_cache.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2005-2021 Intel Corporation + Copyright (c) 200...
2
1
1
[{"id": "G0", "claim": "The LRU cache should be reworked to use tbb::collaborative_once_flag in operator[] to avoid a potential moonlighting deadlock.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The call_count check does not guarantee that the el...
null
uxlfoundation__oneTBB__945
uxlfoundation/oneTBB
945
defect
83ffdf71d18c0f8364c6979b944c1349d3d37dba
c39a554869350b921abbe0d6ec6a6dd0fcefccf4
Flow Graph - remove C++03 legacy
### Description Rewrite Flow Graph join_node and indexer_node to use variadic templates. Follow up for #437 Fixes # - _issue number(s) if exists_ - [ ] - git commit message contains an appropriate signed-off-by string _(see [CONTRIBUTING.md](https://github.com/oneapi-src/oneTBB/blob/master/CONTRIBUTING.md#...
diff --git a/include/oneapi/tbb/detail/_flow_graph_indexer_impl.h b/include/oneapi/tbb/detail/_flow_graph_indexer_impl.h index a743310079..1a2ee5143a 100644 --- a/include/oneapi/tbb/detail/_flow_graph_indexer_impl.h +++ b/include/oneapi/tbb/detail/_flow_graph_indexer_impl.h @@ -1,5 +1,6 @@ /* - Copyright (c) 2005-2...
17
16
0
[{"id": "G0", "claim": "Move the graph-related test helpers such as edge_maker out of conformance_flowgraph.h into a common graph-helpers header.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a helper in edge_maker for connecting the submit...
null
uxsolutions__bootstrap-datepicker__1280
uxsolutions/bootstrap-datepicker
1,280
defect
c2a03d90609659f16b3d6e6c52fb35f5e9884286
7e71a7169a9700d96b31c4217199a4afeb1b8992
Added option to not show datepicker on readonly field
This option fixes #1231. The default behavior is restored and displaying of the datepicker can be disabled for readonly inputs if a users wants it that way. Not sure if the option name is a good name
diff --git a/docs/options.rst b/docs/options.rst index 8caf5f57f..f67892e57 100644 --- a/docs/options.rst +++ b/docs/options.rst @@ -290,3 +290,10 @@ disableTouchKeyboard Boolean. Default: false If true, no keyboard will show on mobile devices + +enableOnReadonly +---------------- + +Boolean. Default: true + +If f...
1
1
0
[{"id": "G0", "claim": "The new readonly-option tests declare a `target` variable that is never used and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
uxsolutions__bootstrap-datepicker__1367
uxsolutions/bootstrap-datepicker
1,367
defect
4e04b8aaef270003a417a6d35ecf513c26ca8f69
babc68cb5e46672df3bef4e14cca9b190969d7b1
Updates for zh-cn/zh-tw. Korean language support.
Our translation team prefers the usage of [month number]月 for month selection as this is more commonly seen (one big example is the Windows date-time picker). This also allows better spacing for November and December which are 3 characters long and they run together. Solution: Switch `monthsShort` for zh-cn/zh-tw to ...
diff --git a/js/bootstrap-datepicker.js b/js/bootstrap-datepicker.js index 4350d6833..f6e253599 100644 --- a/js/bootstrap-datepicker.js +++ b/js/bootstrap-datepicker.js @@ -905,12 +905,14 @@ endMonth = this.o.endDate !== Infinity ? this.o.endDate.getUTCMonth() : Infinity, todaytxt = dates[this.o.language].tod...
6
5
0
[{"id": "G0", "claim": "The picker title built by js/bootstrap-datepicker.js:912 is not localized for Chinese — feedback says it should use a format like \"yyyy年mm月\" — and hemp proposes adding a titleFormat key (\"yyyy年mm月\" for Chinese, defaulting to \"MM yyyy\" for English).", "category": "correctness", "verdict": "...
null
uxsolutions__bootstrap-datepicker__1558
uxsolutions/bootstrap-datepicker
1,558
defect
b7c2fc5117e646098ed59e227aa87313c88e9603
4b5b4dd5e23c9a56915f2b0d7ddd7b51221d6776
added keepEmptyValues option
If this option is set to true, it will stop propagation of a selected date to other, currently empty, pickers in a date range setup. Default for this option is false, to keep the current behavior. fixes #1454
diff --git a/docs/options.rst b/docs/options.rst index 6177c2885..538df6e35 100644 --- a/docs/options.rst +++ b/docs/options.rst @@ -284,6 +284,14 @@ Boolean. Default: false If true, selecting a year or month in the datepicker will update the input value immediately. Otherwise, only selecting a day of the month will u...
2
2
0
[{"id": "G0", "claim": "Add the keepEmptyValues option and its default value to the overview list at the bottom of docs/options.rst.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The default value of keepEmptyValues should be added to the default...
null
uxsolutions__bootstrap-datepicker__1723
uxsolutions/bootstrap-datepicker
1,723
defect
fa2514a9e11932dea6694c142a4e56b4c8ba8334
b21c4e409081b3eb6373a8972aad52d2f3676775
Adding dateCells option
Adds an option to add a data-date attribute with a timestamp representative of that cell's date. This makes bootstrap-datepicker more extensible when using callbacks. ![](http://j4p.us/2v0M3J0n4327/Screen%20Shot%202015-12-17%20at%203.35.43%20PM.png) Have not run `grunt dist` Added unit tests as well. ![](http://j4p....
diff --git a/js/bootstrap-datepicker.js b/js/bootstrap-datepicker.js index 57db78c48..00d779258 100644 --- a/js/bootstrap-datepicker.js +++ b/js/bootstrap-datepicker.js @@ -1062,7 +1062,8 @@ } clsName = $.unique(clsName); - html.push('<td class="'+clsName.join(' ')+'"' + (tooltip ? ' title="'+tooltip+'"'...
2
1
1
[{"id": "G0", "claim": "The debugging line `console.log(this.o.dateCells)` should be removed because the console object is not found and breaks the Travis build.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The dateCells option added by this pull ...
null
uxsolutions__bootstrap-datepicker__1891
uxsolutions/bootstrap-datepicker
1,891
defect
fbbd4d7a39fe355e6df9d470ff89495c3afba488
de3fde558be1cdad47c5df834ecf76e61f32ff40
Issue #721: Only trigger change date if new dates match the same leng…
This prevents the begin dates for erroneously getting changed when we are manually typing in a date.
diff --git a/js/bootstrap-datepicker.js b/js/bootstrap-datepicker.js index b3288698e..0a673fafb 100644 --- a/js/bootstrap-datepicker.js +++ b/js/bootstrap-datepicker.js @@ -809,8 +809,8 @@ } else if (dates.length){ // setting date by typing - if (String(oldDates) !== String(this.dates)) - this._trig...
3
3
2
[{"id": "G0", "claim": "The pull request's change to when changeDate fires ships without any test; add tests covering this bug so it cannot regress in the future.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "this.o.format is not always a string, so th...
null
uxsolutions__bootstrap-datepicker__2043
uxsolutions/bootstrap-datepicker
2,043
defect
3c5d3f037c305a3c2c3d1f42c107c10a568798e1
e1dfbbd32d524609df5d2c12bf4f76dedbd351a2
Allow customizing day cell value
| Q | A | | --- | --- | | Bug fix? | no | | New feature? | yes | | BC breaks? | no | | License | MIT |
diff --git a/docs/options.rst b/docs/options.rst index c8380a2f0..68aee828b 100644 --- a/docs/options.rst +++ b/docs/options.rst @@ -31,6 +31,7 @@ A function that takes a date as a parameter and returns one of the following val * ``enabled``: same as the Boolean value above * ``classes``: same as the String val...
5
4
4
[{"id": "G0", "claim": "The nested-day click handling added by the PR should use e.currentTarget instead of e.target, since with arbitrary HTML content e.target can be an inner element and the code as written would not work (to be verified with full tests).", "category": "correctness", "verdict": "supported", "priority...
null
uxsolutions__bootstrap-datepicker__802
uxsolutions/bootstrap-datepicker
802
defect
9e48783a799b851f8a23bd4693893cd2977f0a95
b6ad7eff8f859d880c4cf64eb1ab73f310ab0477
Option to prevent date picker to show when input field receives focus
Added a new option showOnFocus which can be set to false to prevent the date picker from showing when the input field associated with it receives focus. There are 5 failing tests, but these are also failing in master, so I have not done anything with them at the moment. 3 new tests have been added to verify the new...
diff --git a/.gitignore b/.gitignore index 3a0d5cd79..31cda50e2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ instrumented/ tests/coverage.html docs/_build + +/.idea/ + +*.iml diff --git a/js/bootstrap-datepicker.js b/js/bootstrap-datepicker.js index 6fbbeb3d2..e3466d6d8 100644 --- a/js/bootstrap-datepick...
4
3
0
[{"id": "G0", "claim": "Remove the IDEA entries added to the repository .gitignore and ignore them in a local global .gitignore instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The travis-ci build has some jshint issues that should be loo...
null
v2fly__v2ray-core__1293
v2fly/v2ray-core
1,293
defect
c278db5b77f58918d0b4971d8790814ac8306e81
c29a4c023eaad569341ab0b4d27cc28103666a07
Feat: custom TCP Fast Open queue length
As the design of Linux kernel, when server received TCP Fast Open SYN more than the queue length of TCP Fast Open, the SYN will not be processed as the TCP Fast Open SYN but will be processed as a normal TCP SYN.
diff --git a/infra/conf/transport_internet.go b/infra/conf/transport_internet.go index 26b03c03035..c1b886e0f99 100644 --- a/infra/conf/transport_internet.go +++ b/infra/conf/transport_internet.go @@ -387,6 +387,7 @@ func (p TransportProtocol) Build() (string, error) { type SocketConfig struct { Mark ...
1
1
0
[{"id": "G0", "claim": "On Linux, Go defaults the listener backlog to /proc/sys/net/core/somaxconn (4096 on the reviewer's system), so the default TFO queue length should be set to 4096 instead of 1 to match the default listener backlog.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "i...
null
v2fly__v2ray-core__1364
v2fly/v2ray-core
1,364
defect
5931240fb19b2f1b42cba834ddb9e9f499526b25
babac85df007c8416587c6d781992900e5400e39
Refactor strmatcher.MphMatcherGroup
As per description in https://github.com/v2fly/v2ray-core/discussions/1275#discussioncomment-1559883: > `MphMatcherGroup` uses an algorithm [Hash, displace, and compress](http://cmph.sourceforge.net/papers/esa09.pdf) to construct a minimal perfect hash table. It involves `1. a normal hash function`, and `2. a series...
diff --git a/common/strmatcher/matchergroup_mph.go b/common/strmatcher/matchergroup_mph.go index 0ec1146e8f3..d842e4486f4 100644 --- a/common/strmatcher/matchergroup_mph.go +++ b/common/strmatcher/matchergroup_mph.go @@ -10,134 +10,187 @@ import ( // PrimeRK is the prime base used in Rabin-Karp algorithm. const Prime...
1
1
1
[{"id": "G0", "claim": "The reviewer asks whether the empty matcher group situation (v2fly issue #785) is still handled properly now that the ruleCount==0 empty-rule fallback was deleted, and the author agrees a testcase for working with empty matchers should be added.", "category": "correctness", "verdict": "supported...
null