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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
uutils__util-linux__418 | uutils/util-linux | 418 | defect | fbc413ecbf7ca6b8c8beee6fd236e110ac450c41 | 417b7e73b1427f0b03700385d487c86339fff2bb | hexdump: Add tool | This supports the same functionality as util-linux hexdump except for --format and --color options. Output should be bit-exact, except as added bonus this supports the `-s` option on pipes and other non-seekable files. | diff --git a/Cargo.lock b/Cargo.lock
index d94f746a..8c597269 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1359,6 +1359,7 @@ dependencies = [
"uu_ctrlaltdel",
"uu_dmesg",
"uu_fsfreeze",
+ "uu_hexdump",
"uu_last",
"uu_lscpu",
"uu_lsipc",
@@ -1443,6 +1444,14 @@ dependencies = [
"uucore",
]
+[[package]]
+... | 2 | 1 | 0 | [{"id": "G0", "claim": "The test test_hexdump_skip_beyond_file asserts that skipping 100 bytes on piped stdin succeeds and prints 00000064, but the original hexdump fails on pipes with 'stdin: Illegal seek', so the test would not pass against upstream behaviour.", "category": "correctness", "verdict": "opposed", "prior... | null |
uutils__util-linux__68 | uutils/util-linux | 68 | defect | a53e1ea45eafafd8a9052bd9aadb35b4b59f3efd | f4a540d490844b723a0ed5c2ab477c3589cb74aa | lscpu: Add option --json | closes #15 | diff --git a/Cargo.lock b/Cargo.lock
index 6102ba18..95799891 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -235,6 +235,12 @@ dependencies = [
"windows-sys 0.48.0",
]
+[[package]]
+name = "itoa"
+version = "1.0.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49f1f14873335454500d596... | 2 | 2 | 1 | [{"id": "G0", "claim": "The Cargo.toml should not add the serde dependency and should keep only serde_json = { workspace = true }.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Tests should be added so the new --json behaviour does not regress.... | null |
uutils__util-linux__75 | uutils/util-linux | 75 | defect | 5ab27330e92ebe0fe682810fcc7d68c679af871e | a350434ffa712ff9f415a019a495860b0e430dd7 | rev: add option --zero | closes #74 | diff --git a/src/uu/rev/src/rev.rs b/src/uu/rev/src/rev.rs
index db1a907c..537b1af0 100644
--- a/src/uu/rev/src/rev.rs
+++ b/src/uu/rev/src/rev.rs
@@ -12,10 +12,21 @@ use uucore::{error::UResult, format_usage, help_about, help_usage};
const ABOUT: &str = help_about!("rev.md");
const USAGE: &str = help_usage!("rev.md"... | 3 | 3 | 2 | [{"id": "G0", "claim": "The pull request misunderstands how `rev --zero` works: with `--zero` the `\\0` byte is the line separator in the input, so the new test feeding `line A\\nline B` and expecting `A enil\\0B enil` asserts the wrong behaviour.", "category": "correctness", "verdict": "supported", "priority": "P1", "... | null |
uw-labs__lichen__16 | uw-labs/lichen | 16 | defect | 57054238c72831120ef5baa3a2a271d54addb946 | 7455e1434f02c9e90fb2ded824193a907c4385a0 | buildinfo: skip blank lines during parse | Resolves #15 | diff --git a/internal/buildinfo/parse.go b/internal/buildinfo/parse.go
index 961e793..108dcc3 100644
--- a/internal/buildinfo/parse.go
+++ b/internal/buildinfo/parse.go
@@ -73,6 +73,8 @@ func Parse(info string) ([]model.BuildInfo, error) {
}
case "build":
// introduced in Go 1.18 - not captured as we aren't ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment on the blank-line case is misspelled: \"pefixed\" should be \"prefixed\".", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
uxlfoundation__oneDNN__2877 | uxlfoundation/oneDNN | 2,877 | defect | f081ebd0ed982da5569bc14de3d2ae37fa7b15dd | 886bdc76acbe61fc89482f82b2df6427fbc02cf6 | ref: sycl: enable zp support in reorder and skip unsupported tests | # Description
This PR enables zero point support to the SYCL backend's reorder, and adds skips in benchdnn to skip unsupported cases for the SYCL backend
## General
- [X] Do all unit and benchdnn tests (`make test` and `make test_benchdnn_*`) pass locally for each commit?
- [X] Have you formatted the code usi... | diff --git a/src/gpu/generic/sycl/ref_reorder.cpp b/src/gpu/generic/sycl/ref_reorder.cpp
index 45d2e68f574c..a4859b15d9d6 100644
--- a/src/gpu/generic/sycl/ref_reorder.cpp
+++ b/src/gpu/generic/sycl/ref_reorder.cpp
@@ -27,15 +27,25 @@ namespace sycl {
status_t ref_reorder_t::pd_t::init_conf() {
conf_ = sycl_reord... | 12 | 10 | 3 | [{"id": "G0", "claim": "In scales_ok() the scales checks should pass the plain argument (DNNL_ARG_FROM / DNNL_ARG_TO) rather than DNNL_ARG_ATTR_SCALES | DNNL_ARG_FROM/TO to has_default_values.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Verbose s... | null |
uxlfoundation__oneDNN__2921 | uxlfoundation/oneDNN | 2,921 | defect | 2fa9425167a8c5057833051d8b486e9ccd78b314 | 4599fbd03fd906ae7db73e2cb74fec4e756ece33 | xe: sdpa: improve performance of quantized sdpa with a head size of 64 | # Description
This PR updates the configurations for the SDPA kernel to optimized for a head size of 64. These updates improve the performance of small head sizes by 1.1-1.5x on LNL. Performance in other platforms will be posted soon.
```
| mb | N | D | KV | Q | kdt | vdt | mask | quant ... | diff --git a/src/common/sdpa_test_iface.cpp b/src/common/sdpa_test_iface.cpp
index ed7e4a607521..eb21d7ac8132 100644
--- a/src/common/sdpa_test_iface.cpp
+++ b/src/common/sdpa_test_iface.cpp
@@ -32,10 +32,14 @@ dnnl_status_t DNNL_API sdpa_primitive_desc_create(
bool invert_scale, dnnl_dim_t kv_head_number, boo... | 2 | 2 | 0 | [{"id": "G0", "claim": "Replace the manual status_t err / if (err) return pattern in sdpa_primitive_desc_create with the CHECK macro on the two check calls, matching the PR's own style elsewhere.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Re... | null |
uxlfoundation__oneDNN__2980 | uxlfoundation/oneDNN | 2,980 | defect | 633978a82ec14ccc01a9cccaf173e89c25cbbc89 | aa6722e9137ea1c4b4b62926ce4929dd6a34aa02 | benchdnn: graph: support input displace for scalar | ## General
To support bottom-right casual mask( [RFC ](https://github.com/uxlfoundation/oneDNN/blob/yixin/rfc/graph-api-bottom-right-causal-mask/rfcs/20250314-graph-api-bottom-right-causal-mask/README.md)), Graph API will introduce scalar logical tensor. In current SDPA scenarios, the scalar values are relevant with... | diff --git a/tests/benchdnn/graph/input_displacer.cpp b/tests/benchdnn/graph/input_displacer.cpp
index be514cb14a6c..8f86f69ad56d 100644
--- a/tests/benchdnn/graph/input_displacer.cpp
+++ b/tests/benchdnn/graph/input_displacer.cpp
@@ -74,11 +74,26 @@ partition_data_displacer_t::partition_data_displacer_t(
... | 9 | 8 | 1 | [{"id": "G0", "claim": "Please use constexpr int constants here instead of a macro defined in a header file, for better readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The implicit causal mask filling value changed to a specific -1e3... | null |
uxlfoundation__oneDNN__2987 | uxlfoundation/oneDNN | 2,987 | defect | 633978a82ec14ccc01a9cccaf173e89c25cbbc89 | 159b6c69318916c6e7c8001fc8c20c4aa08011bf | [GPU] Fp4 conv | # Description
Enable fp4 support in jit and ref convolution.
Part of [MFDNN-12471](https://jira.devtools.intel.com/browse/MFDNN-12471)
# Checklist
## General
- [x] Do all unit and benchdnn tests (`make test` and `make test_benchdnn_*`) pass locally for each commit?
- [x] Have you formatted the code usi... | diff --git a/src/common/convolution.cpp b/src/common/convolution.cpp
index 4402d5724e9c..ec12170f91d3 100644
--- a/src/common/convolution.cpp
+++ b/src/common/convolution.cpp
@@ -116,6 +116,18 @@ status_t conv_desc_init(convolution_desc_t *conv_desc, prop_kind_t prop_kind,
VERBOSE_INCONSISTENT_DIM, "src", ... | 6 | 5 | 3 | [{"id": "G0", "claim": "The second one_of in the is_fp4 check repeats f4_e2m1; it should test f4_e3m0 so that f4_e3m0 data types are recognized as fp4.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The fp4 conv benchdnn input file should be moved u... | null |
uxlfoundation__oneDNN__3012 | uxlfoundation/oneDNN | 3,012 | defect | c37b48364dd88abd9bef8122fb74390ddc9bcf70 | 284efa160490ddedd87f59466f8e32a0cca74229 | xe: sdpa: Add support for bottom right causal mask type | # Description
This PR adds support for the bottom right causal mask for the SDPA micro kernel.
Fixes: https://jira.devtools.intel.com/browse/MFDNN-13388
| diff --git a/src/common/sdpa_pd.hpp b/src/common/sdpa_pd.hpp
index 30de9e2f795e..e686a59d8d7d 100644
--- a/src/common/sdpa_pd.hpp
+++ b/src/common/sdpa_pd.hpp
@@ -110,8 +110,8 @@ struct sdpa_pd_t : public primitive_desc_t {
return (attn_mask_md()->data_type != data_type::undef);
}
- /// If true, the ... | 4 | 4 | 1 | [{"id": "G0", "claim": "The causal mask enum should not sit in the global namespace with generic unprefixed values; it should follow the c_types_map.hpp pattern with dnnl_-prefixed values, a namespace counterpart, and a trailing comma after the last enumerator.", "category": "design", "verdict": "supported", "priority"... | null |
uxlfoundation__oneDNN__3068 | uxlfoundation/oneDNN | 3,068 | defect | 192c755375938d5667a72eda9745923585ac3fe0 | 0531ca3c0d976b8810ddfb14c0f068224e58c77a | add Root Mean Square (RMS) normalization support to Layer Normalization primitive | RFC: https://github.com/uxlfoundation/oneDNN/pull/3147.
Summary of changes:
- Added the `dnnl_rms_norm` flag to support RMS normalization in the layer normalization primitive
- Adjusted the number of inputs and outputs for the layer normalization primitive when using RMS normalization to not include mean statistic... | diff --git a/include/oneapi/dnnl/dnnl.hpp b/include/oneapi/dnnl/dnnl.hpp
index f06f8d702484..9ee4737a8a52 100644
--- a/include/oneapi/dnnl/dnnl.hpp
+++ b/include/oneapi/dnnl/dnnl.hpp
@@ -551,6 +551,14 @@ enum class normalization_flags : unsigned {
/// On training, normalization will require the workspace to implem... | 2 | 2 | 0 | [{"id": "G0", "claim": "A decision must be made, based on the RFC outcome on whether mean remains an output memory, before settling the get_kinds_to_check logic that skips the MEAN check under RMS normalization.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "clai... | null |
uxlfoundation__oneDNN__3123 | uxlfoundation/oneDNN | 3,123 | defect | 777707a80653cbd804c504f5e1bbae0278ca7400 | 3d205328b06c70182b1fd8af4a3d04eb325da8d6 | benchdnn: improve performance related to memory operations (fixes MFDNN-13451) | MFDNN-13451
Thanks to @echeresh, who pivoted all the optimizations from the tracker and provided a PoC for them.
This PR implements 4 out of 6 of specified in the tracker. 2 not included is check_zero_pad on inputs and simplified RNG-related filling changes.
On a list attached to the tracker the speed up looks... | diff --git a/tests/benchdnn/binary/binary.cpp b/tests/benchdnn/binary/binary.cpp
index a9e257ea1881..117d602f6add 100644
--- a/tests/benchdnn/binary/binary.cpp
+++ b/tests/benchdnn/binary/binary.cpp
@@ -82,7 +82,7 @@ int fill_mem(
// Remove zeroes in src1 to avoid division by zero.
if (input_i... | 4 | 3 | 1 | [{"id": "G0", "claim": "Rename the constructor parameter `prefill_memory` to `prefill` to align with the `/* prefill = */` argument comments.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new comment should spell the flag in matching case (... | null |
uxlfoundation__oneDNN__3151 | uxlfoundation/oneDNN | 3,151 | defect | 8a9f00554b497041767f2d680dce41658f9d8e91 | 01738cb5e79f501dde042b37d08fc66f4050c099 | benchdnn: utils: cfg: consolidate adjustment logic under one umbrella | * Update safe_n_acc to return fixed number of elements for very low precision dt.
* Move all logic spread across configs under a base config.
* Utilize a single call across cfgs to re-use the filling logic.
A better version of https://github.com/uxlfoundation/oneDNN/pull/3101 (the commit was reverted on main) whic... | diff --git a/tests/benchdnn/brgemm/cfg.cpp b/tests/benchdnn/brgemm/cfg.cpp
index e8204eee5a80..2a462b66d87e 100644
--- a/tests/benchdnn/brgemm/cfg.cpp
+++ b/tests/benchdnn/brgemm/cfg.cpp
@@ -1,5 +1,5 @@
/*******************************************************************************
-* Copyright 2022-2024 Intel Corpor... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rename `get_verbose` to something more descriptive, e.g. `verbose_print_fill_cfg`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
uxlfoundation__oneDNN__3153 | uxlfoundation/oneDNN | 3,153 | defect | d25a8443ffd142970bcf235d8089765450d49c79 | c1ecca4218caf8787080c833a643456fbeca014e | benchdnn: mem check: touch up | Update the clause upon which a warning message will pop up.
PR includes a test commit just to see if error is still triggered for anything, will be removed.
Also contains a small fix to a `--mem-check=false` scenario. | diff --git a/tests/benchdnn/common.cpp b/tests/benchdnn/common.cpp
index e1b4e806d969..a8fd5c51044d 100644
--- a/tests/benchdnn/common.cpp
+++ b/tests/benchdnn/common.cpp
@@ -278,8 +278,10 @@ struct memory_registry_t {
private:
size_t size() const { return total_size_; }
void warn_size_check() {
+ con... | 2 | 1 | 1 | [{"id": "G0", "claim": "The zmalloc bound should be set unconditionally (e.g. std::max(zmalloc_expected_size, 1 GB)) because with the 1 GB gate a much larger actual memory use (e.g. 16 GB vs 512 MB expected) will not be caught by the current logic.", "category": "correctness", "verdict": "supported", "priority": "P1", ... | null |
uxlfoundation__oneDNN__3165 | uxlfoundation/oneDNN | 3,165 | defect | 96be1ead1444c328e1c0351bec88c18370639a3e | ea3a88d7212b346887ae6e9867817cd2865ea11f | src: conv: introduce an additional call to attr_scales_ok (fixes MFDNN-13563) | MFDNN-13563
To split supported cases per engine kind/backends as the call serves a common ground for both of them. | diff --git a/src/common/convolution_pd.hpp b/src/common/convolution_pd.hpp
index fc02cc60c390..75d5c87e77c1 100644
--- a/src/common/convolution_pd.hpp
+++ b/src/common/convolution_pd.hpp
@@ -238,21 +238,85 @@ struct convolution_pd_t : public primitive_desc_t {
return ok;
}
- bool attr_scales_ok(const... | 2 | 2 | 0 | [{"id": "G0", "claim": "The newly added note comment should be reworded from \"It will handle it in this function though the `x * 2 + 1` equation\" to \"It will be handled in this function through the `x * 2 + 1` equation\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
uxlfoundation__oneDNN__3182 | uxlfoundation/oneDNN | 3,182 | defect | 476a1620c9a279e29c9ba3b9d0421e0b3eb59474 | 46745816f8e85bb4fdb1677048510b1073f5c033 | benchdnn: graph: fix input displace for bottom-right casual mask | ## General
Resolve MFDNN-13555. The first input of GE should subtract `q_seq_len` then add `kv_seq_len`. Added more testcase where `q_seq_len` != `kv_seq_len`. | diff --git a/tests/benchdnn/graph/input_displacer.cpp b/tests/benchdnn/graph/input_displacer.cpp
index b4a548e7ce45..ad7fdde69cbe 100644
--- a/tests/benchdnn/graph/input_displacer.cpp
+++ b/tests/benchdnn/graph/input_displacer.cpp
@@ -323,8 +323,8 @@ partition_data_displacer_t::partition_data_displacer_t(
... | 2 | 1 | 0 | [{"id": "G0", "claim": "TaoLv asks, as a precaution, whether this change affects the rls-v3.8 release branch.", "category": "process", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Since the swapped set_seq_len_displace_args arguments are easy to confuse, a comment should be add... | null |
uxlfoundation__oneDNN__3218 | uxlfoundation/oneDNN | 3,218 | defect | 72e39e2d0d3831e01de170d69211f7913b6b2fad | 6393fcba1e4cfb09a3139bcac57c5ad0288676a0 | gtests: graph: unit: fix failing gtests cases on nv gpu | - add `SKIP_IF_NV_GPU` macro
- skip unsupported cases
- fix UT expectations for nv gpu | diff --git a/tests/gtests/graph/unit/backend/dnnl/test_binary_op.cpp b/tests/gtests/graph/unit/backend/dnnl/test_binary_op.cpp
index 541e533d3046..3abc10a6a3fc 100644
--- a/tests/gtests/graph/unit/backend/dnnl/test_binary_op.cpp
+++ b/tests/gtests/graph/unit/backend/dnnl/test_binary_op.cpp
@@ -611,6 +611,7 @@ TEST(test... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new vendor guard is inverted: it asserts strided layout for Intel GPU and opaque for non-Intel GPU, the opposite of the 'Blocked layout is supported on intel gpu only' comment.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G4", "claim"... | null |
uxlfoundation__oneDNN__3227 | uxlfoundation/oneDNN | 3,227 | defect | 2a534eaf37df34a13215b9fe0c9eaa74f29003f7 | 744175bb34d62462f3bb8022bb97080b2ecc360b | graph: backend: dnnl: relax restriction for compressed SDPA dispatch and improve validation | ## Description
Resolve MFDNN-12857. Graph API used to support compressed SDPA while group_num=1 with primitive ukernel only due to the capability and validation issue. The PR relaxed the restriction and fixed some issues in benchdnn graph driver:
1. For input displacement with u8 weight, benchdnn graph will gener... | diff --git a/src/common/verbose.cpp b/src/common/verbose.cpp
index 57c8ea717ad8..b00cfb9a6f92 100644
--- a/src/common/verbose.cpp
+++ b/src/common/verbose.cpp
@@ -1589,6 +1589,8 @@ std::string init_info_sdpa(const engine_t *e, const pd_t *pd) {
ss << ",msk:causal:bottom_right";
}
+ ss << ",alg:" ... | 7 | 4 | 1 | [{"id": "G0", "claim": "The new compressed-k/kv/v test invocations in harness_mha_all should start with --reset like the surrounding cases.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment in gen_quantize_filling should end with the suggested ... | null |
uxlfoundation__oneDNN__3388 | uxlfoundation/oneDNN | 3,388 | defect | e6cf5f5807278972d9fa583d2b4729f148ed8606 | 59b5cccf81d67c73695c4f4b633bdec52b2059e7 | cpu: aarch64: extend brdgmm to support sve_128 | ### Description
This PR extends the existing brdgmm depthwise convolution implementation to support sve_128, providing a faster implementation for 3D depthwise convolution and specific cases of 2D depthwise convolution.
### Speed-up in oneDNN:
**For 3D depthwise convolution:**
`OMP_NUM_THREADS=2 ./benchdnn --... | diff --git a/include/oneapi/dnnl/dnnl.hpp b/include/oneapi/dnnl/dnnl.hpp
index c5607f10cd7a..1d2c6d2ee9c8 100644
--- a/include/oneapi/dnnl/dnnl.hpp
+++ b/include/oneapi/dnnl/dnnl.hpp
@@ -1,6 +1,7 @@
/*******************************************************************************
* Copyright 2016-2025 Intel Corporatio... | 3 | 1 | 1 | [{"id": "G0", "claim": "New format tags must not be added in the middle of the dnnl_format_tag_t enum because that breaks ABI compatibility; dnnl_decbA4a should be moved to the end of the list.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "FWD_D pr... | null |
uxlfoundation__oneDNN__3430 | uxlfoundation/oneDNN | 3,430 | defect | 8b485fb2210a8f92b7ea2175c0e4e5692b6fc79e | 395eff1f916a01922a7daf1228dfb25ab9fe9e46 | [GPU] WIP: GEMM enable Fp4 weights decompression | # Description
Permit decompression of fp4 weights in GEMM, reusing strategies for int4.
Fixes # MFDNN-13543
# Checklist
## General
- [x] Do all unit and benchdnn tests (`make test` and `make test_benchdnn_*`) pass locally for each commit?
- [x] Have you formatted the code using clang-format?
| diff --git a/src/common/matmul.cpp b/src/common/matmul.cpp
index 4f19c5aa608d..c73069290006 100644
--- a/src/common/matmul.cpp
+++ b/src/common/matmul.cpp
@@ -64,9 +64,9 @@ status_t matmul_attr_check(const matmul_desc_t &desc, const engine_t *engine,
// weights decompression.
const bool wei_is_int = utils::on... | 3 | 1 | 0 | [{"id": "G0", "claim": "Returning \"F\" for both fp4 and int4 in the mode-matching lambdas might cause problems later if anyone ever asks for int4 * int4 GEMMs.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The formatting of the new wei_is_fp8_fp4 ... | null |
uxlfoundation__oneDNN__3448 | uxlfoundation/oneDNN | 3,448 | defect | ad71cb3456d20037e0a1c242407559d3d4ed0325 | 1c9e4056ef6550899fb82c68b9b61e6009055493 | benchdnn: graph: support non-contiguous tensor validation for matmul and strides rewriting | ## General
Resolve MFDNN-10785, to support non-contiguous memory validation for packed QKV.
- [x] support validation for strides that cannot be represented in tags: in this case, the graph driver will respect the strides.
- [x] support strides rewriting through `--in-shapes` knob
- [x] change tag rewriting: `--... | diff --git a/tests/benchdnn/doc/driver_graph.md b/tests/benchdnn/doc/driver_graph.md
index 98ae2e47d333..02848230c789 100644
--- a/tests/benchdnn/doc/driver_graph.md
+++ b/tests/benchdnn/doc/driver_graph.md
@@ -13,32 +13,42 @@
individual test case. The option doesn't take effect for
operations that don't ... | 9 | 8 | 1 | [{"id": "G0", "claim": "The doc's `STRIDE/TAG` notation reads like syntax; it should use `STRIDES` uniformly, explain that `STRIDES` may be given as a tag (`abcd`) as a convenience shorthand for the full specification method, and note that an asterisk `*` is mandatory to allow modification of strides without shape modi... | null |
uxlfoundation__oneDNN__3473 | uxlfoundation/oneDNN | 3,473 | defect | 217d54be5a38333f122af53e3fee3d7d26690783 | 813d8c8c72255b0d4feb18c14120c94d9a7af67b | tests: benchdnn: graph: enable cpu mem_pool | complete task of JIRA 13799.
enable a simple benchdnn graph cpu mem_pool as gpu mem_pool.
| diff --git a/tests/benchdnn/graph/allocator.cpp b/tests/benchdnn/graph/allocator.cpp
index 268d39909145..4b77d9a6c0b6 100644
--- a/tests/benchdnn/graph/allocator.cpp
+++ b/tests/benchdnn/graph/allocator.cpp
@@ -65,14 +65,11 @@ bool check_memory_size(size_t size) {
} // namespace
-#if DNNL_GPU_RUNTIME == DNNL_RUNTI... | 5 | 4 | 0 | [{"id": "G0", "claim": "Consider whether the memory pool should be applied for all benchdnn modes, not just performance mode.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Wrap the `!has_bench_mode_bit(mode_bit_t::corr) && is_cpu()` condition in a single ... | null |
uxlfoundation__oneDNN__3476 | uxlfoundation/oneDNN | 3,476 | defect | 217d54be5a38333f122af53e3fee3d7d26690783 | 82fba0a8551d1bf3ba66916fdc29464663bb384f | Benchdnn: per_tensor mask fixup | # Description
Switch default per_tensor mask from 0xfff to a value based on the number of dimensions in the masked tensor.
# Checklist
## General
- [x] Do all unit and benchdnn tests (`make test` and `make test_benchdnn_*`) pass locally for each commit?
- [x] Have you formatted the code using clang-format?... | diff --git a/src/common/gemm_pd.hpp b/src/common/gemm_pd.hpp
index 2180aada8803..b22bb7973af1 100644
--- a/src/common/gemm_pd.hpp
+++ b/src/common/gemm_pd.hpp
@@ -85,6 +85,15 @@ struct gemm_pd_t : public primitive_desc_t {
int n_inputs() const override { return 2; }
int n_outputs() const override { return 1... | 5 | 4 | 1 | [{"id": "G0", "claim": "Consider moving the new per_tensor_mask() helper out of matmul_pd_t to a shared place like src/common/utils.h.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added assert on ndims should also check the upper bound, i.e. assert(n... | null |
uxlfoundation__oneDNN__3557 | uxlfoundation/oneDNN | 3,557 | defect | da36b74f751a4caf34c739bfc56754cdaa31555e | 5c679eff21089d55afa6f310266122c90576ee56 | benchdnn: graph: improve error handling to skip illegal rewrite cases | ## Description
Fix MFDNN-13808. Currently, illegal rewriting in a test batch will terminate the whole program. This PR:
1. Improve error handling in the rewriter to report a SKIPPED instead of terminating directly.
2. Reorganize the functions in the flexible rewriter and add more comments. | diff --git a/tests/benchdnn/graph/bench_graph.cpp b/tests/benchdnn/graph/bench_graph.cpp
index f26d46db1377..53063cb3bafe 100644
--- a/tests/benchdnn/graph/bench_graph.cpp
+++ b/tests/benchdnn/graph/bench_graph.cpp
@@ -36,18 +36,27 @@ void check_correctness(const settings_t &s) {
for (const auto &i_mb : s.mb) {
... | 2 | 1 | 1 | [{"id": "G0", "claim": "A failed graph rewrite must not be reported as a valid case that is invisible from automated runs (the reviewer does not share that vision); parser-error handling with `continue` is unchanged behaviour, not part of the request.", "category": "correctness", "verdict": "supported", "priority": "P1... | null |
uxlfoundation__oneDNN__3615 | uxlfoundation/oneDNN | 3,615 | defect | 2bd6e963aa7086b612762e59ebcacabc2a388b68 | 100be3c24d32280020f10219c1df623e0c74286b | cpu, benchdnn: gnorm: corrected bwd compute formulae | Due to implementation difference caused by collecting statistics over spatial and channels in groups but scales over channels, the formulae are different from lnorm ones that were used.
TODO: would be nice to update formulae in the documentation...
This is a minor upgrade over #3584 (which I don't have an access ... | diff --git a/src/cpu/ref_group_normalization.cpp b/src/cpu/ref_group_normalization.cpp
index 78a0e9f113be..2fd09cff49b3 100644
--- a/src/cpu/ref_group_normalization.cpp
+++ b/src/cpu/ref_group_normalization.cpp
@@ -1,5 +1,5 @@
/*******************************************************************************
-* Copyrigh... | 6 | 4 | 0 | [{"id": "G0", "claim": "Reword the added formula comment block as suggested (e.g. 'beta(c)', no trailing semicolons, 'The rest of the values are computed at `Apply gradients` part').", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The per-point `ga... | null |
uxlfoundation__oneDNN__3634 | uxlfoundation/oneDNN | 3,634 | defect | 6dca89eb75c8e0f58d2ee15fe144e73b50fb559c | 4d698ce01c5aaf54157b3dd682cb1ff2dce1b3b2 | cpu: postops: dt support check | [MFDNN-8493](https://jira.devtools.intel.com/browse/MFDNN-8493)
The library was incorrectly accepting bf16/f16 data types in post-ops on the AVX2 architecture, where these data types are not natively supported. This was due to the absence of a check for supported post-ops data types.
I have implemented a function to ... | diff --git a/src/cpu/primitive_attr_postops.cpp b/src/cpu/primitive_attr_postops.cpp
index d6528ceddd09..f7dc8bbf1d02 100644
--- a/src/cpu/primitive_attr_postops.cpp
+++ b/src/cpu/primitive_attr_postops.cpp
@@ -16,6 +16,7 @@
#include <cmath>
+#include "cpu/platform.hpp"
#include "cpu/primitive_attr_postops.hpp"
... | 2 | 2 | 2 | [{"id": "G0", "claim": "Redesign the check as proposed: add a static data_type_ok to ref_binary_scalar_t, introduce a ref_sum_scalar_t holding skip_sum_ with its own data_type_ok and execute, add a static post_ops_ok(po) combining them with primitive_kind_ok, and replace primitive_kind_ok with post_ops_ok at every impl... | null |
uxlfoundation__oneDNN__3653 | uxlfoundation/oneDNN | 3,653 | defect | 05224abc8cf24db09e00d409663f67aba7c29e69 | b2f910cab0354cf2a64b7d053a78b226e8182418 | More fixes: x64 brgemm matmul weights quantization and benchdnn memory limits | [MFDNN-13868](https://jira.devtools.intel.com/browse/MFDNN-13868)
[MFDNN-13635](https://jira.devtools.intel.com/browse/MFDNN-13635)
After two commits from this PR the list reported in the PR has a single problem crashed:
```
--matmul --dt=bf16:u8:f32 --stag=bac --wtag=abc --dtag=abc --attr-scales=wei:per_ocic:bf1... | diff --git a/src/cpu/scale_utils.cpp b/src/cpu/scale_utils.cpp
index 146a7fb34a06..258aaa94681c 100644
--- a/src/cpu/scale_utils.cpp
+++ b/src/cpu/scale_utils.cpp
@@ -33,8 +33,8 @@ constexpr size_t scales_simd_w = 16;
void book_precomputed_scales(memory_tracking::registrar_t &scratchpad,
const scales_t &att... | 3 | 2 | 0 | [{"id": "G0", "claim": "Pass req_transpose into req_copy_scales instead of OR-ing the result with req_transpose at the call site in precompute_scales.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The early returns added to pd_t::init break the single e... | null |
uxlfoundation__oneDNN__3700 | uxlfoundation/oneDNN | 3,700 | defect | e6010f5c8788c1f289d6245b722d388232de0e3d | 4cbca3485e7cf1620dee1a7a3870498d6dfd638f | tests: benchnn: graph: address some technical debts | # Description
Address technical debts left from https://github.com/uxlfoundation/oneDNN/pull/3396:
- [x] MFDNN-13996: benchdnn: graph: recognize sdpa backward pattern before filling data for softmax stats
- [x] MFDNN-13998: benchdnn: graph: add a dedicate state for graph specific cases
- [x] MFDNN-13997: benchd... | diff --git a/tests/benchdnn/graph/deserialize.cpp b/tests/benchdnn/graph/deserialize.cpp
index 2ba06123f13f..8c6d5612fa9c 100644
--- a/tests/benchdnn/graph/deserialize.cpp
+++ b/tests/benchdnn/graph/deserialize.cpp
@@ -711,7 +711,6 @@ bool deserialized_graph_t::detect_sdpa_impl() const {
std::vector<std::reference... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new recognized-pattern condition wrapping the mask-filling block should be moved inside the `while` loop to simplify the changeset.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G3", "claim": "In graph_recognized_pattern_t, `ordina... | null |
uxlfoundation__oneDNN__3736 | uxlfoundation/oneDNN | 3,736 | defect | bb6bddcd5a3e0b35910ee7dd36ad49b533dfad01 | df7c70db505bd92cc39c08d520e358700c9da7e8 | xpu: sycl: remove is_host_accessible() workaround | This workaround is causing CPU RAM to be unexpectedly "double booked" by benchdnn. This workaround was introduced nearly 5 years ago, it is unlikely to be necessary at this point. | diff --git a/src/xpu/sycl/usm_memory_storage.hpp b/src/xpu/sycl/usm_memory_storage.hpp
index 2f43249ce013..8b976bed86d8 100644
--- a/src/xpu/sycl/usm_memory_storage.hpp
+++ b/src/xpu/sycl/usm_memory_storage.hpp
@@ -69,26 +69,8 @@ class usm_memory_storage_t : public memory_storage_base_t {
bool is_host_accessible()... | 1 | 1 | 0 | [{"id": "G0", "claim": "The benchdnn comment in tests/benchdnn/dnnl_common.cpp that documents the removed is_host_accessible() driver workaround probably needs adjustments now that this PR removes the workaround.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
uxlfoundation__oneDNN__3902 | uxlfoundation/oneDNN | 3,902 | defect | f1832d20d14898d3ca63cf5287912236caa22f96 | 4743dd3d7f3794e9d84d82f4eb59a9c6f69ab7a2 | [GPU] Add gemm support for gs16 weights decompression. | closes [MFDNN-13798](https://jira.devtools.intel.com/browse/MFDNN-13798) | diff --git a/src/common/matmul.cpp b/src/common/matmul.cpp
index 91add22dbc2..ee8eb17e7c6 100644
--- a/src/common/matmul.cpp
+++ b/src/common/matmul.cpp
@@ -155,11 +155,11 @@ status_t matmul_attr_check(const matmul_desc_t &desc, const engine_t *engine,
// multiple of 32.
VCHECK_MATMUL_UNIMPL(
... | 15 | 11 | 3 | [{"id": "G0", "claim": "The comments above the scale/zero-point group checks still say groups should be a multiple of 32 while the pull request relaxed the check to multiples of 16, so please update the comments along the way.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced... | null |
uxlfoundation__oneDNN__3909 | uxlfoundation/oneDNN | 3,909 | defect | 77db184ea56135d584d9b0d07b8ed83f7510c964 | 8206e84058698d3b48f696470387e886921e317f | [GPU] Add host side scalars support in SDPA primitive | PR implements host-side (and device-side) scalar support in SDPA primitive.
Addresses https://jira.devtools.intel.com/browse/MFDNN-13611
based on https://github.com/uxlfoundation/oneDNN/pull/3506
| diff --git a/src/common/sdpa_pd.hpp b/src/common/sdpa_pd.hpp
index 3682a14321f3..dc480bff4e59 100644
--- a/src/common/sdpa_pd.hpp
+++ b/src/common/sdpa_pd.hpp
@@ -96,6 +96,7 @@ struct sdpa_pd_t : public primitive_desc_t {
const memory_desc_t *key_md() const { return &desc_.k_desc; }
const memory_desc_t *val_m... | 6 | 6 | 4 | [{"id": "G0", "claim": "The newly added scale_desc member should be reflected in the serialization, operator== and hashing functions.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It may be worth adding the scale's dimension string to the SDPA verb... | null |
uxlfoundation__oneDNN__4182 | uxlfoundation/oneDNN | 4,182 | defect | 7b3f2af13c3ba0fbbe5d0491d8d111996ac9ebd6 | 2443dd82d27bbe9a516b5333e7e4c2d999db7ea7 | tests: add asynchronous Eigen threadpool runtime implementation | Introduces future asynchronous Eigen threadpool runtime.
This action introduces a dependency on custom XLA package in async Eigen threadpool implementation. | diff --git a/cmake/Threadpool.cmake b/cmake/Threadpool.cmake
index 49fd633e4a77..416fc2d1cb9a 100644
--- a/cmake/Threadpool.cmake
+++ b/cmake/Threadpool.cmake
@@ -32,11 +32,24 @@ if("${DNNL_CPU_THREADING_RUNTIME}" STREQUAL "THREADPOOL")
endif()
endif()
- if("${_DNNL_TEST_THREADPOOL_IMPL}" STREQUAL "E... | 8 | 6 | 3 | [{"id": "G0", "claim": "The _DNNL_TEST_THREADPOOL_IMPL doc string in cmake/options.cmake still lists only \"STANDALONE, EIGEN, TBB\" as valid values and should also list the new EIGEN_ASYNC value.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The... | null |
uxlfoundation__oneDNN__4217 | uxlfoundation/oneDNN | 4,217 | defect | 7b3d465399905b71705e38627574804fc049ffe5 | 90f3c56a3c847bf7dd150e1bf285d4ac0daf1dd5 | a few structural doc updates | - a few structural updates to remove duplications (by using direct links to examples)
- getting rid of weights decompression terminology (as unused/confused) in favor of weight-only quantization
- also some proofreading | diff --git a/doc/examples.md b/doc/examples.md
index aa2433baeef2..dc911a9eb323 100644
--- a/doc/examples.md
+++ b/doc/examples.md
@@ -22,6 +22,7 @@ The Functional API provides access to individual oneDNN primitives.
| @ref sycl_interop_usm_cpp | \copybrief sycl_interop_usm_cpp_brief |
| @ref gpu_opencl_interop_cpp |... | 2 | 2 | 0 | [{"id": "G0", "claim": "The term \"decompression\" is not widely adopted, so it should be removed everywhere rather than given a new definition in the quantization doc.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fix the grammar of the newly ad... | null |
uxlfoundation__oneDNN__4284 | uxlfoundation/oneDNN | 4,284 | defect | 808dd43eb5e722e3cc0247596772be7f24ad2343 | be79d0dd546f7f6ebee56220dbf276ebb6339021 | converter: update ukernel to provide a working benchdnn line | [MFDNN-14361](https://jira.devtools.intel.com/browse/MFDNN-14361)
ukernel juggles with wtag, strides and ld options when it comes to ukernel API. Updated the routine to provide relevant options. | diff --git a/scripts/verbose_converter/src/benchdnn_generator.py b/scripts/verbose_converter/src/benchdnn_generator.py
index 51e1384dae0f..3131cd637ce4 100644
--- a/scripts/verbose_converter/src/benchdnn_generator.py
+++ b/scripts/verbose_converter/src/benchdnn_generator.py
@@ -458,7 +458,7 @@ def tags(self):
... | 2 | 2 | 0 | [{"id": "G0", "claim": "The newly added ld_letter computation in BRGEMMConverter.tags is unused leftover code and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Adding StridesMixin to BRGEMMConverter's bases is unnecessary sin... | null |
uxlfoundation__oneDNN__4309 | uxlfoundation/oneDNN | 4,309 | defect | ff202e8fc8e8f3e1e74fbec2187f186dd8a1ee91 | d0de92ed6d12b2f508ac5d0a40fa04ac90080536 | tests: benchdnn: graph: support benchdnn graph tests for 1DxnD matmul… | support benchdnn graph 1D x nD mamtul post op tests. | diff --git a/tests/benchdnn/graph/setting_handler.cpp b/tests/benchdnn/graph/setting_handler.cpp
index 8f58e5885a13..5c8aee24ed8b 100644
--- a/tests/benchdnn/graph/setting_handler.cpp
+++ b/tests/benchdnn/graph/setting_handler.cpp
@@ -1290,6 +1290,63 @@ ::lnorm::settings_t get_setting(
namespace matmul {
+// tenso... | 3 | 2 | 0 | [{"id": "G0", "claim": "Change the 2304 shape in the new matmul_1dx2d_post_mul_fusion.json test to something smaller so it does not resemble the original case.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Merge the `else` and `SRC` branches of the mat... | null |
uxlfoundation__oneDNN__4322 | uxlfoundation/oneDNN | 4,322 | defect | 5a92cc4cad84b1abc93845a48f0b2ba86527a1f2 | ff6fe761f933c81ab5151acfeb873c46e9b785d4 | cpu: rv64: add runtime Zvfh detection and platform support | # Description
While `DNNL_RISCV_USE_ZVFH_INTRINSICS` is a compile-time variable that authorizes the compiler to generate `Zvfh` instructions, runtime detection of the `Zvfh` extension is also required to ensure portability of the compiled binary.
This runtime check is necessary for the oneDNN dispatching mechanis... | diff --git a/src/cpu/platform.cpp b/src/cpu/platform.cpp
index 50ac35007f52..82555a192bb3 100644
--- a/src/cpu/platform.cpp
+++ b/src/cpu/platform.cpp
@@ -38,6 +38,8 @@
// For checking if fp16 isa is supported on the platform
#include "arm_compute/core/CPP/CPPTypes.h"
#endif
+#elif DNNL_RV64
+#include "cpu/rv64/cpu_... | 3 | 3 | 1 | [{"id": "G0", "claim": "With the PR's platform-level f16 support enabled, RV64 graph tests whose partitions the primitives reject are reported UNIMPLEMENTED but counted as FAILED (failing test_benchdnn_modeC_graph_ci_cpu) instead of being skipped, and the driver's skip path should set res->state to SKIPPED (the author ... | null |
uxlfoundation__oneDNN__4354 | uxlfoundation/oneDNN | 4,354 | defect | 3d80d73d98152f801880e9efdb68231d4860db47 | bdf6bda66026a834f26b93f8c577ec5c80da8e5f | gpu: intel: ocl: allow unlimited allocations | Allow allocation of buffers bigger than `CL_DEVICE_MAX_MEM_ALLOC_SIZE` limited by `CL_DEVICE_GLOBAL_MEM_SIZE`. | diff --git a/src/gpu/intel/compute/dispatch_reusable.hpp b/src/gpu/intel/compute/dispatch_reusable.hpp
index c3074e56a003..0851622c1e86 100644
--- a/src/gpu/intel/compute/dispatch_reusable.hpp
+++ b/src/gpu/intel/compute/dispatch_reusable.hpp
@@ -534,6 +534,7 @@ class reusable_dispatch_t {
dim_t max_buffer_siz... | 3 | 2 | 0 | [{"id": "G0", "claim": "The `static` properties array passed to the CL allocation calls is questionable and the code offers no scalable way to extend it, so a TODO noting that direction would help.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
uxlfoundation__oneDNN__4392 | uxlfoundation/oneDNN | 4,392 | defect | 79ca95d1052b550777c5b66769132dc1e07ca948 | 542c3b365b9a460fcf9483374469caa0d2477969 | graph: enable RMSNorm OP | enable RMSNorm in oneDNN Graph
RFC: rfcs: graph api: support rms norm #4291
JIRA: MFDNN-14313
[oneDNN Graph][TF-CPU] Support RMSNorm via OneDNN Graph API | diff --git a/doc/graph/operations/RMSNorm.md b/doc/graph/operations/RMSNorm.md
new file mode 100644
index 000000000000..8b0633a0b890
--- /dev/null
+++ b/doc/graph/operations/RMSNorm.md
@@ -0,0 +1,56 @@
+RMSNorm {#dev_guide_op_rmsnorm}
+===============================
+
+## General
+
+RMSNorm (Root Mean Square Layer Nor... | 8 | 5 | 1 | [{"id": "G0", "claim": "Rename get_arg_indices_for_lnorm_and_gnorm to get_arg_indices_for_norm, since the helper now also serves RMSNorm.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Setting keep_stats=false for the lowered RMSNorm op is confu... | null |
uxlfoundation__oneDNN__4429 | uxlfoundation/oneDNN | 4,429 | defect | 5415f9778ecd94014a480a1eb520e1657183f9ee | 133fd082bec6ff2c01171c357c75fd2becda7f01 | third_party: ngen: restore PVC WAR bug workaround | Port of #4423 + regression test.
The regression test covers two cases from MFDNN-14449 and MFDNN-13404. It's not super-straightforward though:
- The test sets driver environment variables via CMake `set_tests_properties` + `PROPERTIES ENVIRONMENT` to trigger the bug
- It's specific to `f64` and PVC so I added an... | diff --git a/src/gpu/intel/compute/device_info.hpp b/src/gpu/intel/compute/device_info.hpp
index dbc5ddf187c3..6e2319be1bbc 100644
--- a/src/gpu/intel/compute/device_info.hpp
+++ b/src/gpu/intel/compute/device_info.hpp
@@ -49,7 +49,7 @@ struct alignas(int) gpu_product_t {
unsigned char data[12];
};
-static inli... | 1 | 1 | 0 | [{"id": "G0", "claim": "A comment explaining why the NEOReadDebugKeys/OverrideThreadArbitrationPolicy environment is needed and what is special about this test (or a referral to a description inside the test) should be added.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"... | null |
uxlfoundation__oneDNN__4469 | uxlfoundation/oneDNN | 4,469 | defect | 4bfa25483c763fc67676a839632e0908e7293113 | d60a1611cded6c031bd7a933ff8e8f320d88c728 | xe: binary: gracefully handle empty tensors | Addresses [MFDNN-14487](https://jira.devtools.intel.com/browse/MFDNN-14487). | diff --git a/src/gpu/intel/binary/xe.hpp b/src/gpu/intel/binary/xe.hpp
index cd60ddf14536..a8210cddb60c 100644
--- a/src/gpu/intel/binary/xe.hpp
+++ b/src/gpu/intel/binary/xe.hpp
@@ -100,6 +100,10 @@ struct xe_t : public primitive_t {
&& dst_md()->data_type == u8),
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use the existing `has_zero_dim_memory()` interface instead of a hand-rolled loop over the dst tensor's dimensions for the empty-tensor check.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
uxlfoundation__oneDNN__4501 | uxlfoundation/oneDNN | 4,501 | defect | 7513f1f227e9eb26c20f8908151b5126d650857e | cf0e687a2e6fa5c645bd6d0a6331bbccc7b2ad50 | [GPU] Add Softmax/Eltwise Dropout attr support | This PR is part 2 of adding dropout support for SDPA. This PR covers support for simple softmax kernel and ref eltwise kernel
Part 1 was here: https://github.com/uxlfoundation/oneDNN/pull/4494
| diff --git a/src/gpu/intel/eltwise/ref.cl b/src/gpu/intel/eltwise/ref.cl
index 9a9c556c3af7..43eb2cbac74c 100644
--- a/src/gpu/intel/eltwise/ref.cl
+++ b/src/gpu/intel/eltwise/ref.cl
@@ -13,10 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
***********... | 2 | 1 | 0 | [{"id": "G0", "claim": "Non-s64 (s32) seed is still supported through the API but cannot be exercised through benchdnn, and it should be enabled there so the full range of supported seed types can be tested.", "category": "testing", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
uxlfoundation__oneDNN__4545 | uxlfoundation/oneDNN | 4,545 | defect | 3e517d62e0442e0b4856cb169349d53bd3499506 | a3217084cac9a9278dbc681274b6c467c7cd9996 | cpu: rv64: conv: jit: add jit rvv 1x1 conv kernel | # Description
This PR introduces optimized 1x1 convolution primitives for RISC-V architectures using JIT RVV coding with `xbyak_riscv_v`.
This initial version provides:
1. **JIT-compiled 1x1 convolution kernel** leveraging RVV vector instructions
2. **Dynamic ur (unroll ratio) selection algorithm** adapted fr... | diff --git a/src/cpu/cpu_convolution_list.cpp b/src/cpu/cpu_convolution_list.cpp
index 054a6ada297..03b28666b1f 100644
--- a/src/cpu/cpu_convolution_list.cpp
+++ b/src/cpu/cpu_convolution_list.cpp
@@ -74,6 +74,7 @@ using namespace dnnl::impl::cpu::x64;
using namespace dnnl::impl::cpu::aarch64;
#elif DNNL_RV64
#if de... | 4 | 4 | 0 | [{"id": "G0", "claim": "A named enum should be used instead of the FLAG_REDUCE_FIRST/FLAG_REDUCE_LAST macros, preferably one that can be shared with other implementations.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The dimension fields shoul... | null |
uxlfoundation__oneDNN__4571 | uxlfoundation/oneDNN | 4,571 | defect | 390e2ad58840056a9713343c632a94bd29b617ed | 4556dbbc7cdb9ba1e8ff7dac8266c66beb434334 | [GPU] GEMM: fix issues with host scalars and scales | Spotted a few issues:
- Missing matmul reference kernel coverage for FP8 scales
- Incorrect weights groups check in `matmul_pd.hpp`
- Incorrect `dnnl_memory_create_host_scalar()` call from benchdnn due to type mismatch
- Naming: use `swap_ab` and `host_scalar` in JIT GEMM | diff --git a/src/common/matmul_pd.hpp b/src/common/matmul_pd.hpp
index c5629ee3c208..2c2a71a5f802 100644
--- a/src/common/matmul_pd.hpp
+++ b/src/common/matmul_pd.hpp
@@ -212,8 +212,8 @@ struct matmul_pd_t : public primitive_desc_t {
if (arg == DNNL_ARG_WEIGHTS) {
const auto &g0 = scales.g... | 4 | 3 | 0 | [{"id": "G0", "claim": "dnnl_memory.hpp should include <type_traits> since it uses std::decay.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "get_dt should be moved to numeric.hpp and expanded with all supported data types to avoid surprises.", ... | null |
uxlfoundation__oneDNN__4630 | uxlfoundation/oneDNN | 4,630 | defect | aafcd9a1e2c33471a00e02ab1c2bedc01abfa930 | 817a084dab9748e7f8c07f86c3ddc8b37bca5ac7 | Deprecate f4_e3m0 | First step in addressing [MFDNN-14089](https://jira.devtools.intel.com/browse/MFDNN-14089). | diff --git a/doc/graph/operations/Dropout.md b/doc/graph/operations/Dropout.md
index 4c0017347954..95849ec2f07e 100644
--- a/doc/graph/operations/Dropout.md
+++ b/doc/graph/operations/Dropout.md
@@ -28,7 +28,7 @@ where:
**Forward (Training)** applies the dropout mask and scaling as described above.
**Forward (Inferen... | 3 | 3 | 1 | [{"id": "G0", "claim": "The other places in data_types.md that mention f4_e3m0, and its mentions in matmul and conv, should also be updated to point to the same deprecation footnote.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The page_deprecat... | null |
uxlfoundation__oneDNN__4680 | uxlfoundation/oneDNN | 4,680 | defect | b60875ad6fb02e5ceba9c1e554af87d6e45d3eb0 | 79e3d04b9e7dbe377f49b9fc7130e59dfea31715 | benchdnn: graph: fix non-dense-strided cases of displaced filling | [MFDNN-14395](https://jira.devtools.intel.com/browse/MFDNN-14395)
Comments in commit messages.
Thanks to @umar456 for debugging the cases and providing an input for the fix. | diff --git a/tests/benchdnn/dnnl_memory.cpp b/tests/benchdnn/dnnl_memory.cpp
index d835daf6ed61..bd0ff62afe18 100644
--- a/tests/benchdnn/dnnl_memory.cpp
+++ b/tests/benchdnn/dnnl_memory.cpp
@@ -239,6 +239,35 @@ size_t dnn_mem_t::size(int index) const {
return dnnl_memory_desc_get_size_v2(md_, index);
}
+int64_... | 4 | 1 | 0 | [{"id": "G0", "claim": "The groups check should be moved inside the `main_op.kind_ == \"Convolution\" || main_op.kind_ == \"ConvTranspose\"` branch, since `is_grouped_conv` is always false otherwise.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
uxlfoundation__oneDNN__4710 | uxlfoundation/oneDNN | 4,710 | defect | 5a21d1e2329d197ee308f914018206467f472998 | 5c1440807dcd6e511b094181b98552ed59919a15 | Level Zero: add benchdnn, gtests and address feedback comments | Continuation of #4689
Addresses all the feedback found during previous two PRs review.
Adds benchdnn and gtest validation.
So far, the plan is to validate Level Zero backend on Xe2+ platforms since there's no functional support for OpenCL kernels compilation in Level Zero for pre-Xe2 systems and there's no plan to... | diff --git a/src/gpu/intel/CMakeLists.txt b/src/gpu/intel/CMakeLists.txt
index 43dbb61a0a2c..d2e6acde66b4 100644
--- a/src/gpu/intel/CMakeLists.txt
+++ b/src/gpu/intel/CMakeLists.txt
@@ -63,6 +63,12 @@ if(DNNL_GPU_RUNTIME STREQUAL "ZE")
endif()
if(DNNL_WITH_SYCL)
add_subdirectory(sycl)
+# INCLUDE_EXTRA_DIRS_FOR_... | 9 | 8 | 4 | [{"id": "G0", "claim": "In engine_t::convert_to_ze, `&ze_module_ptr->unwrap()` dereferences a null shared_ptr before any wrapper is constructed, so create_kernels would crash.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Shifting 1 by kernelTimest... | null |
uxlfoundation__oneDNN__4723 | uxlfoundation/oneDNN | 4,723 | defect | 50561038d2a392f5d7a5dbf4dcabae7e1fb01176 | aa8ca20879e97f3e92073ca0896476074851af51 | benchdnn: respect accumulation mode in safe digits calculation | Jira: [MFDNN-14670](https://jira.devtools.intel.com/browse/MFDNN-14670)
PR addresses two issues:
1. benchdnn doesn't respect `acc-mode` during data filling (e.g. see the matmul failure below)
2. GPU convolution/deconvolution is not aligned with documentation and can use `f16` accumulator even when `acc-mode` doe... | diff --git a/tests/benchdnn/brgemm/cfg.cpp b/tests/benchdnn/brgemm/cfg.cpp
index 9763bef4406..3b518893a95 100644
--- a/tests/benchdnn/brgemm/cfg.cpp
+++ b/tests/benchdnn/brgemm/cfg.cpp
@@ -27,6 +27,7 @@ cfg_t::cfg_t(const prb_t *prb, const std::vector<data_kind_t> &kinds) {
kind, orig_data_type... | 5 | 3 | 2 | [{"id": "G0", "claim": "The GPU convolution/deconvolution code should be fixed so it does not use an f16 accumulator when acc-mode does not allow it (unless that causes functionality regressions).", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "Ins... | null |
uxlfoundation__oneDNN__4726 | uxlfoundation/oneDNN | 4,726 | defect | be22353ed9fd35fa98edff2987520ace7471ab13 | e1c53d7298308b5dd32f2176d10d82e7fbe2a7fa | benchdnn: introduce an integer input for scales/zero-points/precompute-reductions/prelu | https://jira.devtools.intel.com/browse/MFDNN-14115
There are a bunch of minor fixes on top:
* CPU brgemm_matmul was optimistic about what it supported. Reduced the supported scope.
* verbose_converter always printed quant options even with empty content. I decided to stop it.
Rest modifications/unifications/cle... | diff --git a/scripts/verbose_converter/src/benchdnn_generator.py b/scripts/verbose_converter/src/benchdnn_generator.py
index a90e52f0697c..609ebf44eec9 100644
--- a/scripts/verbose_converter/src/benchdnn_generator.py
+++ b/scripts/verbose_converter/src/benchdnn_generator.py
@@ -65,18 +65,6 @@ def _get_alg(self):
d... | 11 | 9 | 4 | [{"id": "G0", "claim": "The newly added has_only_digits() helper returns true for an empty string, so it should also add a check for the empty case.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The documentation should describe the plain-integer f... | null |
uxlfoundation__oneDNN__4727 | uxlfoundation/oneDNN | 4,727 | defect | 8da62ab180f9c8d99b17500f7853b01ace908f12 | 5b5137c3616e2151eae86c71db8dc111a0bc3d4b | src: gpu: intel: gated_mlp: ukernel-based horizontal fusion | This PR implements a part of [MFDNN-14598](https://jira.devtools.intel.com/browse/MFDNN-14598) — namely the Gate+Up microkernel fusion for Gated MLP.
The performance is still not good enough, so the microkernel-based primitive was assigned lower priority than ref.
Also addresses [MFDNN-14795](https://jira.devtools.... | diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 99a399f5a136..085163fc1efe 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -39,7 +39,11 @@
/tests/benchdnn/graph/ @uxlfoundation/onednn-graph @uxlfoundation/onednn-arch
/tests/benchdnn/inputs/graph/ @uxlfoundation/onednn-graph @uxlfoundation/onedn... | 12 | 9 | 6 | [{"id": "G0", "claim": "The growing list of GPU-internals entries in CODEOWNERS begs for an `internals/gpu` or `internals-gpu` owner group instead.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "WTS_UP_GROUP_SIZE is only defined under `with_wts_... | null |
uxlfoundation__oneDNN__4787 | uxlfoundation/oneDNN | 4,787 | defect | 100c2a32b4e9a180336c07d4cf5aedace8c8f753 | 8c75e1118ac6acac0c9db15a39e3b07e1e7ac75e | tests: gtests: internals: overhaul gated_mlp random value generation | 1. Gated MLP primitive now supports BF16 and FP32
1. Random values in internal GMLP tests are now moved around in a less inelegant fashion
1. Additionally resolves [MFDNN-14677](https://jira.devtools.intel.com/browse/MFDNN-14677) | diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 99a399f5a136..085163fc1efe 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -39,7 +39,11 @@
/tests/benchdnn/graph/ @uxlfoundation/onednn-graph @uxlfoundation/onednn-arch
/tests/benchdnn/inputs/graph/ @uxlfoundation/onednn-graph @uxlfoundation/onedn... | 8 | 4 | 0 | [{"id": "G0", "claim": "move_data differs from and duplicates the write_to_dnnl_memory helper already in test_utils.hpp, and the two should be combined.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Because of CI timeouts (expected with planned... | null |
uxlfoundation__oneDNN__4830 | uxlfoundation/oneDNN | 4,830 | defect | 4362af6b8a5ac422ccab7fa2bf42d3f2c785a8ae | 7e6c3948e56f419f7efb2725e3116d2eeb735eab | benchdnn: a bunch of fixes and maintenance clean ups | This PR contains several changes:
* Restores a warm-up run on CPU. Thanks for @ankalinin for reporting the problem.
* Makes the norm check complementary to point-to-point instead of exclusive.
* Attempts to solve [MFDNN-14550](https://jira.devtools.intel.com/browse/MFDNN-14550) by relying on point-to-point check wit... | diff --git a/tests/benchdnn/bnorm/bnorm.cpp b/tests/benchdnn/bnorm/bnorm.cpp
index 8c93b65947f5..6750656e48b5 100644
--- a/tests/benchdnn/bnorm/bnorm.cpp
+++ b/tests/benchdnn/bnorm/bnorm.cpp
@@ -513,8 +513,8 @@ void setup_cmp(compare::compare_t &cmp, const prb_t *prb, data_kind_t kind,
// Since bwd testing is done... | 3 | 3 | 0 | [{"id": "G0", "claim": "Use `abs` instead of `fabs` in the int8 DST_ITER(_C) off-by-1 check, since both operands are int.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Initialize `ibytes` and `obytes` with `= 0` like the other res_t members the... | null |
uxlfoundation__oneDNN__4839 | uxlfoundation/oneDNN | 4,839 | defect | 2e6cc40fa36325c93c71c7455646503ef9bd71aa | b72d6a8f2384b2b0b7ef89ffa54c2e37257582f3 | graph: backend: dnnl: executables: call internal sdpa iface | - Call internal sdpa iface in graph backend.
- It simplifies the integration code a bit and importantly, it enables sdpa verbose log under graph API.
- Add sdpa_test_iface.hpp in common so it can be included in both graph backend and internal gtests.
See sdpa verbose below after the change:
```
$ ONEDNN_VERBOS... | diff --git a/src/common/sdpa_test_iface.hpp b/src/common/sdpa_test_iface.hpp
new file mode 100644
index 000000000000..d2912fdcb123
--- /dev/null
+++ b/src/common/sdpa_test_iface.hpp
@@ -0,0 +1,47 @@
+/*******************************************************************************
+* Copyright 2026 Intel Corporation
+*
... | 3 | 2 | 1 | [{"id": "G0", "claim": "The new sdpa verbose line may break the verbose converter, which has no converter for 'sdpa', and changes may be needed to prevent that; the author answers that today it only prints a WARNING.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id":... | null |
uxlfoundation__oneDNN__4875 | uxlfoundation/oneDNN | 4,875 | defect | a45a5ba044d1830b88d7fb529efaa52133328d45 | f3b8f22848ab5162367f1c0ffefa41b73ff0ba85 | benchdnn: graph: test rmsnorm with different epsilon values | Fixes MFDNN-14781
1. In Graph API, if epsilon is not specified, it's default to 1e-5 per the op definition. Epsilon can be specified through the JSON file or --op-attrs rewriting.
2. In lnorm driver, epsilon = 1.f/16 (0.0625f) is always used for lnorm primitive testing.
3. This change passes the epsilon value from... | diff --git a/tests/benchdnn/graph/setting_handler.cpp b/tests/benchdnn/graph/setting_handler.cpp
index df19b78fe431..c0fe616fd873 100644
--- a/tests/benchdnn/graph/setting_handler.cpp
+++ b/tests/benchdnn/graph/setting_handler.cpp
@@ -1298,6 +1298,12 @@ bool get_lnorm_dt(const deserialized_op_t &base_op_ref, dnnl_data_... | 2 | 1 | 1 | [{"id": "G0", "claim": "does `has_single_setup()` need an update too?", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "it seems like fallback in `get_lnorm_eps` sets the same `eps` value by default, is it intentional? (essentially wouldn't this and pr... | null |
uxlfoundation__oneDNN__4908 | uxlfoundation/oneDNN | 4,908 | defect | 17626d3ebffb403619d5fc6f2945758bccb637ae | a675adb67b4cf643543c000f684d9dc78ea892e8 | [GPU] Enable Dropout for SDPA FWD pass | # Description
This is part one of enabling dropout feature for SDPA forward pass. Right now, basic testing is enabled through gtests; more forward cases are being added.
Implements:: https://jira.devtools.intel.com/browse/MFDNN-14650
# Checklist
## General
- [ ] Do all unit and benchdnn tests (`make test... | diff --git a/src/common/sdpa_test_iface.cpp b/src/common/sdpa_test_iface.cpp
index 6b6b33e1359a..5b88a6d18aff 100644
--- a/src/common/sdpa_test_iface.cpp
+++ b/src/common/sdpa_test_iface.cpp
@@ -35,8 +35,8 @@ dnnl_status_t DNNL_API sdpa_primitive_desc_create(
const_dnnl_primitive_attr_t vs_attr) {
CHECK(s... | 6 | 3 | 2 | [{"id": "G0", "claim": "The dropout pointer parameters in the micro_sdpa kernel signature should use the plain `global` address-space spelling instead of `__global`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The specialized tile_dropout_ass... | null |
uxlfoundation__oneDNN__4932 | uxlfoundation/oneDNN | 4,932 | defect | 17626d3ebffb403619d5fc6f2945758bccb637ae | 63e753c736b714e4e79f7341a49009842313c200 | [GPU] Add Dropout to backward fused sdpa kernel + enable testing | # Description
This PR is part 2 of https://github.com/uxlfoundation/oneDNN/pull/4908. This introduces same dropout feature as for forward.
Implements:: https://jira.devtools.intel.com/browse/MFDNN-14650
# Checklist
## General
- [x] Do all unit and benchdnn tests (`make test` and `make test_benchdnn_*`) ... | diff --git a/src/common/sdpa_test_iface.cpp b/src/common/sdpa_test_iface.cpp
index 6b6b33e1359a..4d03c1e61d36 100644
--- a/src/common/sdpa_test_iface.cpp
+++ b/src/common/sdpa_test_iface.cpp
@@ -35,8 +35,8 @@ dnnl_status_t DNNL_API sdpa_primitive_desc_create(
const_dnnl_primitive_attr_t vs_attr) {
CHECK(s... | 3 | 1 | 0 | [{"id": "G0", "claim": "Add dropout_config_t to the sdpa_dims_t_tuple test parameterization in test_sdpa.cpp too, so tuple-based test instances can carry dropout configs.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The dropout descriptor check in sdp... | null |
uxlfoundation__oneDNN__4946 | uxlfoundation/oneDNN | 4,946 | defect | 39ece7c068f2df6318e8aea35ecc44801da52d6c | 49cdb3c064f7a23bdf8a8cd5f5ca2386a1ef08ea | all: support for optional upper bound arg for grouped matmul | Implements recommended proposal from [RFC 4931](https://github.com/uxlfoundation/oneDNN/pull/4931) with a minor renaming to generalize (in case we would have SRC grouped by K dim).
Latest discussion and perf data could be found at [MFDNN-14695](https://jira.devtools.intel.com/browse/MFDNN-14695). | diff --git a/include/oneapi/dnnl/dnnl_types.h b/include/oneapi/dnnl/dnnl_types.h
index 385eabf757e4..be696abb1cd3 100644
--- a/include/oneapi/dnnl/dnnl_types.h
+++ b/include/oneapi/dnnl/dnnl_types.h
@@ -2712,6 +2712,9 @@ typedef const struct dnnl_primitive *const_dnnl_primitive_t;
/// A special mnemonic for shift argu... | 9 | 8 | 2 | [{"id": "G0", "claim": "The hint argument should be accounted in matmul_pd only under the is_grouped() condition (or announced by the memory descriptor) instead of being accepted by every primitive, because otherwise a caller may pass the hint while omitting a mandatory buffer and the input-argument check would let tha... | null |
uxlfoundation__oneDNN__4959 | uxlfoundation/oneDNN | 4,959 | defect | 57116638bc7358520169bfa2c8c6b012726de3a4 | c33446bddbe2b7173104b29e03c70a6c13a08c42 | ze api: add support for persistent cache | Prepares sources for smoother support of the cache_blob extension for future runtimes and adds such support for ZE backend.
Additionally, unties benchdnn from internal types availability and improves error checking for persistent cache.
Note: there's still no available validation for L0, running it manually. | diff --git a/src/common/cache_blob_id.cpp b/src/common/cache_blob_id.cpp
index 5d30005853b9..a3b36454f4c1 100644
--- a/src/common/cache_blob_id.cpp
+++ b/src/common/cache_blob_id.cpp
@@ -32,17 +32,10 @@ const std::vector<uint8_t> &cache_blob_id_t::get(
auto engine_kind = engine->kind();
auto runtime_kind = en... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new test-only helper functions, now exposed in global scope instead of the dnnl:: namespace, should be given more dnnl-specific names (a dnnl_test_ prefix).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tests sho... | null |
uxlfoundation__oneDPL__1008 | uxlfoundation/oneDPL | 1,008 | defect | d4caad6b890000ee522e55513da9048606148079 | ae79adcaf19348d18897125aa8838437c280c40a | [KT] Enable all types (excepting double) in esimd radix sort test | In this PR we define by default PROCESS_SIZE for ```onesweep``` impl in esimd radix sort as:
- ```384``` for all types with size <= 4 bytes;
- ```192``` for all types with size == 8 bytes;
- enable all types in esimd radix sort test: ```double``` will be included in separate PR. | diff --git a/include/oneapi/dpl/experimental/kt/esimd_radix_sort.h b/include/oneapi/dpl/experimental/kt/esimd_radix_sort.h
index 86c2832fa40..02b7f869e16 100644
--- a/include/oneapi/dpl/experimental/kt/esimd_radix_sort.h
+++ b/include/oneapi/dpl/experimental/kt/esimd_radix_sort.h
@@ -26,6 +26,19 @@
namespace oneapi:... | 2 | 1 | 1 | [{"id": "G0", "claim": "The reviewer asks the author to fulfill the existing TODO and pass a desired DataPerWorkItem (via _ProcessSize) from within radix_sort_esimd.pass.cpp instead of the header, noting it is part of the API that users should be able to change in the future.", "category": "design", "verdict": "uncerta... | null |
uxlfoundation__oneDPL__1019 | uxlfoundation/oneDPL | 1,019 | defect | 70e8fba1810f66aa2114b737cd527bfa6a82dbd6 | 8e730251e9615b0ab0837231cfca159d17568d99 | Add support for using zip iterators as input values in segmented algorithms | This PR adds support for using zip iterators with segmented algorithms by remedying compiler errors related to constness of internal tuple elements when the scans / reductions are performed. | 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 0c55b9b588f..348993e6664 100644
--- a/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h
+++ b/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h
@@ -79,7 +7... | 2 | 1 | 0 | [{"id": "G0", "claim": "Use the type alias `x_t` instead of `auto` for `new_x` in `segmented_scan_fun::operator()`, which the reviewer takes to be the intended type.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`__decay_with_tuple_specialization... | null |
uxlfoundation__oneDPL__1202 | uxlfoundation/oneDPL | 1,202 | defect | 2602d8f245e63f154e9ef76654222672e60be4e7 | ea7601120084cf41f0fc783ba61fe273bafb1303 | [KT] Limit SLM allocation to the used amount | This PR aims to solve several problems:
- Support of more GPUs: current impl limits SLM to max available on Intel® Data Center GPU Max. The limit might be different on other GPUs.
- Performance: hardcoding the SLM allocation to the max amount limits occupancy. Especially with smaller `WorkGroupSize` template values... | diff --git a/include/oneapi/dpl/experimental/kernel_templates b/include/oneapi/dpl/experimental/kernel_templates
new file mode 100644
index 00000000000..0398e25aca6
--- /dev/null
+++ b/include/oneapi/dpl/experimental/kernel_templates
@@ -0,0 +1,18 @@
+//===---------------------------------------------------------------... | 1 | 1 | 0 | [{"id": "G0", "claim": "Enable the commented-out small-sizes test case, if necessary by using the -fsycl-device-code-split=per_kernel workaround, instead of leaving it disabled behind a TODO.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
uxlfoundation__oneDPL__1284 | uxlfoundation/oneDPL | 1,284 | defect | d23421606eb40a41d6554c7094eac44fa83ac43d | 222d0217ccea38322af5e5d193949ff68d4456e2 | Fix tests from `test/xpu_api` | In this PR we fix some new errors :
- switch off checked iterators under MSVC for folder 'iterators/iterator.primitives|test/xpu_api';
- add broken test macro for array swap in two tests;
- fixed test with 'C++20' concept usage;
- fixed an error with `class Final final {};` usage as Kernel name for all version of I... | diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 52102340a28..def2e625f05 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -171,7 +171,7 @@ macro(onedpl_add_test test_source_file switch_off_checked_iterators)
endmacro()
set(_regexp_dpcpp_backend_required "(xpu_api/algorithms|xpu_api/functio... | 3 | 3 | 0 | [{"id": "G0", "claim": "The `<type_traits>` include added in post_incr.pass.cpp is unnecessary and should be removed, since `oneapi/dpl/type_traits` should be enough.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The TEST_ARRAY_SWAP_BROKEN and ... | null |
uxlfoundation__oneDPL__1315 | uxlfoundation/oneDPL | 1,315 | defect | c709fd70d7457533c306d2f613c7db5e5b95323f | 6f7ce3517b78e5e5050ab68680251c752c34772a | [pstl-offload] Support alignment on page size and more. | Pointers to objects with large alignment are placed to global table. During memory release this table must be accessed only when a user pointer and pointer to a potential header of the object is not on same page. | diff --git a/include/pstl_offload/internal/usm_memory_replacement.h b/include/pstl_offload/internal/usm_memory_replacement.h
index 8dd9cfb73cd..dd064d12396 100644
--- a/include/pstl_offload/internal/usm_memory_replacement.h
+++ b/include/pstl_offload/internal/usm_memory_replacement.h
@@ -188,9 +188,6 @@ __internal_oper... | 8 | 6 | 1 | [{"id": "G0", "claim": "Global free may be called after the static pointers table has been destroyed, as happened in the reviewer's prototype, so the table needs to stay usable (e.g. an 'is alive' flag).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":... | null |
uxlfoundation__oneDPL__1318 | uxlfoundation/oneDPL | 1,318 | defect | 8a019532b49ebfc5d8b57960fcb628201de60900 | d26d74b77b875aa31effde149b097929273a2446 | [oneDPL][test][perm_it] Some test cases were disabled, because it is not supported by oneDPL | 1. The test coverages for a case with permutation_iterator(host_iterator, valid_iterator) was disabled, because it is not supported by oneDPL. Before it was UB, now - compile time error.
2. Compile time diagnostic improved for the mentioned case. | diff --git a/include/oneapi/dpl/pstl/hetero/dpcpp/utils_ranges_sycl.h b/include/oneapi/dpl/pstl/hetero/dpcpp/utils_ranges_sycl.h
index 31141e7926a..4113872d0d2 100644
--- a/include/oneapi/dpl/pstl/hetero/dpcpp/utils_ranges_sycl.h
+++ b/include/oneapi/dpl/pstl/hetero/dpcpp/utils_ranges_sycl.h
@@ -521,11 +521,18 @@ struc... | 2 | 1 | 0 | [{"id": "G0", "claim": "The macro should be renamed from `__ONEDPL_PERM_BASE_ITERATOR_HOST_DEVICE_POL_SUPPORT` to `_ONEDPL_PERM_BASE_ITERATOR_HOST_DEVICE_POL_SUPPORT` with one leading underscore, to match the naming convention of other internal macros.", "category": "maintainability", "verdict": "supported", "priority"... | null |
uxlfoundation__oneDPL__1351 | uxlfoundation/oneDPL | 1,351 | defect | 9d621a9c4cb3bfb9ca3aed7739a4a73883468fed | a9615f0229d49be311fa10be60abf317a416518b | KT scan tests generation through CMakeLists.txt | In this PR we implementing KT scan tests generation through `CMakeLists.txt` :
- right now supported only next combinations in `CMakeLists.txt` :
```
TEST_DATA_PER_WORK_ITEM : 1, 2, 4, 8, 16, 32
TEST_WORK_GROUP_SIZE : 64, 128, 256, 512, 1024
TEST_TYPE : uint32_t
``` | diff --git a/test/kt/CMakeLists.txt b/test/kt/CMakeLists.txt
index 1d5c26d0d6a..f8a98e8bc4a 100644
--- a/test/kt/CMakeLists.txt
+++ b/test/kt/CMakeLists.txt
@@ -124,7 +124,49 @@ if (ONEDPL_TEST_ENABLE_KT_ESIMD)
_generate_esimd_sort_test("256" "32" "double" "" 1000) # segfault
endif()
+function (_generate_scan_t... | 6 | 5 | 1 | [{"id": "G0", "claim": "The generated-test helper should be renamed from _generate_scan_test to _generate_igpu_scan_test to highlight the KT backend.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The umbrella custom targets should be renamed fr... | null |
uxlfoundation__oneDPL__1385 | uxlfoundation/oneDPL | 1,385 | defect | 2bc38d2fbb0dfbb78d3bb777cb18855e5fe24c6c | 6274aab561004a1f87a5a33ae8e3ba5ba0326c1e | [test] Fix for kernel names issues in permutation iterator tests | This PR is being proposed as an alternative to #1370
According to the SYCL 2020 spec [Section 5.2 Naming of kernels](https://www.khronos.org/registry/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:naming.kernels), "kernel names must be forward declarable at namespace scope".
It seems that the tags we were using to ... | diff --git a/documentation/library_guide/introduction.rst b/documentation/library_guide/introduction.rst
index 7ab4434c8b8..55e1a948d73 100644
--- a/documentation/library_guide/introduction.rst
+++ b/documentation/library_guide/introduction.rst
@@ -138,6 +138,10 @@ Known Limitations
the dereferenced value type of th... | 1 | 1 | 1 | [{"id": "G0", "claim": "Not all of the tests compile at S1, for example test/parallel_api/iterator/permutation_iterator_parallel_for.pass.cpp.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
uxlfoundation__oneDPL__1407 | uxlfoundation/oneDPL | 1,407 | defect | 1b8a045786eafdd7f8820f703d673fc607aee416 | 4d362c8d3079fb190d333496925d187d0b715fcc | Fix type limitations for scan algorithms, add reduce_by_segment | Device backend does not require a value type to have a default constructor which provides an identity value. Let's remove that limitation for device policies.
Additionally, `reduce_by_segment` is based on the scan pattern, so this limitation applies to that algorithm for host policies.
Note:
Theoretically, the l... | diff --git a/documentation/library_guide/introduction.rst b/documentation/library_guide/introduction.rst
index 55e1a948d73..41ae824cdca 100644
--- a/documentation/library_guide/introduction.rst
+++ b/documentation/library_guide/introduction.rst
@@ -128,9 +128,10 @@ Known Limitations
(including ``std::ldexp``, ``std:... | 5 | 5 | 2 | [{"id": "G0", "claim": "The documentation should add \"for C++ standard policies\" to the second sentence of the DefaultConstructible limitation note as well, for clarity (if that is the intention).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "S... | null |
uxlfoundation__oneDPL__1419 | uxlfoundation/oneDPL | 1,419 | defect | cd28e8a5dc7027d14782fb18f2c89fb6f9cff645 | f7eeeca567ef53588117f28a064271e15c980a11 | Remove some checks of `dpl::underlying_type` | Fix compile error under `icpx` compiler:
```C++
icpx -DTBB_USE_GLIBCXX_VERSION=80401 -D_PSTL_TEST_SUCCESSFUL_KEYWORD=1 -I/test -I/include -isystem /tbb/latest/include -DTEST_LONG_RUN=1 -O2 -DNDEBUG -fno-fast-math -fopenmp-simd -fsycl -fno-sycl-unnamed-lambda -std=c++20 -o CMakeFiles/underlying_type.pass.dir/xpu_api... | diff --git a/test/support/test_config.h b/test/support/test_config.h
index f85527e8340..01c29933356 100644
--- a/test/support/test_config.h
+++ b/test/support/test_config.h
@@ -136,6 +136,7 @@
#define _PSTL_ICC_TEST_COMPLEX_POLAR_BROKEN_TEST_EDGES __INTEL_LLVM_COMPILER
#define _PSTL_ICC_TEST_COMPLEX_ISINF_BROKEN (_M... | 2 | 2 | 0 | [{"id": "G0", "claim": "The two nested preprocessor guards in kernel_test1 (`#if TEST_STD_VER >= 20` and `#if !_PSTL_ICC_TEST_UNDERLYING_TYPE_BROKEN`) should be merged into a single guard `#if TEST_STD_VER >= 20 && !_PSTL_ICC_TEST_UNDERLYING_TYPE_BROKEN`.", "category": "maintainability", "verdict": "supported", "priori... | null |
uxlfoundation__oneDPL__1429 | uxlfoundation/oneDPL | 1,429 | defect | 516984dbc8808f1a369816005af642ddfc6fb594 | 3266116408dba0dafe4ff49dccf6de0b41ddbff2 | [tests] Add Input Data Sweep tests | Note: Should be merged after #1445 and #1438(merged), as errors can occur otherwise.
Summary:
Adding test coverage to catch bugs which slipped through our previous testing by targeting a sweep of interesting combinations of input data. Would have detected the following bugs which were missed by our test coverage a... | diff --git a/test/parallel_api/iterator/input_data_sweep.pass.cpp b/test/parallel_api/iterator/input_data_sweep.pass.cpp
new file mode 100644
index 00000000000..fa1c4823b50
--- /dev/null
+++ b/test/parallel_api/iterator/input_data_sweep.pass.cpp
@@ -0,0 +1,330 @@
+// -*- C++ -*-
+//===-- input_data_sweep.pass.cpp -----... | 10 | 8 | 0 | [{"id": "G0", "claim": "main() should use TestUtils::get_test_queue() instead of constructing sycl::queue{sycl::default_selector_v} directly.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "test<double, 0>(...) is called from main() even if double is not ... | null |
uxlfoundation__oneDPL__1431 | uxlfoundation/oneDPL | 1,431 | defect | f8c3586b216e61b272b188773ac2a4c281afade5 | 9befe54783a590766cac8d7d24345b1b250c3011 | Split set.pass test | In this PR we split `set.pass` tests into some small separate tests due rime-out error during tests runs. | diff --git a/test/parallel_api/algorithm/alg.sorting/alg.set.operations/set.pass.cpp b/test/parallel_api/algorithm/alg.sorting/alg.set.operations/set.pass.cpp
deleted file mode 100644
index c124e8b33cd..00000000000
--- a/test/parallel_api/algorithm/alg.sorting/alg.set.operations/set.pass.cpp
+++ /dev/null
@@ -1,43 +0,0... | 3 | 2 | 0 | [{"id": "G0", "claim": "The set-algorithm test cases should be scattered into the existing per-algorithm tests (set_union, set_intersection, set_difference, set_symmetric_difference) instead of being grouped by type or placed in newly created set_test_* files.", "category": "testing", "verdict": "supported", "priority"... | null |
uxlfoundation__oneDPL__1439 | uxlfoundation/oneDPL | 1,439 | defect | 7eae79ef0257ea89358d5a22fb2b9c98c723981d | 12cd66441a05feba3827f6bcdfd09275225e2873 | Out of Place Esimd Radix Sort and Tests | - Adding out of place support to ESIMD radix sort [by key] (high level refactoring).
- Adding tests to test out of place sort [by key].
- Removing some unnecessary extra kernel names (Odd vs Even should be the same kernel, just with different runtime params)
APIs are disambiguated between iterator and range inter... | diff --git a/include/oneapi/dpl/experimental/kt/esimd_radix_sort.h b/include/oneapi/dpl/experimental/kt/esimd_radix_sort.h
index 841927dffcc..17d4a236fb6 100644
--- a/include/oneapi/dpl/experimental/kt/esimd_radix_sort.h
+++ b/include/oneapi/dpl/experimental/kt/esimd_radix_sort.h
@@ -31,7 +31,7 @@ radix_sort(sycl::queu... | 13 | 11 | 2 | [{"id": "G0", "claim": "The empty-input checks should use the usual `if (__n == 0) return;` idiom instead of `<=`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `__submit_iteration` lambda construction may decrease performance and looks lik... | null |
uxlfoundation__oneDPL__1470 | uxlfoundation/oneDPL | 1,470 | defect | 5bac408e8305d2f179bc19554bc217e78c5c0e23 | 76097edac140e30145f987f17f6e34e695cba2fb | Enable vectorized global loads for the reduction algorithms | Vectorization is performance critical on SIMD architectures. This patch enables vectorization by unrolling vector size wide loop iterations on both coalesced (commutative algorithms) and consecutive (non-commutative algorithms) loads. Coalesced loads will then load vectors of consecutive elements. This change improves ... | diff --git a/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_reduce.h b/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_reduce.h
index cd474afbf1f..bfa0703cabc 100644
--- a/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_reduce.h
+++ b/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backe... | 23 | 20 | 2 | [{"id": "G0", "claim": "The hardcoded __vector_size of 4 may not perform well for all element types, and it should perhaps be based on the size of the type instead.", "category": "performance", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "It would probably be better to query th... | null |
uxlfoundation__oneDPL__1472 | uxlfoundation/oneDPL | 1,472 | defect | f489ff400ed8ba16eafce224ca6ad8f5bbbb4475 | a2efde95d648ea3ebe12308ff081a908feef8d18 | Enable binary comparison operations for internal tuple | Summary
---
This PR enables comparison `<`, `>`,`<=`,`>=` of our internal tuple `oneapi::dpl::__internal::tuple<T...>` with another `oneapi::dpl::__internal::tuple<U...>` or `std::tuple<U...>` with equal number of elements where corresponding elements from rhs and lhs are comparable.
We use the std::tuple impleme... | diff --git a/include/oneapi/dpl/pstl/tuple_impl.h b/include/oneapi/dpl/pstl/tuple_impl.h
index d9ea73f5b19..f431bcbeda2 100644
--- a/include/oneapi/dpl/pstl/tuple_impl.h
+++ b/include/oneapi/dpl/pstl/tuple_impl.h
@@ -435,6 +435,65 @@ struct tuple<T1, T...>
return !(__lhs == __rhs);
}
+ template <type... | 5 | 2 | 0 | [{"id": "G2", "claim": "The comparison operators should be implemented only for the C++17 version and operator<=> should be implemented for C++20, following the restrictions std::tuple applies.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G4", "claim": "The comparison ... | null |
uxlfoundation__oneDPL__1536 | uxlfoundation/oneDPL | 1,536 | defect | 5fe14350eef255f4fefa09d62767a889255d8562 | 900dc38d7feaf65bb48f95f452c2eb8080d35429 | Simplify check for usm allocated vector iterator | After a hint from @akukanov, it seems there is a simpler approach to the fix provided in #1527.
Instead of specifically avoiding instantiating `std::vector<T>` for types `T` which are not valid, we can merely use `std::decay_t` prior to our USM iterator checks.
This will prevent any ill-formed `std::vector` from be... | diff --git a/include/oneapi/dpl/pstl/hetero/dpcpp/sycl_iterator.h b/include/oneapi/dpl/pstl/hetero/dpcpp/sycl_iterator.h
index a38d6520b4f..b7bc20ef6e6 100644
--- a/include/oneapi/dpl/pstl/hetero/dpcpp/sycl_iterator.h
+++ b/include/oneapi/dpl/pstl/hetero/dpcpp/sycl_iterator.h
@@ -17,6 +17,7 @@
#define _ONEDPL_SYCL_ITE... | 1 | 1 | 0 | [{"id": "G0", "claim": "Suggests the same result could be achieved by declaring __is_known_usm_vector_iter as an alias of the specialization's logical expression, applying the same technique to __vector_iter_distinguishes_by_allocator, or replacing those type traits with constexpr bool variables.", "category": "maintai... | null |
uxlfoundation__oneDPL__1552 | uxlfoundation/oneDPL | 1,552 | defect | 3229c0d51b5fb0c5fbc0029ba1c01c0bc4948ca8 | eeb603cfc5087fa994ee9dc1bdb1c2622eb1228b | [Tests] Shorten sycl_iterator and permutation_iterator tests | Adds infrastructure to be able to shorten some commonly used test infrastructure by
1) allowing scaling of the `max_n` (100000) and `small_n` (16)
2) allowing scaling of the step (3.14.15) multiplier
This also corrects a potential error in the search_20 test of `sycl_iterator_find` which for some value of n, cou... | diff --git a/test/general/sycl_iterator/sycl_iterator_find.pass.cpp b/test/general/sycl_iterator/sycl_iterator_find.pass.cpp
index 69abf813c36..577aad224bb 100644
--- a/test/general/sycl_iterator/sycl_iterator_find.pass.cpp
+++ b/test/general/sycl_iterator/sycl_iterator_find.pass.cpp
@@ -19,7 +19,7 @@
DEFINE_TEST(te... | 3 | 2 | 1 | [{"id": "G0", "claim": "The reviewer suggested replacing the new DEFINE_TEST_CONSTRUCTOR #define line in test/support/utils_test_base.h (the suggestion block used the name DEFINE_TEST_PERM_IT_CONSTRUCTOR) and later clarified that the concern is the line's broken format, with about seven extra spaces before the '\\' lin... | null |
uxlfoundation__oneDPL__1562 | uxlfoundation/oneDPL | 1,562 | defect | 2262b16cde8d0cd2851daa400063979f7f12b9d1 | 3b354fcc854a94295f672ecd1556d40b0cbe5900 | Fix fp64 aspect error in tests | In this PR we fix exceptions `Required aspect fp64 is not supported on the device` in three tests:
- `test/xpu_api/numerics/complex.number/cmplx.over/imag.pass.cpp`;
- `test/xpu_api/numerics/complex.number/cmplx.over/real.pass.cpp`;
- `test/xpu_api/numerics/c.math/cmath.pass.cpp`. | diff --git a/test/support/test_complex.h b/test/support/test_complex.h
index 1736a4c3ddc..8642b975d6f 100644
--- a/test/support/test_complex.h
+++ b/test/support/test_complex.h
@@ -51,9 +51,9 @@ int main(int, char**)
using HasntLongDoubleSupportInCompiletime = ::std::false_type; ... | 1 | 1 | 0 | [{"id": "G0", "claim": "In test_abs, the first assert compares dpl::abs(-1.f) to the float literal 1.f while the second compares dpl::abs(-1.) to the integer literal 1, and the two should be consistent (compare the float to a float and the double to a double).", "category": "maintainability", "verdict": "supported", "p... | null |
uxlfoundation__oneDPL__1566 | uxlfoundation/oneDPL | 1,566 | defect | 17de6e2f806783f157c15d04dbdb34b8bfc2e2d1 | 955b475871c8737a4b441120c0365559f6f1ac39 | Fix broken tests | What tests been fixed in this PR on Windows + debug + MS standard library implementation:
- acos.pass.cpp
- acosh.pass.cpp
- asin.pass.cpp
- asinh.pass.cpp
- atanh.pass.cpp
- cos.pass.cpp
- cosh.pass.cpp
- log10.pass.cpp
- sin.pass.cpp
- sinh.pass.cpp
- tanh.pass.cpp
- complex_divide_complex.pass,cpp
- com... | diff --git a/test/support/test_config.h b/test/support/test_config.h
index 5f71d125e98..cc5232dc453 100644
--- a/test/support/test_config.h
+++ b/test/support/test_config.h
@@ -120,6 +120,54 @@
#define TEST_HAS_NO_INT128
#define _PSTL_TEST_COMPLEX_NON_FLOAT_AVAILABLE (_MSVC_STL_VERSION < 143)
+#define _PSTL_TEST... | 6 | 4 | 0 | [{"id": "G0", "claim": "Defining a separate macro for each test/operation when all of them just repeat the same definition makes no sense; one generic macro should be enough.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The guarded else-if blo... | null |
uxlfoundation__oneDPL__1568 | uxlfoundation/oneDPL | 1,568 | defect | 456bbe553b5b4fcc523875dd507f4a75d529b494 | 5c205e86443f2fdac40e222ea17faaf114d1a378 | [Tests] Skipping c++20 MSVC comparison checks on sycl | MSVC STL implementation a consteval trick to allow comparisons with literal zero but not other integers which involves eliminated a dead code function call. However, within a sycl kernel, it seems this dead function call still causes an error complaining that the undefined function call is not `SYCL_EXTERNAL`.
This... | diff --git a/test/support/test_config.h b/test/support/test_config.h
index 611af7a1690..ac4f47f9029 100644
--- a/test/support/test_config.h
+++ b/test/support/test_config.h
@@ -154,6 +154,9 @@
#define _PSTL_TEST_COMPLEX_SINH_BROKEN _PSTL_TEST_COMPLEX_OP_BROKEN
#define _PSTL_TEST_COMPLEX_TANH_BROKEN _PSTL_TEST_COMPLE... | 3 | 2 | 2 | [{"id": "G0", "claim": "Defining _PSTL_TEST_COMPARISON_BROKEN without first checking that _MSVC_LANG and the other MSVC macros are present will cause a compile error on Linux at usages like `return TestUtils::done(!_PSTL_TEST_COMPARISON_BROKEN);`.", "category": "correctness", "verdict": "supported", "priority": "P0", "... | null |
uxlfoundation__oneDPL__1577 | uxlfoundation/oneDPL | 1,577 | defect | 456bbe553b5b4fcc523875dd507f4a75d529b494 | 3edf1079247bac4ff14bc6c56299ad4a9101cd75 | [test] Resolve UB in _PSTL_ICPX_TEST_MINMAX_ELEMENT_BROKEN macro | The following compiler warning is produced when compiling `minmax_element.pass` with `icpx`:
```
warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
28 | !defined(_PSTL_TEST_MINMAX_ELEMENT) && !_PSTL_ICPX_TEST_MINMAX_ELEMENT_BROKEN
```
This PR changes how we define ... | diff --git a/test/parallel_api/algorithm/alg.sorting/alg.min.max/minmax_element.pass.cpp b/test/parallel_api/algorithm/alg.sorting/alg.min.max/minmax_element.pass.cpp
index 3f9bd944e3f..c8731826a6d 100644
--- a/test/parallel_api/algorithm/alg.sorting/alg.min.max/minmax_element.pass.cpp
+++ b/test/parallel_api/algorithm... | 3 | 3 | 1 | [{"id": "G0", "claim": "Conditionally defining _PSTL_ICPX_TEST_MINMAX_ELEMENT_BROKEN to 1 under the #if leaves it undefined when the condition on line 195 is false, so the defined()-based check is not quite correct; the compiler check should instead be __INTEL_LLVM_COMPILER > 0 on an always-evaluable macro.", "category... | null |
uxlfoundation__oneDPL__1579 | uxlfoundation/oneDPL | 1,579 | defect | 7950b157080aac683386a87f3bc91a969fddfcaa | 1f057afd6453c348c0c35f7d50c9826f8f13f5f0 | Fix broken tests of `std::complex` - part 1/2 | In this PR we fix two broken tests of `std::complex` :
- complex_times_complex.pass.cpp
- complex_divide_complex.pass.cpp | diff --git a/test/support/test_config.h b/test/support/test_config.h
index 7790233c967..a1e5361f52e 100644
--- a/test/support/test_config.h
+++ b/test/support/test_config.h
@@ -155,7 +155,9 @@
#define _PSTL_TEST_COMPLEX_TANH_BROKEN _PSTL_TEST_COMPLEX_OP_BROKEN
#define _PSTL_TEST_COMPLEX_TIMES_COMPLEX_BROKEN _PSTL... | 1 | 1 | 1 | [{"id": "G0", "claim": "The newly added guard at the `case zero:` branch combines `!_PSTL_TEST_COMPLEX_DIV_COMPLEX_BROKEN && !_PSTL_TEST_COMPLEX_DIV_COMPLEX_BROKEN_GLIBCXX`, unlike every other guard newly added by this PR, and the reviewer asks whether that is intentional.", "category": "correctness", "verdict": "suppo... | null |
uxlfoundation__oneDPL__1587 | uxlfoundation/oneDPL | 1,587 | defect | 5229d83aaf4de93bc25c3dd25e57e762ea2fca8a | e527281355adb39b93765cef1f392033820b47c0 | Fix std::complex broken tests | In this PR we fix some std::complex broken tests under `__GLIBCXX__`:
- complex_divide_complex.pass.cpp
- complex_times_complex.pass.cpp
- acos.pass.cpp
- exp.pass.cpp
- tanh.pass.cpp
## complex_divide_complex.pass.cpp
- introduced additional define `_PSTL_TEST_COMPLEX_DIV_COMPLEX_BROKEN_GLIB_CXX` :
```C... | diff --git a/test/support/test_complex.h b/test/support/test_complex.h
index 07c7ce42299..1e332197b02 100644
--- a/test/support/test_complex.h
+++ b/test/support/test_complex.h
@@ -32,6 +32,16 @@
# define STD_COMPLEX_TESTS_STATIC_ASSERT(arg) assert(arg)
#endif // !_PSTL_MSVC_LESS_THAN_CPP20_COMPLEX_CONSTEXPR_BROKE... | 3 | 3 | 1 | [{"id": "G0", "claim": "The pull request's added `#ifndef _PSTL_..._BROKEN...` guards should be `#if !` (as in merged #1569) so the tests can be re-enabled by defining the macros to 0; fix in this PR or a separate one.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":... | null |
uxlfoundation__oneDPL__1636 | uxlfoundation/oneDPL | 1,636 | defect | a0cb90a065e0ce9b9fac4d2724ab5229470e5115 | 51f876c7c21bbbac920bf084d1e2e8e2ca73e244 | [RNG] Adding operators ==, !=, << and >> for engines and distributions | There are the following requirements for operators <<, >> in C++ standard
- **for distributions**:

- **for engines**:
 with a somewhat modified approach. It is necessary to address #1631, one more issue caused by eager initialization of a SYCL queue in oneDPL headers. It still is supposed to address #1060.
The core idea is similar: to keep layout compatibility y... | diff --git a/include/oneapi/dpl/pstl/hetero/dpcpp/execution_sycl_defs.h b/include/oneapi/dpl/pstl/hetero/dpcpp/execution_sycl_defs.h
index e1e06e17e96..98e0631b87d 100644
--- a/include/oneapi/dpl/pstl/hetero/dpcpp/execution_sycl_defs.h
+++ b/include/oneapi/dpl/pstl/hetero/dpcpp/execution_sycl_defs.h
@@ -23,6 +23,10 @@
... | 19 | 12 | 3 | [{"id": "G0", "claim": "The new fork test fails because test/support/utils_sycl.h creates a static global policy whenever ONEDPL_USE_PREDEFINED_POLICIES is undefined, a default this change makes behave as if the macro were defined to 1.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "in... | null |
uxlfoundation__oneDPL__1680 | uxlfoundation/oneDPL | 1,680 | defect | 6827518e2ad59b835bbce500df47a840890bd028 | c26c57755c2e5e2245f2877a1ba2e5cd5637ff89 | [PROTOTYPE] two pass scan: no_init processing for inclusive scan | Adding no-init inclusive scan. Initial draft, can probably clean this up a bit, but this is passing tests.
Using existing `__init_processing` where possible, but we need to reach in to handle some cases directly within the kernel to avoid default construction. I attempt to keep order of operations consistent her... | diff --git a/include/oneapi/dpl/experimental/kt/two_pass_scan.h b/include/oneapi/dpl/experimental/kt/two_pass_scan.h
index d34916d6a5b..e02ca4668eb 100644
--- a/include/oneapi/dpl/experimental/kt/two_pass_scan.h
+++ b/include/oneapi/dpl/experimental/kt/two_pass_scan.h
@@ -40,12 +40,13 @@ class __two_pass_scan_kernel1;
... | 3 | 2 | 0 | [{"id": "G0", "claim": "Rename the local type alias `ValueType` to something like `InValueType`, since multiple types will be needed in the future to resolve Issue #1686.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider whether there is a... | null |
uxlfoundation__oneDPL__1708 | uxlfoundation/oneDPL | 1,708 | defect | f064972e82a7f511c0bfbcb65267e25bb5ce65f0 | b737f567e88be017b0f6446bc3b97074dd0b8ebb | [PROTOTYPE] partition, unique families and ranges API | Adds partition, unique families as well as the ranges API to use two pass scan.
There is some refactoring to the generalized helpers, to simplify sharing between families of scan-like algorithms using this.
Otherwise, this just adds other entry points to use two pass scan.
This also standardizes / adds some ze... | 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 cd33872aa0d..266fad7e410 100644
--- a/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h
+++ b/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h
@@ -161,7 +... | 11 | 8 | 3 | [{"id": "G0", "claim": "The single-work-group scan path used by copy_if was not extended to support `__assign`, and the author notes this support must be added within this PR.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new assign-aware `__wr... | null |
uxlfoundation__oneDPL__1738 | uxlfoundation/oneDPL | 1,738 | defect | 4c5fc670d52a3501d1e730e2b37506cdb285e22c | d18a8a536a15825d10bc876eeb16d1b04754ffb1 | __detail::enumerate merged with views::enumerate | __detail::enumerate merged with views::enumerate (detail/enumerate.hpp removed) | diff --git a/include/oneapi/dpl/internal/distributed_ranges_impl/detail/enumerate.hpp b/include/oneapi/dpl/internal/distributed_ranges_impl/detail/enumerate.hpp
index a28727545a5..8618f51ee1f 100644
--- a/include/oneapi/dpl/internal/distributed_ranges_impl/detail/enumerate.hpp
+++ b/include/oneapi/dpl/internal/distribu... | 7 | 7 | 2 | [{"id": "G0", "claim": "detail/enumerate.hpp should be removed, as the pull request's own description says, but the file is still present.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "It is unexplained why the first operator() overload needs... | null |
uxlfoundation__oneDPL__1763 | uxlfoundation/oneDPL | 1,763 | defect | 13ab906073a02e44465421feca378e6b52c6e710 | 62813eb6781eb744af4b1bdcf1b55c34a90e4f66 | Make Copy_if family of APIs use reduce_then_scan algorithm | This PR adds copy_if family to use reduce_then_scan algorithm where it is beneficial.
Moves all algorithm selection decisions to `__parallel_copy_if`, and unifies range API to also use this function. Adding support for an assignment operator for single work group copy_if. This allows us to unify the algorithmic se... | 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 cd33872aa0d..266fad7e410 100644
--- a/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h
+++ b/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h
@@ -161,7 +... | 9 | 8 | 0 | [{"id": "G0", "claim": "In __pattern_copy_if the _Assign argument should be passed consistently with other places (by copy rather than by forwarding reference).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The template parameters __offset and ... | null |
uxlfoundation__oneDPL__1764 | uxlfoundation/oneDPL | 1,764 | defect | 13ab906073a02e44465421feca378e6b52c6e710 | 88bf98d807bdd82ea8d70fc47d2bf5be0b5d68da | Make Partition family of APIs use reduce_then_scan algorithm | This PR changes partition family of scan-like algorithms to use reduce_then_scan where it is beneficial.
Moves all algorithm selection decisions to __parallel_partition_copy.
---
This PR is targeted to #1763, to allow for a clean diff, and is a part of the following sequence of PRs meant to be merged in order:... | 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 cd33872aa0d..266fad7e410 100644
--- a/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h
+++ b/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h
@@ -161,7 +... | 3 | 3 | 0 | [{"id": "G0", "claim": "The default for the `Assign` template parameter on `__write_to_idx_if_else` may be unnecessary and should be dropped.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The template parameter `Assign` of `__write_to_id_if_else` should... | null |
uxlfoundation__oneDPL__1765 | uxlfoundation/oneDPL | 1,765 | defect | 0dee46a546156e0d9a27f33100652d03908a883e | 3b99ea99401abeaa8e0ba8e72254d82f931c0666 | Make Unique family of APIs use reduce_then_scan | This PR changes the unique family of scan-like APIs to use reduce_then_scan when it is beneficial.
This PR allows us to remove `__pattern_scan_copy` functions because they are no longer used.
We have moved the algorithm decisions to go through at the level of `__parallel_[copy_if/partition/unique]_copy`, so we no... | 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 cd33872aa0d..266fad7e410 100644
--- a/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h
+++ b/include/oneapi/dpl/internal/exclusive_scan_by_segment_impl.h
@@ -161,7 +... | 3 | 3 | 0 | [{"id": "G0", "claim": "Replace the `::std::` qualified calls with plain `std::` in the touched lines of glue_algorithm_ranges_impl.h and algorithm_ranges_impl_hetero.h (five suggestion blocks).", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G2", "claim": "Fix the missp... | null |
uxlfoundation__oneDPL__1814 | uxlfoundation/oneDPL | 1,814 | defect | 7a58f25fb2181c0dd90022f8c89ea98d0cd2ff5f | e9e2b5d2b349b1fa64a980026c14c608c39b49b7 | [RNG] Fixed warnings in the <random> part | Fixed warnings in the `<random>` part. Warnings are shown if `-Wall -Wextra` are switching on | diff --git a/include/oneapi/dpl/internal/random_impl/bernoulli_distribution.h b/include/oneapi/dpl/internal/random_impl/bernoulli_distribution.h
index 072286276cb..dfc1479579d 100644
--- a/include/oneapi/dpl/internal/random_impl/bernoulli_distribution.h
+++ b/include/oneapi/dpl/internal/random_impl/bernoulli_distributi... | 2 | 2 | 0 | [{"id": "G0", "claim": "The removal of the `using result_type = typename Engine::scalar_type;` alias should be reverted because it was there deliberately, to test that result_type is available in the engine.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "c... | null |
uxlfoundation__oneDPL__1845 | uxlfoundation/oneDPL | 1,845 | defect | f8b212254a01381156d95058486113c15fac6015 | fa7afa00608447f2d0d4ba33852cdc208e4c5c05 | [tests] Fix `is_deprecated` warnings in tests under C++17 and C++20 versions | In this PR we fixing warning in oneDPL tests for C++17 and C++20:
- `...is deprecated...`;
- `warning: expression result unused` (from `IF_DOUBLE_SUPPORT_L` and `IF_LONG_DOUBLE_SUPPORT_L` macros)
Issue: https://github.com/oneapi-src/oneDPL/issues/472 | diff --git a/test/parallel_api/numeric/numeric.ops/transform_reduce.pass.cpp b/test/parallel_api/numeric/numeric.ops/transform_reduce.pass.cpp
index 038e6fba5ab..a9a7d301883 100644
--- a/test/parallel_api/numeric/numeric.ops/transform_reduce.pass.cpp
+++ b/test/parallel_api/numeric/numeric.ops/transform_reduce.pass.cpp... | 1 | 1 | 0 | [{"id": "G0", "claim": "The define-and-immediately-execute lambda wrapping the isinf/isnan checks in cmath.pass.cpp seems unnecessary; the checks could be performed directly inside the `if constexpr` body, with a similar simplification applied in other places.", "category": "maintainability", "verdict": "supported", "p... | null |
uxlfoundation__oneDPL__1920 | uxlfoundation/oneDPL | 1,920 | defect | dad81340bd4ec4dd94fad94d6b10861959ac4f44 | 6f8de9bf488d8c18eeb6c13b964c94de6de3c40a | [oneDPL][ranges][tests] a fix for std::ranges::<algo> using with Windows C++ standard library. | [oneDPL][ranges][tests] a fix for std::ranges::sort using with Windows C++ standard library.
This PR is a sequel for https://github.com/oneapi-src/oneDPL/pull/1885.
| diff --git a/include/oneapi/dpl/pstl/glue_algorithm_ranges_impl.h b/include/oneapi/dpl/pstl/glue_algorithm_ranges_impl.h
index 48ed323b0e6..f105396a041 100644
--- a/include/oneapi/dpl/pstl/glue_algorithm_ranges_impl.h
+++ b/include/oneapi/dpl/pstl/glue_algorithm_ranges_impl.h
@@ -427,7 +427,7 @@ struct __stable_sort_fn... | 2 | 2 | 1 | [{"id": "G0", "claim": "Introduce a similar macro within the tests themselves (e.g. in a test support header) so that the range tests stop relying on oneDPL implementation internals.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G4", "claim": "Apply clang-format to in... | null |
uxlfoundation__oneDPL__1921 | uxlfoundation/oneDPL | 1,921 | defect | 66ead74ff6db1eb7e047227086da836531499a74 | bb3313b0f6a8b9384c1d8a8812ae88741ddac1e4 | [test] Reduce test input sizes for debug builds with OpenMP in `transform_binary.pass` | `transform_binary.pass` with the OpenMP backend in debug builds has been timing out. This is caused by testing of forward and bidirectional iterators. When no compiler optimization is present, a large number of re-computation of iterators occurs in this line: https://github.com/oneapi-src/oneDPL/blob/66ead74ff6db1eb7e0... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9742ae33a3f..c218e87d9b4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -180,7 +180,7 @@ if (ONEDPL_BACKEND MATCHES "^(tbb|dpcpp|dpcpp_only)$")
target_compile_definitions(oneDPL INTERFACE
$<$<CONFIG:Debug>:TBB_USE_DEBUG=1>
- $<$<CONFIG:Debug... | 2 | 2 | 1 | [{"id": "G0", "claim": "The comment added in transform_binary.pass.cpp misspells OpenMP as \"OpenMp\" and should read \"OpenMP\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The $<$<CONFIG:Debug>:PSTL_USE_DEBUG=1> compile definition should not ... | null |
uxlfoundation__oneDPL__1954 | uxlfoundation/oneDPL | 1,954 | defect | b132b83cddec63df5b3794aba8c154cb186d568e | a2cca62133889b39a101c7e710cc29b6793473f1 | Fall back to SYCL 2020 API for a generic SYCL implementation | Let's assume that a generic SYCL library is compliant to SYCL 2020 and fallback to that API.
Below is a specific example of the issue with `sycl::property::no_init`. Other places fixed in the PR are essentially the same.
Before:
```c++
#define _ONEDPL_NO_INIT_PRESENT (_ONEDPL_LIBSYCL_VERSION >= 50300)
...
... | diff --git a/include/oneapi/dpl/experimental/kt/internal/esimd_defs.h b/include/oneapi/dpl/experimental/kt/internal/esimd_defs.h
index f9b9cd6e95f..d2640487624 100644
--- a/include/oneapi/dpl/experimental/kt/internal/esimd_defs.h
+++ b/include/oneapi/dpl/experimental/kt/internal/esimd_defs.h
@@ -21,7 +21,7 @@
// https... | 3 | 3 | 0 | [{"id": "G0", "claim": "Renaming _ONEDPL_LIBSYCL_VERSION to _ONEDPL_DPCPP_LIBSYCL_VERSION is unfounded because the same libsycl library also comes with the intel/llvm SYCL compiler, so the DPC++-specific name is misleading.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":... | null |
uxlfoundation__oneDPL__1974 | uxlfoundation/oneDPL | 1,974 | defect | 28cb633583570457a2e21a752f6a517f5fc7134a | d5585feb21806c1f952e3503583c41f7b32ba164 | Host Implementation of Histogram APIs | Implementation of histogram APIs for host backends.
Implementations are provided for `serial`, `tbb`, and `openMP` backends. We add a generic `__thread_enumerable_storage` struct to add a generic thread local storage for our host backends. We use the new TLS (Thread local storage) with `parallel_for` to implemen... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9742ae33a3f..9fb5860ab8d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -160,7 +160,7 @@ if (ONEDPL_BACKEND MATCHES "^(tbb|dpcpp|dpcpp_only)$")
set(SET_BACKEND_${ONEDPL_BACKEND_NAME} TRUE)
if (ONEDPL_BACKEND MATCHES "^(tbb|dpcpp)$")
- find_packa... | 37 | 32 | 4 | [{"id": "G0", "claim": "The first __parallel_for call should not forward the execution policy with std::forward, since __exec is used again below.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The construct() function of __construct_by_args should ... | null |
uxlfoundation__oneDPL__1977 | uxlfoundation/oneDPL | 1,977 | defect | c2a226bf35350a46d5f83d9ae93afcaa8afc1f89 | befb90969508b12539c9f3a602169ae0fb6c4789 | Optimize `merge_sort` algorithm for largest data sizes | In this PR we extends the approach from https://github.com/oneapi-src/oneDPL/pull/1933 to `merge_sort` algorithm. | 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 c0568a312ca..73ce5dcfdf3 100644
--- a/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl.h
+++ b/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl.h
@@ -2257,6 ... | 23 | 19 | 1 | [{"id": "G0", "claim": "Replacing the if-statement swap with a ternary expression in __subgroup_bubble_sorter::sort is harder to read and serves no purpose; the reviewer prefers the original form (while not insisting).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"... | null |
uxlfoundation__oneDPL__1987 | uxlfoundation/oneDPL | 1,987 | defect | 575ce0eed74f75082bc66c619b48216f6891b3e2 | 9132e965cb6a3921db830b16fb8a39d336d10af5 | Bugfix for reduce-by-segment with differing input and output types | For differing input and output key / value types, we cannot store an input element into a variable that is the output type. This is especially important for discard iterators in the output where we are met with a compile-time error if we attempt to store an input into this type as it can hold no value.
A test case h... | 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 c0568a312ca..6c972b48295 100644
--- a/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl.h
+++ b/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl.h
@@ -939,12 ... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new zip test should also include a discard iterator on the output-values side, since the compilation issue currently only shows on the key side of the test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The tuple element typ... | null |
uxlfoundation__oneDPL__2050 | uxlfoundation/oneDPL | 2,050 | defect | 4a9d3f46836b28384ac2f1cee1b2ae0c910a2c76 | 7925f4d542dd4bc7262c6c1fd8b05b37e8a9c1a9 | Fix one more broken test case for std::exp(std::complex<double>) | In this PR we fix one more broken test case for std::exp(std::complex<double>) | diff --git a/test/support/test_config.h b/test/support/test_config.h
index 5ed1b755303..354a0bbe8ce 100644
--- a/test/support/test_config.h
+++ b/test/support/test_config.h
@@ -185,6 +185,7 @@
#define _PSTL_ICC_TEST_COMPLEX_NORM_MINUS_INF_NAN_BROKEN_TEST_EDGES _PSTL_TEST_COMPLEX_OP_BROKEN_IN_INTEL_LLVM_COMPILER
... | 2 | 1 | 0 | [{"id": "G0", "claim": "Rename the new macro _PSTL_ICC_TEST_COMPLEX_EXP_BROKEN_TEST_EDGES_1 to a name describing what it guards (suggested _PSTL_ICC_TEST_COMPLEX_EXP_BROKEN_TEST_EDGES_IMAG), since only imag() is affected here.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduc... | null |
uxlfoundation__oneDPL__2077 | uxlfoundation/oneDPL | 2,077 | defect | f6d56f64922462c763f8c9916e95b330bd1e0127 | 7e02bdb8672f7320d1eb8031298363e8d24d9c79 | Sort test: split and make it more flexible to reduce execution time | The main motivation is to reduce the execution time of the test as it takes too much time.
The PR splits sort.pass into four files: stable/unstable sort, interfaces with/without a comparator.
It also more flexibility through filtering to avoid exponential growth of configurations. See `SortTestConfig` uses, and the... | diff --git a/test/parallel_api/algorithm/alg.sorting/alg.sort/sort.pass.cpp b/test/parallel_api/algorithm/alg.sorting/alg.sort/sort.pass.cpp
new file mode 100644
index 00000000000..1368427c4d0
--- /dev/null
+++ b/test/parallel_api/algorithm/alg.sorting/alg.sort/sort.pass.cpp
@@ -0,0 +1,61 @@
+// -*- C++ -*-
+//===-----... | 6 | 6 | 1 | [{"id": "G0", "claim": "With some combinations of the used defines the new tests may compile to nothing while still reporting success, so each test should return `TestUtils::done(0)` in that case.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "test_... | null |
uxlfoundation__oneDPL__2081 | uxlfoundation/oneDPL | 2,081 | defect | 84da6aca02ed5fce710529a5b358d98fb4df90be | 7c5f7895c0ed52d99119e50f235282a856fa6ad0 | Range tests: scale sizes according to a policy | An approach alternative to #2078 (suggested in https://github.com/uxlfoundation/oneDPL/pull/2078#discussion_r1970040064) | diff --git a/test/parallel_api/ranges/std_ranges_adjacent_find.pass.cpp b/test/parallel_api/ranges/std_ranges_adjacent_find.pass.cpp
index 90b61d93a26..90660aef0ec 100644
--- a/test/parallel_api/ranges/std_ranges_adjacent_find.pass.cpp
+++ b/test/parallel_api/ranges/std_ranges_adjacent_find.pass.cpp
@@ -24,7 +24,7 @@ m... | 1 | 1 | 0 | [{"id": "G0", "claim": "Reducing big_sz from 32M to 16M may make test coverage worse, and the reason for the change is unclear.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
uxlfoundation__oneDPL__2102 | uxlfoundation/oneDPL | 2,102 | defect | f49feb459eb0fc19524a2cd0b5789e5b96575b5e | b261a13efc69428ed9d0cbf74d23bb0eea045183 | Extend test coverage for different policy qualifiers | In this PR we extend test coverage to detect compile-time errors in oneDPL code like described at https://github.com/uxlfoundation/oneDPL/issues/2041.
We extend test coverage under `false`-run-time condition check so we only compile additional Kernels without their runs.
This idea was proposed by @danhoeflinger.
... | diff --git a/test/support/iterator_utils.h b/test/support/iterator_utils.h
index 8c338da26a4..bb94e113d5a 100644
--- a/test/support/iterator_utils.h
+++ b/test/support/iterator_utils.h
@@ -297,14 +297,14 @@ struct non_const_wrapper_tagged : non_const_wrapper
::std::enable_if_t<IsPositiveCondition == is_same_iterat... | 4 | 3 | 1 | [{"id": "G0", "claim": "The compiler may optimize away the `if (false)` branch so the kernel is never compiled, defeating the compile-check; a value the compiler cannot know at compile time (e.g. a volatile bool) should be used instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in... | null |
uxlfoundation__oneDPL__2126 | uxlfoundation/oneDPL | 2,126 | defect | 53885bfc3b38a8065c664ec6aba06bf948fd1d29 | 9bf3a49c47f8b12a5a3793f14fc79a7ac94c095f | Indirectly Device Accessible Iterator Trait and ADL Customization Point | Types are "Indirectly Device Accessible" when they can represent data which can inherently be dereferenced in a SYCL kernel. Marking types as such can help oneDPL avoid unnecessary data movement surrounding sycl kernels.
Provides a default implementation for the Argument-Dependant Lookup (ADL) customization point `... | diff --git a/include/oneapi/dpl/iterator b/include/oneapi/dpl/iterator
index 5568292b1c1..c4bf283a877 100644
--- a/include/oneapi/dpl/iterator
+++ b/include/oneapi/dpl/iterator
@@ -56,6 +56,10 @@ using ::std::rbegin;
using ::std::rend;
using ::std::reverse_iterator;
using ::std::size;
+
+using oneapi::dpl::__interna... | 13 | 7 | 0 | [{"id": "G0", "claim": "The `using` declarations pulling the internal trait into the public header include/oneapi/dpl/iterator look out of place because that public header should contain only public things.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.